i need to display some more links in footer. i created those links in magento admin as static blocks (id = sample_links ). and then i added following code page.xml file <reference name=”foot_lnk”> <block type=”cms/block” name=”sample_block” before=”-”> <action method=”setBlockId”><block_id>sample_links</block_id></action> </block> </reference> i called this one in footer.phtml as, <?php echo $this->getChildHtml(‘foot_lnk’) ?> but it does [...]
Archive: magento development
I have installed Magento on live server. But the problem is that its not loading css. I have double checked .htaccess file but There is nothing any issue in it. I have given full access permission on Var, Media & app/etc folder. Please let me know that what is the issue ? Thanks in advance. [...]
I am new to magento And i want to clear my doubt regarding call to base magento’s block I want to make footer in my new project and i have done designing static now i want to add dynamic links using function getLinks() . How can i call magento base block’s instance in my project [...]
i am trying to put a newsletter in a popup in magento homepage i am trying this by placing some jquery code in 2colums-right.phtml my code is <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”<?php echo $this->getLang() ?>” lang=”<?php echo $this->getLang() ?>”> <head> <!————————————manoj———————-> <link rel=”stylesheet” type=”text/css” href=”http://magento.local/popup-js/style.css” /> <!–<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js”></script>–> [...]
Hi I’m creating my first admin section for my extension. I’ve created a menu which links to a page displaying a grid. The problem is when you click through to edit the record, its displaying this error Fatal error: Call to a member function setData() on a non-object in /Applications/MAMP/htdocs/theBookClub/app/code/core/Mage/Adminhtml/Block/Widget/Form/Container.php on line 129 For the [...]
My magento install has a free shipping shopping cart rule, as well as coupon rules. When a coupon is entered, the free shipping goes away. This is undesirable, but a known condition with Magento: Magento Free shipping and Coupon discount Note: If someone knows how to correct THAT issue without overriding, that would be preferable. [...]
When I view a category page (ie. url.com/category.html) the page shows the category title, description but no products. Doesn’t seem to be loading them since I get this message “There are no products matching the selection.” The products are enabled, visible in catalog & search, have quantity and are in stock and product categories are [...]
I’m working on a static php landing page that is getting accessed outside of Magento and I’m trying to pull a Magento block using with a non-default theme. I’m able to get the block to show using the default theme, but I’m not sure how I can specify an alternate theme to use. Both themes [...]
I am trying to make use of the Magento Category thumbnail, but it is not working. I’ve followed many tutorials online (eg http://www.douglasradburn.co.uk/getting-category-thumbnail-images-with-magento/), and all of them make mention of the function : $_category->getThumbnail() which is supposed to be in the Category model. I’m running Magento 1.6 and I can’t find this function anywhere. I’ve [...]
I get following error: SQLSTATE[23000]: Integrity constraint violation: 1052 Column ‘position’ in order clause is ambiguous I was having Magento 1.4 version, firstly I successfully upgraded it to 1.6.2, but when I tried upgrading it to 1.7, I came up with above error. Please help Getting error while upgrading to Magento 1.7 Possibly Related Posts: [...]