Magento - Creating a Configurable Product
click here to view the original website
This is a collection of all those little and large genius moments you get. You know what I'm talking about, when you've spent hours searching the internet for a solution, but no one quite knows the while answer. Then you crack it and feel like you've accomplished lifting a mountain from your path.
Wednesday, 24 August 2011
Silverstripe - User Defined Forms Page Template
Silverstripe - User Defined Forms Page Template
If you are using a the 'UserDefinedForms' module in Silverstripe you can set up a custom page layout just like you would a normal page layout, except you do not need to use a .php file to rebuild the database, instead just add a layout file (.ss) called UserDefinedForm.ss
click here for the original site
If you are using a the 'UserDefinedForms' module in Silverstripe you can set up a custom page layout just like you would a normal page layout, except you do not need to use a .php file to rebuild the database, instead just add a layout file (.ss) called UserDefinedForm.ss
click here for the original site
Tuesday, 23 August 2011
Silverstripe - Multi Column Layouts
This is awsome to get working. It gives you separate tabs to edit each column, making it easier for the user.
click here for the original post
click here for the original post
Friday, 19 August 2011
Silverstripe Tutorials
tutorial 1 - building a basic site
tutorial 2 - extending a basic site
tutorial 3 - forms
tutorial 4 - site search
tutorial 5 - data object relationship management
Thursday, 18 August 2011
Magento - Different Languages
If you want to change the language of your site use the procedure below.
A very easy procedure I found here click here
A very easy procedure I found here click here
Wednesday, 17 August 2011
Magento - Changing Page Layouts - XML Locations
Magento - Changing Page Layouts - XML Locations
Product Pages: Catalog.xml - search for "product view"
Other Pages: Page.xml
Recently Viewed Products Sidebar Panel: Reports.xml
Cart/Basket Sidebar Panel: Catalog.xml
Click here for the original website.
Product Pages: Catalog.xml - search for "product view"
Other Pages: Page.xml
Recently Viewed Products Sidebar Panel: Reports.xml
Cart/Basket Sidebar Panel: Catalog.xml
Click here for the original website.
Magento - Getting jQuery to work with Magento
click here for the original website
Tuesday, 16 August 2011
Magento - Adding a New CMS page layout
Labels:
add cms layout,
adding link,
change,
CMS,
layouts,
Magento,
page link
Monday, 15 August 2011
Magento Adding a link to an auto generated link list (top.links or footer_links)
Magento Adding a link to an auto generated link list (top.links or footer_links)
click here for the original website.
How to reorder links in auto generated link lists
click here for the original website.
click here for the original website.
How to reorder links in auto generated link lists
click here for the original website.
Thursday, 11 August 2011
Magento Adding a CSS class to top links, footer links, etc
Wednesday, 10 August 2011
Magento Path Hints
Magento Path Hints, displays the blocks in the website template with red outlines and path descriptions
"turn on path hints in magento (admin > system configuration > developer > main website (configuration scope) > template path hints yes"
click here for the original website
"turn on path hints in magento (admin > system configuration > developer > main website (configuration scope) > template path hints yes"
click here for the original website
Friday, 5 August 2011
CSS Shadows
CSS Shadows
.shadow {
-moz-box-shadow: 0px 0px 5px #555555;
-webkit-box-shadow: 0px 0px 5px #555555;
box-shadow: 0px 0px 5px #555555;
}
.shadow {
-moz-box-shadow: 0px 0px 5px #555555;
-webkit-box-shadow: 0px 0px 5px #555555;
box-shadow: 0px 0px 5px #555555;
}
Thursday, 4 August 2011
jQuery News Ticker
Click here to view the site I found this on.
Magento Missing HTML Head, Header & Footer in Admin > Design
I'd recently made a change to a magento installation so that I could use custom page layouts. During this I copied a file from a core directory to a local directory:
I then found out in the CMS is was missing some functionality:
Admin > Configuration > Design > { Missing } Head HTML, Header and Footer
To the regain this functionality, in the core folder above you have to copy both files, config.xml and system.xml over as you are switching the functionality from the core over to the local directory.
The original post I got this information from: click here
/app/code/core/Mage/Page/etc/config.xml
to/app/code/local/Mage/Page/etc/config.xml
I then found out in the CMS is was missing some functionality:
Admin > Configuration > Design > { Missing } Head HTML, Header and Footer
To the regain this functionality, in the core folder above you have to copy both files, config.xml and system.xml over as you are switching the functionality from the core over to the local directory.
The original post I got this information from: click here
Wednesday, 3 August 2011
Magento Referencing a Static Block in a *.phtml file
use this snippet of code replacing 'IDENTIFIER' with the ID of your Static Block:
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('INDENTIFIER')->toHtml() ?>
Reference in XML
XML Ref
phtml Ref
<?php echo $this->getChildHtml('**REFERENCED IN phtml**') ?>
click here for the original website
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('INDENTIFIER')->toHtml() ?>
Reference in XML
XML Ref
<block type="cms/block" name="**REFERENCED IN phtml**">
<action method="setBlockId"><block_id>**STATIC BLOCK ID**</block_id></action>
</block> phtml Ref
<?php echo $this->getChildHtml('**REFERENCED IN phtml**') ?>
click here for the original website
Tuesday, 2 August 2011
Magento Referencing a *.phtml file in the CMS or using XML and php
In CMS:
In XML and php:
XML component:
Just a php Call - NOT RECOMMENDED!
{{block type=”core/template” name=”top_static_links” template=”page/template/top_static_links.phtml”}}
In XML and php:
XML component:
<block type="core/template" name="top_static_links" template="page/template/top_static_links.phtml"/>
php component:<?php echo $this->getChildHtml('top_static_links'); ?>
Just a php Call - NOT RECOMMENDED!
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('videoBannerStaticBlock')->toHtml() ?>
jQuery Image Rotator
Monday, 1 August 2011
Magento linking to a CMS created page in the CMS
If you're looking to link to a CMS page using Magento's page editor, in the CMS, use this bit of code in the a href swapping out the "about-us" for the page identifier:
example:
<a href="{{store direct_url="about-us"}}">About Us</a>
If you are linking to a Category, add .html to the end of the identifier.
{{store direct_url="about-us"}}
example:
<a href="{{store direct_url="about-us"}}">About Us</a>
If you are linking to a Category, add .html to the end of the identifier.
Subscribe to:
Posts (Atom)