Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
138 views

I have magento 1.9.4 and running 3 stores and want to add a jv script from duda in the head

It says to add this to the head section but I don't know where it is. This is the script. DM_redirect("m.stuffwholesale.com"); I looked at the phtml which I found in the forum but I just am unsure can ...
Ron Gin's user avatar
  • 31
0 votes
2 answers
343 views

Magento 1.9.2.4 How to remove Link Rel Stylesheet from head section on custom theme

So we have a site and when i view source there is a Link Rel="stylesheet" line entry which fetches a stylesheet. When i click this link in view source it leads to empty page as in not found, so i want ...
Matt Godwin's user avatar
0 votes
2 answers
1k views

Can't get a head block in Observer

I don't know why but i get this error: Call to a member function setData() on boolean in observer line 22, and this line is: $head->setData('title', $metaTitle); Observer.php class ...
PЯINCƎ's user avatar
  • 11.7k
0 votes
1 answer
1k views

Add JS to head in Cart

I have a problem when I want to put JS into my head when the PHP condition is met, but I'm getting Mage_Core_Exception: Invalid block type exception no idea why. I have read all the possible issues I ...
JohnyProkie's user avatar
1 vote
1 answer
1k views

how can I append custom block to head in adminhtml controller action

I was trying to add a block to the head in magento backend for a specific controller action. public function updateAction(){ $block = $this->getLayout()->createBlock( '...
gabtzi's user avatar
  • 686
1 vote
2 answers
417 views

Magento : Edit Head Tag of Specific Page

I'm trying to setup an Analytics A/B test on my Magento, on 2 landing pages (not homepage). The problem is that, if I place Google Analytics Content Experiment code on every page of store, it re-...
Luca's user avatar
  • 11
1 vote
3 answers
510 views

Add js file in two colums layout

I'm trying to add a sript for sidebar only where the sidabar appear. In my local.xml I added: <page_two_columns_left> <reference name="head"> <action method="addItem">&...
krybbio's user avatar
  • 1,258
0 votes
0 answers
635 views

Finding where CSS and JS injection is called from

In my development site, I added an extension that I have since decided to remove. Having removed all the files from the site structure, I am still seeing the css and js include files being included in ...
robgt's user avatar
  • 439
1 vote
3 answers
6k views

Adding New Facebook pixel to <head>

Trying to add the new Facebook pixel to Magento 1.9.1.1. So it can appear on all pages. I have added the following to app/design/frontend/rwd/CustomTheme/layout/local.xml between <?xml version="...
user2774042's user avatar
1 vote
1 answer
1k views

Adding code to the head section of homepage only

How do I add code to the head of my homepage only? I did some research and I think it needs to go into layout.xml under but it doesn't seem to be showing. My code with this added is below: <...
user3217495's user avatar
1 vote
2 answers
455 views

what does this piece of javascript do and can i remove it safely?

<script type="text/javascript">//<![CDATA[ var Translator = new Translate({"HTML tags are not allowed":"HTML-code is niet toegestaan","Please select an option.":"Selecteer a.u.b. een ...
Carlo's user avatar
  • 315