Theme Demo Chooser | HELP PLEASE !!

Discussion in 'HTML & Website Design' started by zinghana, Sep 1, 2011.

  1. #1
    Hi all,

    I will soon be starting a forum theme website.. I would love to have a style chooser running at the top of all demo pages.. ive done this in the past but have had to hard code the top demo chooser section into each theme and well it's time consuming and ive seen easier ways of it being done..

    Some examples:

    - http://demo.rockettheme.com/
    - http://themeforest.net/item/vario-wordpress-theme/full_screen_preview/451821/

    Just examples, i mostly like the rockettheme one though and would like to replicate that for my site... Was wondering if anyone could help me out here / point me in the right direction as to how i should tackle this.

    Regards, Darren
     
    zinghana, Sep 1, 2011 IP
  2. CptnKrunch

    CptnKrunch Guest

    Messages:
    7
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could make the theme selector a php file, then include it at the top of every page. That way you only have to actually code it once, then use a simple php include to show it on the page.
     
    CptnKrunch, Sep 1, 2011 IP
  3. zinghana

    zinghana Well-Known Member

    Messages:
    1,970
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    125
    #3
    Thanks mate,

    I had been including the css / coding in each demo theme at the top it was just getting a little time consuming having to do it for each theme.. the only benefit from this was i could include a "Buy Now" button that linked to the sale / information page for each theme.

    While i like the demo.rockettheme.com method as it looks nice with the scrolling / window scroller starting where the demo theme starts.. looks like some iframe type method.. i just haven't played around with iframes for a while and also from what i can gather it's using a jquery script.

    The themeforest.net demo is also good as it contains a "Buy Now" / "Purchase" button within the top bar for each theme it loads..

    If i could combine both methods that would be great.. was hoping there would be a script out there for this but ive not been able to find anything close to it.

    I like your idea tho and may run with that so cheers for taking the time to reply / help. Any further help is greatly appreciated.

    Regards, Darren
     
    zinghana, Sep 1, 2011 IP