background preloader

JavaScript: Test run javascript code online, right here.

JavaScript: Test run javascript code online, right here.

Pierre FAY » Créer votre module Magento de A à Z Au vue de comment j’ai galéré pour trouver des tutoriaux/how to/ou guide du développeur complet etc… sur le développement de plugins pour Magento, je me suis dis que c’était peu être une bonne idée d’en créer un. Nous verrons tout au long de ce tutoriel comment créer un module magento complet avec acces a la base de donnée, une interface pour le frontoffice et une interface en backoffice (utilisant une grid Magento) pour gérer l’affichage sur le front. Chaque partie de ce tutoriel contiendra une partie théorique pour bien comprendre le fonctionnement de Magento et une partie pratique qui consistera à créer un module complet étapes par étapes. Vous êtes prêt ? Leçon 1 – La structure d’un module Magento Leçon 2 – Créez votre Controller Leçon 3 – Créer un Block Leçon 4 – Le Model et la base de donnée Leçon 5 – Le model, les collections et les formulaires Leçon 6 – Créer un module d’administration sur le Backoffice Leçon 7 – Le Grid de l’admin Magento Leçon 8 – Réecrire / Modifier un Block Magento

HTML5 enabling script 7 Jan Since HTML5 is getting more attention by way of marking up our new pages, and the only way to get IE to acknowledge the new elements, such as <article>, is to use the HTML5 shiv, I’ve quickly put together a mini script that enables all the new elements. Download html5shiv.js and must be inserted in the head element (this is because IE needs to know about the element before it comes to render them – so it can’t sit in the footer of the page, i.e. below the elements in question). I’ve updated this post to link to Alexander Farkas’s version of the shiv – it’s the very latest and my simple one line script. The one I originally released was (I thought) beautifully small, but didn’t support print styles nor dynamic injection of HTML5 elements.

JavaScript Tutorial Run Applescripts with Keyboard Shortcuts | AppleScript 05 April 2009 - Filed in: AppleScript In the Keyboard and Mouse section of System Preferences there is a Keyboard shortcuts tab that allows you to assign a keyboard shortcut to any menu item. This is great, but unfortunately it doesn’t work everywhere. The main loss I notice is being unable to assign keyboard shortcuts to scripts in the scripts menu, which would actually solve the entire problem because you could just create scripts to replicate the functionality of any menu item that doesn't want to have a keyboard shortcut. Quicksilver is probably one of the most versatile applications for Mac OS X so I won't try and explain everything it does. For each of the AppleScripts below, this is the process you need to go through to assign a keyboard shortcut. Open up AppleScript Editor (located in Applications/Utilities) and paste in the script. Save the script in the Scripts folder, located in the Library in your user folder. 1. The two separate scripts that you need to use are below. 2. 3.

Magento Issues - 10 most common Magento problems This tutorial will show you solutions to some of the most common Magento issues that users face when managing their online shops. How to configure Magento to work with a new domain There are two things you should do in order to configure Magento to work with a new domain: Edit the Magento database Go to your cPanel > phpMyAdmin. Select your Magento database from the left menu, find the table called core_config_data and click on it. web/unsecure/base_urlweb/secure/base_url by clicking the pen icon in front of each of them. Clear the Magento cache. The Magento cache folder is located in your Magento installation directory > /var/cache. Many Magento issues can be fixed just by deleting the cache. How to reset Magento Admin Password To change your Magento admin password, go to your cPanel > phpMyAdmin, select your Magento database, click the SQL tab and paste this query: UPDATE admin_user SET password=CONCAT(MD5('sGnewpass'), ':sG') WHERE username='AdminUsername'; How to speed up Magento to Edit . <! <!

URL Decoder/Encoder URL Decoder/Encoder Input a string of text and encode or decode it as you like.Handy for turning encoded JavaScript URLs from complete gibberish into readable gibberish.If you'd like to have the URL Decoder/Encoder for offline use, just view source and save to your hard drive. The URL Decoder/Encoder is licensed under a Creative Commons Attribution-ShareAlike 2.0 License. This tool is provided without warranty, guarantee, or much in the way of explanation. Learn Microsoft Expression - video, tutorials, whitepapers The proliferation of rich interactive web applications across the cloud and mobile devices continues to create new opportunities for creative design and development. As these technologies evolve, Microsoft is committed to providing best-in-class tools for building modern applications. In support of these industry trends Microsoft is consolidating our lead design and development offerings — Expression and Visual Studio — to offer all of our customers a unified solution that brings together the best of Web and modern development patterns. Blend will continue to ship as a standalone tool with Visual Studio 2012, as part of a consolidated designer/developer offering. Expression Blend With Visual Studio 2012 we introduced Blend for Visual Studio, providing advanced design-centric capabilities for Windows Store apps and Windows Phone apps. Additionally a Preview version of Blend for Visual Studio 2012 that supports Silverlight and WPF editing, as well as SketchFlow is available. Expression Web

Create application shortcuts in Google Chrome on a Mac One of the best features of Chrome is the ability to create "application shortcuts" that let you launch web sites as stand alone applications. Unfortunately, application shortcuts are disabled in Chrome for Macs. While other options exist to create site specific browsers (SSB) based on Firefox (Prism) or Safari (Fluid), I'm a big fan of Chrome, so I wrote a little script that lets you create your own Chrome application shortcuts on a Mac. The script basically automates a solution that I found when looking around online, at the end of this post. What are Application Shortcuts? We haven't talked much about site-specific-browsers or application shortcuts (Chrome's version of SSBs), but they can be a great way to make your web applications feel more like desktop apps. How to use the script If you've ever run a shell script before, it should be pretty obvious how this script works. Prepare the app The next step is to decide what site you want to use to create an Application Shortcut.

Intégrer Wordpress à Magento | intégrer un blog à Magento Ecrit par Pierre dans Magento avec les tags Intégrer Magento à Wordpress, Magento, Wordpress Magento est une plateforme e-commerce open source très en vogue en ce moment donc on va voir dans cet article comment intégrer une autre solution en vogue mais cette fois au niveau blog/sites qui est WordPress. On part d’une installation de Magento fonctionnelle Etape 1 : Installation de WordPress Tout d’abord on va télécharger WordPress : Il faut créer une nouvelle base de données pour WordPress Ensuite on va éditer le fichier wp-config-sample.php qui se trouve à la racine de l’installation de WordPress pour configurer les accès à la base de données. Ensuite une fois que vos paramètres sont entrés correctement il faut enregistrer ce fichier sous le nom wp-config.php à la racine de votre installation. Ensuite entrez l’adresse internet de votre installation de WordPress et finalisez l’installation Compatible avec Magento CE 1.3,1.4,1.4.1.1

Online JSON Viewer Submitting a Site to The Open Directory Project The Open Directory Project is a web directory of Internet resources. A web directory is something akin to a huge reference library. The directory is hierarchically arranged by subject - from broad to specific. We care a great deal about the quality of the ODP. To keep the ODP running smoothly and to assist us in exercising our editorial discretion, we have set up policies for submitting sites for our consideration. You should take a few moments to understand these policies and the steps to suggest a site before you begin. Step One Determine whether a site is appropriate for submission to the ODP: Do not suggest mirror sites. Step Two Do a quick search in the directory at www.dmoz.org (the home of the Open Directory) to be sure the site isn't already listed. Step Three Identify the single best category for the site. Note: Some categories do not have "suggest URL" or "update URL" links. Step Four Procedure After Your Site is Suggested Updating a Site Editorial Discretion

Référencement Magento : une extension pour la réécriture d'URL des filtres - Layered Navigation Voici quelques conseils pour optimiser Magento pour le référencement et accroître la visibilité du site. Certaines astuces permettent de pallier à la duplication de contenu. Évitez la duplication de contenu et la répétition des metas Par défaut, les balises meta de certaines pages sont identiques, notamment dans les cas de figure suivants : Catégories : URL catégorie : ma-categorie.htmlURL catégorie avec tris : ma-categorie.html? Produits : URL produit : mon-produit.htmlURL produit avec commentaires : review/product/list/id/135/category/27/#review-formURL produit avec chemin de la catégorie : ma-categorie-1/mon-produit.html Ces pages sont toutes susceptibles d'être indexées par les moteurs. Pour résoudre ce problème qui peut dans certains cas amener à une duplication de contenu, voici quelques méthodes : Installer l'extension Canonical URL Le Canonical URL est pris en charge par les principaux de moteurs de recherche. Canonicla URL Les titres et descriptions des pages doivent être uniques.

Popular ideas "Your Honor?" (2014) I had a LEAD role in this production and my character name is Australia. Every couple months or so I see a problem with this credit. Now ... Language problem Hello, Recently, I noticed a very strange problem with the sharing system of the page. Why is Jersey Shore (not to be confused with Jersey Shore Massacre) classified as horror? I've never watched Jersey Shore, but I'm pretty sure it's not horror. change date of a filmfestival Update Mannheim-Heidelberg International Filmefstival Should read: John Wick UK 2nd January 2015 not 2014. Pending reviews need to be added Hi, I have two movie reviews pending. How to claim a music credit that already exist? There are 2 film on here in which I am involved in but they created a new Marty Ray and Im trying to claim the credits but cant. Staff: Can you check on submission ID numbers for status Staff: Can you check: 140918-231113-539000 140918-230953-658000 140918-230836-800000 140918-230642-257000 These Name Pages refer to th...

Accessible CSS Forms: Using CSS to Create a Two-Column Layout - replace tables with css layout form tutorial Summary: Websites have become less accessible and more complex over time according to recent studies. Learn how to buck the trend by creating fast, accessible CSS forms that work with modern browsers and gracefully degrade. In a recent study of web design patterns, Dr. Melody Ivory found that accessibility is the most underutilized aspect of good web page design (Ivory 2005). In fact websites have become more complex and less accessible over time (Hackett 2003). A survey of CSS-based forms revealed many variations on a theme (see Vandersluis 2004). Figure 1: CSS Forms Layout Example (image) Table-Based Contact Form First let's look at the old way of laying out a form. Note how much of the XHTML code is used for layout. Unfortunately, laying out a form with tables can make it difficult to access for folks with disabilities. Building a CSS-based Form This barebones contact form contains the same fields, but they are now surrounded by semantic markup, not layout. Add CSS Float, mix well

Related: