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

Dizkus

Bottom
Xanthia: How to copy a theme
  • Posted: 14.12.2006, 05:16
     
    thowden
    rank:
    Helper Helper
    registered:
     November 2002
    Status:
    offline
    last visit:
    30.07.08
    Posts:
    117
    Hi All

    I am assuming that Xanthia is working in .8 and that the doc's are no longer valid.

    From the current docs "To install a new theme, upload the theme files to the themes directory, and change the theme in the settings area of the administration panel."

    This is not working for me. If I copy an existing theme to a new directory, it is not found when doing a refresh of the theme tree.

    I've searched and cannot find a reference for Xanthia apropos .8 version. Any pointers please.



    --
    cheers
    Tony

    Marble Bay : PostNuke Dev Work
    Wren/Maxwell : PostNuke Hosting

  • Posted: 14.12.2006, 05:28
     
    ZarToXidE
    rank:
    Helper Helper
    registered:
     January 2005
    Status:
    offline
    last visit:
    09.02.08
    Posts:
    455
    This should be helpfull then: http://community.postnuke.com/Wiki-PortingAOpenSourceTemplate.htm

    --
    Doe Maar Freak
  • Posted: 14.12.2006, 05:44
     
    thowden
    rank:
    Helper Helper
    registered:
     November 2002
    Status:
    offline
    last visit:
    30.07.08
    Posts:
    117
    Hi All

    *Update*

    From testing a variety of combinations I see that the process is more than just copying a theme directory and regen the theme list, which is how I think we did it up until .726?

    It appears that with .8 we must edit the version.php files in the theme directory tree / and languages/xxx/version.php to reflect the name directory / theme name. It seems the directory name is now irrelevant against the title inside the version.php file.

    This works ok (I think. Am I missing anything?) but requires fiddling with files. Creating a new theme from the Xanthia console; copying the resulting theme directory to a second PN .8 site ; regen the theme list in the second PN site results in the new theme being installed automatically. But that is a blank, or default 2 or 3 column layout.

    Assuming I have the above somewhere near correct, would a 'create new theme from existing theme (ie copy theme) process in the Xanthia Admin be a good option to have? I will assume that many end-users will want to do their own theme but base it on an existing theme. Perhaps this is as easy as including all existing themes in the drop down list of Layouts in the create theme page?







    --
    cheers
    Tony

    Marble Bay : PostNuke Dev Work
    Wren/Maxwell : PostNuke Hosting

  • Posted: 14.12.2006, 06:48
     
    thowden
    rank:
    Helper Helper
    registered:
     November 2002
    Status:
    offline
    last visit:
    30.07.08
    Posts:
    117
    Hi

    Thanks. That is what I need for .8 themes. Why did this not appear as a search result? Hmmm.. with "xanthia .8" search in Wiki this does not list, with "xanthia .8 template" it does appear. Damn.. I hate having to know what to search for before I do the search!

    ZarToXidE

    This should be helpfull then: http://community.postnuke.com/Wiki-PortingAOpenSourceTemplate.htm




    --
    cheers
    Tony

    Marble Bay : PostNuke Dev Work
    Wren/Maxwell : PostNuke Hosting

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula