Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
pnRender/Xanthia instructions - what am I doing wrong?
  • Posted: 03.05.2007, 09:51
     
    skase98
    rank:
    Freshman Freshman
    registered:
     April 2007
    Status:
    offline
    last visit:
    21.07.07
    Posts:
    17
    Hello! I've read the information in the Wiki and Knowledgebase and Developer documentation and have adjusted the settings in both pnRender and Xanthia as instructed but my templates refuse to cooperate. I'm using PN 0.7.6.4 and all the onboard attachments that came with it, plus a few extras.

    It's really frustrating because I'm using a theme (xFlowerGarden - but adjusted in many ways) that has an error in its top menu and I can't fix it because I can't get my master.htm changes to stick. My development site is www.purplefriends.com/ntnl

    I have a feeling the solution is very basic and I'll be slapping my forehead but for now I'm baffled. Thanks for any advice!

    Kathy



    edited by: skase98, May 03, 2007 - 04:54 AM
  • Posted: 03.05.2007, 10:02
     
    skase98
    rank:
    Freshman Freshman
    registered:
     April 2007
    Status:
    offline
    last visit:
    21.07.07
    Posts:
    17
    PS: Is uploading new files directly to my server the only way around this problem? Because (for the moment) that seems to be working.
  • Posted: 03.05.2007, 12:37
     
    Wendell
    rank:
    Professional Professional
    registered:
     February 2004
    Status:
    offline
    last visit:
    01.11.08
    Posts:
    1037
    Check your Xanthia settings -- during development and testing, make sure that caching is off and be sure to turn on "Check for updated version of templates" and "Force templates recompilation". Once you are satisfied with the theme, you can turn these back off.

    --
    DWX Logo
  • Posted: 03.05.2007, 23:29
     
    uheweb
    rank:
    Professional Professional
    registered:
     September 2004
    Status:
    offline
    last visit:
    10.11.08
    Posts:
    815
    Are you trying to make changes using the Xanthia template editor? This does not really work well, and saves it to the database rather than changing the templates.

    Changes should be made directly to the files...either using your hosts file editor, or uploading as you're doing.

    NCM
    UHEWeb
  • Posted: 30.05.2007, 00:02
     
    skase98
    rank:
    Freshman Freshman
    registered:
     April 2007
    Status:
    offline
    last visit:
    21.07.07
    Posts:
    17
    I must still be missing something. I've checked and unchecked options, uploaded and reloaded and emptied caches and dumped compiled files and nothing seems to be working. Should I disable pnRender while I'm doing this? I've tried working in Xanthia and that is also not working. It looks like it saves the changes but they don't show up. I have not had the 'store in database' option checked at any time but it still seems to be ignoring changes, even with the settings you confirm and those listed in the Wiki and documentation areas.

    So frustrating (which means it must be something very simple!)

    Kathy
  • Posted: 30.05.2007, 01:30
     
    uheweb
    rank:
    Professional Professional
    registered:
     September 2004
    Status:
    offline
    last visit:
    10.11.08
    Posts:
    815
    Kathy,

    To clarify, you've set:
    Admin --> pnRender
    CHECKED Compile check, CHECKED Force compilation, UNCHECKED Enable caching

    Admin --> Xanthia --> Configure Xanthia
    UNCHECKED Enable caching
    CHECKED Check for updated version of templates
    CHECKED Force templates recompilation
    UNCHECKED Store templates in database

    ALSO - most themes comes with a HOME template and a MASTER template - HOME is in the themes/THEMENAME/templates/modules directory.

    So, if you're trying to edit the HOME (Index) page, use the HOME template. All others are using the MASTER default unless they are set up to use their own template as well (ie, module specific, or custom zones, etc.).

    NCM
    UHEweb

    The directories to empty include:
    pnTemp/pnRender_compiled
    pnTemp/pnRender_cache
    pnTemp/Xanthia_compiled
    pnTemp/Xanthia_cache
  • Posted: 30.05.2007, 10:19
     
    skase98
    rank:
    Freshman Freshman
    registered:
     April 2007
    Status:
    offline
    last visit:
    21.07.07
    Posts:
    17
    HOME template! That's it! Thank you thank you thank you! I had everything checked/unchecked as you noted but I never saw or read anything about the modules directory in the theme directory. Phew! You have made my day - thank you very much!

    (now if only I can figure out what happened to my banner image...)

    Kathy



    edited by: skase98, May 30, 2007 - 05:35 AM
  • Posted: 30.05.2007, 11:43
     
    uheweb
    rank:
    Professional Professional
    registered:
     September 2004
    Status:
    offline
    last visit:
    10.11.08
    Posts:
    815
    Glad you found what it was. Each theme is a little different, but they all should have a HOME for the index page, MASTER for others. Many have an ADMIN for the administration pages, and them sub-templates for the news - 1 for articles, 1 for news list on index page.

    NCM
    UHEWeb

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula