By ss84 on
Hi, i need to display an image on only pages that contain certain url in my ecommerce site.
For example, i want to add an image to http://www.test.com/catalog/1 and any others extended from this such as http://www.test.com/catalog/1?page=1.
Can anyone help me with the php for this? Thanks.
Comments
My first though would be to
My first though would be to use a custom block that hold the image since you can control the visibility of a block based on the path.
thanks, but im trying to
thanks, but im trying to avoid using blocks here (long explanation why)
This can be done by making
This can be done by making the file names variables and an if statement to display the image on certain node / pages.