Fork me on GitHub

ha! Designing own theme: stuck!  Bottom

  • FYI: yes I've searched for about 45minutes to find this particular little qwerk.

    I am not new to templating, so this is not a newbie error and I'm used to doing all the coding by hand.

    So what I've done so far.

    Installed postnuke.
    Select theme simular to what I want (PostNukeSilver)
    Create new folder named for my theme
    Copy CSS and template files over to new folder
    Go to admin and select my New Theme.

    Go to themes.php and change "logo.gif" to "logo.jpg"

    I *should* be good to go. right?

    Problem is that the theme.php in my new folder is still looking at the folder for PostNukeSilver. When I uploaded a copy of the logo into the image folder of PostNukeSilver then it did indeed show up on my site.

    When I changed themes in admin shouldn't the $theme variable that controls where to look for the info get redifined to point to my new directory?

    But then again I can change the CSS just fine and my site does reflect the changes.

    eh? Did I miss something?

    I did look, but if there is a thread about this issue feel free to point it out.

    Thanks Bunches!
    =)
    Jade
  • Well for now I'm hardcoding the theme, since I doubt that it'll be available for d/l. I have to much to do at Gallery with skins to attempt to do things for PN. wink

    I'll check back if anyone has an answer, I'll just retro the hard code back to using the variables.

    If you wish to see progress (way early stages) Click Here.

    =)
    Jade
  • Code

    $thename = 'YourThemeName';

    ...

    <IMG SRC="theme/$GLOBALS['thename']/logo.gif">

    Or hardcode the directory name of your theme in...

    See: Theme Guide: Tips fo…g and starter theme for some theme tips...

    In the future, please post more specific topic subjects so that others may benefit from the exchange; you'll also likely attract a greater number of qualified responses.

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • 0 users

This list is based on users active over the last 60 minutes.