change button place in facebookfreebelvg magento 1.5 - magento

I installed the facebook connect from belvg in my store (filipeferminiano.com/lojateste) and I want to change the place of the facebook button. Where is the code that specifies these features? I already looked at the module's files but I didn't fint it.
Anyone can help me?

login button is located in app/design/frontend/default/default/template/facebookfree/links.phtml
<img src="<?php echo $this->helper('facebookfree/active')->getLoginImg()?>" alt="<?php echo $this->__('Connect with Facebook')?>" />

Related

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

call magento dashboard using php anchor

How do I call the magento dashobard using an anchor? I need to call the magento dashboard when I put it in an anchor?
<a href="<?php //what do I add here? ?>">
Below is the code which is working in my one of custom extension in magento custom grid.
you can use like below.
<a href="<?php echo Mage::helper('adminhtml')->getUrl("adminhtml/dashboard/index");?>" target="_blank">
test
</a>
hope this will sure work for you. let me know if i can help you further.

How to display images using codeigniter

am trying to display the images of my products in a shopping cart and this is the code am using to do that...
<img src=" <?php echo 'image/'. $product['picture']?>" /><br />
but the images do not show. I have stored the images in a folder called image outside applications.
You can use base_url to get full path without index.php.
Hope you images folder exist in project root folder.
<img src="<?php echo base_url('image/'. $product['picture']);?>" />

How to create link to go to shopping cart

I have the following href on a page /example/index.php that I want to take me to my magento shopping cart:
href="/example/catalog/index.php/checkout/cart/"
However, it always redirects to /example/catalog/
When I am on /example/catalog/ and I trigger the same href it goes to the correct page but not from my main page.
Can someone please explain how to fix this?
Is your Magento installation inside /example/catalog/?
If yes, then you can
href="<?php echo $this->getUrl('checkout/cart') ?>"

How to edit footer part in magento framework?

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.

Resources