{{store url=’mypage.html’}} will return the full sitr ur l . ie http://sitename.com/mypage.html/
and
{{store direct_url=’mypage.html’}} will return the full sitr ur l . ie http://sitename.com/mypage.html
{{store url=’mypage.html’}} will return the full sitr ur l . ie http://sitename.com/mypage.html/
and
{{store direct_url=’mypage.html’}} will return the full sitr ur l . ie http://sitename.com/mypage.html
The below given code will display the the content added in “newPage.phtml”
{{block type=”core/template” name=”list-categories” template=”catalog/category/newPage.phtml”}}
<?php //The following code will load the block with the given "identifier" // on the phtml page echo $this->getLayout()->createBlock('cms/block')-> setBlockId('identifier')->toHtml() ?>
To give image path you can use {{skin url=’yourimage.gif’}} .
Below given are the function with different arguments
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) – http://phpcodez/js/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK) – http://phpcodez/index.php/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) – http://phpcodez/media/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN) – http://phpcodez/skin/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) -http://phpcodez/
$currentUrl = $this->helper(‘core/url’)->getCurrentUrl();
Please include the following line in page.xml page to include js file from the your theme folder
<action method=”addItem”><type>skin_js</type><script>filename.js</script></action>
The path will be www.yourSiteName.com/skin/frontend/mind/extreme/js/filename.js
Please follow the link
http://fishpig.co.uk/create-a-custom-theme-in-magento-1-4/comment-page-1/#comment-1185
Follow the below given instructions
1) Back up the files in the server
2) Export the Databse
3) Move the files to the new server
4) Import the databse to the new server
5) Edit the database details . please update the file “app/etc/local.xml”, with the latest Database details
6) Modify the table core_config_data (Replace old server name with new one).
7) Delete the files in “var/session” and “/var/cache”
Magento employs the MySQL relational database management system, the PHP programming language, and elements of the Zend Framework. It applies the conventions of object-oriented programming and model-view-controller architecture. Magento also uses the entity–attribute–value model to store data.