{{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’}} .
You can use the following function to get site urls .
Below given are the function with different arguments
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) – http://magesite.extension/js/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK) – http://magesite.extension/index.php/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) – http://magesite.extension/media/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN) – http://magesite.extension/skin/
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) -http://magesite.extension/
$currentUrl = $this->helper('core/url')->getCurrentUrl(); // Displays URL of the current page
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>filename.js</action>
The path will be www.yourSiteName.com/skin/frontend/mind/extreme/js/filename.js
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
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”