Dynamically picking a header image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • filburt1
    Senior Member
    • Feb 2002
    • 6606

    Dynamically picking a header image

    I've got two style sets, one that's gray and one that's blue. The gray one has a title image called toptitle-2.gif, and the blue one as toptitle-1.gif. I'm only using one template set so I don't have to worry about multiple ones when hacking.

    What code can I put in the phpinclude template that does something like this:
    PHP Code:
    if (?)
    {
        
    $customheadimage 'toptitle-2.gif';
    }
    else
    {
        
    $customheadimage 'toptitle-1.gif';

    Or is there another way to do it without making a new template set?
    --filburt1, vBulletin.org/vBulletinTemplates.com moderator
    Web Design Forums.net: vB Board of the Month
    vBulletin Mail System (vBMS): webmail for your forum users
  • filburt1
    Senior Member
    • Feb 2002
    • 6606

    #2
    NM, I just used the {headerimage} or whatever it was
    --filburt1, vBulletin.org/vBulletinTemplates.com moderator
    Web Design Forums.net: vB Board of the Month
    vBulletin Mail System (vBMS): webmail for your forum users

    Comment

    • George L
      Former vBulletin Support
      • May 2000
      • 32996
      • 3.8.x

      #3
      moved to correct forum
      :: Always Back Up Forum Database + Attachments BEFORE upgrading !
      :: Nginx SPDY SSL - World Flags Demo [video results]
      :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...