Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Specific head image to a page
#4
If your images are not css background images but linked in the html you can put the img tags in a component then use
PHP Code:
<?php if (return_page_slug()=='404'get_component('COMPNAME'); ?>
in your template, or some other snippet of php from here:
http://get-simple.info/wiki/components-d...n-the_page

I suppose you could use a similar bit of php to link a particular page to a specific css but having a duplicate css is probably even less efficient than having a duplicate template.
Reply


Messages In This Thread
Specific head image to a page - by el_fuerte - 2013-05-29, 09:23:45
RE: Specific head image to a page - by shawn_a - 2013-05-29, 11:14:06
RE: Specific head image to a page - by el_fuerte - 2013-05-29, 12:33:31
RE: Specific head image to a page - by Timbow - 2013-05-29, 18:16:26
RE: Specific head image to a page - by shawn_a - 2013-05-29, 22:29:56



Users browsing this thread: 1 Guest(s)