How to edit footer part in magento framework? - magento

I am new in magento.I want to change footer part.
my footer file path: D:\wamp\www\magento\app\design\frontend\base\default\template\page\html\footer.phtml.
<div class="footer-container">
<div class="footer">
<?php echo $this->getChildHtml() ?>
<p class="bugs"><?php echo $this->__('Help Us to Keep Magento Healthy') ?> - <strong><?php echo $this->__('Report All Bugs') ?></strong> <?php echo $this->__('(ver. %s)', Mage::getVersion()) ?></p>
<address><?php echo $this->getCopyright() ?></address>
</div>
Now I want to remove Help us to keep sentence.
please tell me how to remove this
I have deleted fulll then also it is shown in frontend.

Go to admin section System>Configuration>Advanced>Developer>Debug Then enable Template path hints. After this refresh your site frontend.
You will get the correct information from which theme your file is being loaded.
Then change the correct footer.phtml file.
This message will go.
I think you are new to magento.
For better knowledge read Design Packages

This is a cache issue.
Navigate to your site's cache:
public_html/var/cache //Or where ever the route of your Magento cart is.
Then Delete all the things in the var directory!
Refresh your site and your changes should appear.

Related

Joomla taks works with Friendly url OFF but do not with Friendly url ON

I have trouble with joomla 3.3.3 site. When my Firendly url is off this url with task works fine
<?php echo JText::_('EZWATCHLISTS_DELETE')?>
but when i turn ON Friendly url task is ignored.
NOTICE: When I look in file inspector I see link like this:
and when copy paste that link then task works fine.
Please help.
With Joomla, you should use the JRoue class which will take care of all your URLs for you, whether you have SEF enabled or disabled. So change you code to the following:
<a href="<?php echo JRoute::_('index.php?option=com_ezwatchlists&task=delete&rowid=' . $row->id); ?>">
<?php echo JText::_('EZWATCHLISTS_DELETE'); ?>
</a>
For more information, have a read of the following:
https://docs.joomla.org/Supporting_SEF_URLs_in_your_component
Hope this helps

Magento 1.91 CE - Customers Cant login

Hi all our website is Caged.eu and we have customised a Template from pre 1.9. Magento allows customer to register but when they try to sign in using that login details login page doesnt respond, this also happens when they ask to resend password it send reset details but still doesnt work.
Oddly the click facebook link to sign up login does work which is another extension we are ready to release but after getting it this well done would hate to have to change template.
Im sure its something stupid but would really appreciate your help guys
In Magento 1.9 the forms are unable to store the data as formkey missing. Try to add the key then you can be able to sign in. Add <?php echo $this->getBlockHtml('formkey'); ?> this at line no 41 below <form> tag in app/design/frontend/[your theme package]/[your theme]/template/persistent/customer/form/login.phtml
And check whether you can update product quantity in cart, there also formkey is missing.
Copy base/default/template/customer and base/default/template/persistent to your theme/template
After you had added the line <?php echo $this->getBlockHtml('formkey'); ?>
Perhaps you need to to flush magneto cache from magento admin (System->Cache management), then you can try the frontend customer login again.
As already replied in magento.stackexchange you should edit
/app/design/frontend/default/template-name/template/persistent/customer/form/login.phtml
and inside the "login form" form, after the
<ul class="form-list">
you should insert
<input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
and this will solve your problem, as it did with mine.
Hope this helps
so be it - manemoi
Theodore

how to show recent view products on home page in magento

I want to how recently viewed products on home page in magento.
Currently I am using below code but this is now working. so please help!!
getLayout()->createBlock('reports/product_viewed')->setTemplate('reports/product_viewed.phtml')->toHtml(); ?>
Did you forget to echo?
<?php echo $this->getLayout()->createBlock('reports/product_viewed')->setTemplate('reports/product_viewed.phtml')->toHtml(); ?>
By the way if you're doing it from the CMS you need to use:
{{block type="reports/product_viewed" template="reports/product_viewed.phtml"}}

how to add Home menu in magento home page

How to add Home menu in magento home page. I add the code In this location
magento\app\design\frontend\default\grayscale\template\catalog\navigation
<li>
<a href="<?php echo $this->getUrl('') ?>">
<?php echo $this->__('Home'); ?>
</a>
</li>
But home menu not displayed on the home page of Magento
You have to keep the categories you want to display in menu under the root directory.
There may be more cases possible on why menu is not appearing.
Please consider following these guides :
http://www.magentocommerce.com/wiki/3_-_store_setup_and_management/catalog/enable_top_menu_navigation
http://www.atwix.com/magento/how-to-add-a-new-item-to-the-navigation-menu/
http://www.youtube.com/watch?v=w4z1RyyFHhU
Are you sure this is the template you're store is using?
You can check by enabling template hints in the developer section of the admin area.
this will hiliight all the blocks/templates for you and show the path to each file used. You will be able to check if the template you have modified is the template being used.

How to add "add to wishlist" button on product detail page in Magento

I am new to Magento.I am learning it.
I want to add a button "Add to Wishlist" near to "add to cart" button in Magento product detail page.
How can I do this so that the selected product will be added to wishlist.
Please Help
Thanks.
This feature already exist in Magento.
If you want to check this feature via Code than check this out -
<div class="add-to-box">
<?php echo $this->getChildHtml('addto') ?>
</div>
This Code you can find within [Theme]/template/catelog/product/view.phtml.
This code causes to call "Add to wishlist" button in Product Detail Page and this button comes from [Theme]/template/catelog/product/view/addto.phtml.
From here you can manage this Button.
You can also enable or disable this feature via Admin Section -
To control the display of the Add to Wishlist link:
From the Admin panel, select System > Configuration.
In the Configuration panel on the left, under Customers, select the Wishlist tab.
Click to expand the General Options section and do one of the following:
Set Enabled to Yes to display the Add to Wishlist link on category pages and product pages.
Set Enabled to No to remove the Add to Wishlist link from category pages and product pages.
Hope it'll be helpful.
Thanks!
Simple go to: ...catalog/product/view/addto.phtml and then:
<a href="<?php echo $this->
helper('wishlist')->getAddUrl($_product) ?>">
<?php echo $this->__('Add to Wishlist') ?></a>
Use the following code for 'Add to wishlist' button
<a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>"
class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a>
Use the following code for 'Add to cart' button
<button type="button" title="<?php echo $this->__('Add to Cart') ?>"
class="button btn-cart"
onclick="setLocation('<?php echo $this->helper('checkout/cart')->getAddUrl($_product) ?>')">
<span>
<span><?php echo $this->__('Add to Cart') ?></span>
</span>
</button>
I would have written this as a comment on Anx's answer but I don't have 50 reputation yet (funny system, surely comments are more trivial than answers?) so I'm adding another answer instead.
If you still have trouble after following Anx's advice then maybe you've got the same odd situation that I had - no entry in the core_config_data table for the config setting "wishlist/general/active". Even though it was marked as active in the admin panel. To fix it, I simply went to System > Configuration > Wishlist and clicked "Save Config" without changing anything. Presto, the entry appeared in core_config_data (along with "wishlist/email/email_template", "wishlist/email/email_identity" and "wishlist/wishlist_link/use_qty").

Resources