PostNuke: A Flexible Open Source Content Management System
home | forum | international support | contact us

Support Forum

Start ::  Developers Corner ::  0.8 Theme Design ::  Some useful links for the .8x theme engine

Moderated by: Support Team

Bottom
Some useful links for the .8x theme engine

  • Link to this postingPosted: 13.04.2006, 14:15
    Profile Homepage
    markwest
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    24.04.08
    Posts:
    7647
    The following documentation (at our temporary Wiki) helps to document the updated theme engine in PostNuke .80.

    http://www.dordrak.com/dokuwiki/doku.php?id=themes:themes contains a break down of what makes up a theme.
    http://www.dordrak.com/do...doku.php?id=templating:basics is an intro to templating basics.
    http://www.dordrak.com/do...doku.php?id=templating:themetemplatevariables covers variables available inside theme templates.
    http://www.dordrak.com/do...doku.php?id=templating:commonthemetags covers other common theme tags (plugins).

    Further to this i've documented the process of converting a static HTML template into a theme (http://www.dord...ingatemplate).

    Lastly, so that not all of our test sites look the same....., in cvs of the mwxanthia themes NOC project you'll find 11 themes that run under the new engine - some upgraded from Xanthia 2.0 themes others new ports of open source web templates including the one used in the template porting tutorial. The themes are

    1024px
    andreas00
    andreas04
    Deliciously_Blue
    ezekiel
    Gemini
    kubrick
    MinimaPlus
    plain
    terge1_winter
    travelogue

    preview them at http://pnlab.markwest.me.uk.

    -Mark
  • Link to this postingPosted: 13.04.2006, 19:40
    Profile Homepage
    MMaynard
    rank:
    pnProfessional pnProfessional
    registered:
     March 2003
    Status:
    offline
    last visit:
    02.03.08
    Posts:
    1309
    7.x Xanthia themes won't work at all or will there just be minor issues?

    -----
    PostNuke Themes
  • Link to this postingPosted: 14.04.2006, 08:06
    Profile Homepage
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    13324
    They must be upgraded (a very quick process) before they will work with the new system.

    -----
    Regards,
    Simon

    itbegins.co.uk - PostNuke Consulting

    Please read the Support Guide
  • Link to this postingPosted: 14.04.2006, 10:40
    Profile Homepage
    MMaynard
    rank:
    pnProfessional pnProfessional
    registered:
     March 2003
    Status:
    offline
    last visit:
    02.03.08
    Posts:
    1309
    Ok let me ask, is this going to be the last "major" theme engine upgrade like this for awhile?
    I ask because it will become a royal pain the arse if we have to maintain multiple versions of the same themes for users that can't or won't upgrade.. :(

    -----
    PostNuke Themes
  • Link to this postingPosted: 14.04.2006, 15:11
    Profile Homepage
    mhalbrook
    rank:
    pnLegend pnLegend
    registered:
     October 2001
    Status:
    offline
    last visit:
    07.03.08
    Posts:
    6423
    Mike,
    First off, I can understand your concern, but I don't know of many, if any, module developers that make modules that work with outdated versions of PostNuke, you yourself don't make old style themes, you use AT & Xanthia. Basically, if you CHOOSE to support older installs of PostNuke than what is current, then you do so at your own expense. Personally, when I develop, I make sure it runs on current stable, and probably will shift any non-comissioned (i.e stuff I'm not paid for) development to .8 at this point.

    That said, I do belive that the intent from here out is to try and make sure that we don't break what works in .8 as we move to 1.0, but as with any thing that's pretty much in "alpha" or "beta" stage, that can never be 100% guaranteed.
  • Link to this postingPosted: 14.04.2006, 16:00
    Profile Homepage
    Wendell
    rank:
    pnProfessional pnProfessional
    registered:
     February 2004
    Status:
    offline
    last visit:
    07.05.08
    Posts:
    951
    In my tests, there was very little to do in the upgrade process. The Theme module does most of it for you. The only change you need to make to the templates is the new block tag.

    -----
  • Link to this postingPosted: 15.04.2006, 16:38
    Profile Homepage
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    09.05.08
    Posts:
    13324
    There are no major changes to the themes module planned - the interface may change but I think it is very unlikely the actual backend interaction with themes will change substantially after the release of .8.

    -----
    Regards,
    Simon

    itbegins.co.uk - PostNuke Consulting

    Please read the Support Guide
  • Link to this postingPosted: 03.10.2006, 14:25
    Profile Homepage
    daddysupa
    rank:
    pnHelper pnHelper
    registered:
     December 2003
    Status:
    offline
    last visit:
    11.03.08
    Posts:
    239
    markwestThe following documentation (at our temporary Wiki) helps to document the updated theme engine in PostNuke .80.

    http://www.dordrak.com/dokuwiki/doku.php?id=themes:themes contains a break down of what makes up a theme.
    http://www.dordrak.com/do...doku.php?id=templating:basics is an intro to templating basics.
    http://www.dordrak.com/do...doku.php?id=templating:themetemplatevariables covers variables available inside theme templates.
    http://www.dordrak.com/do...doku.php?id=templating:commonthemetags covers other common theme tags (plugins).

    Further to this i've documented the process of converting a static HTML template into a theme (http://www.dord...ingatemplate).

    Lastly, so that not all of our test sites look the same....., in cvs of the mwxanthia themes NOC project you'll find 11 themes that run under the new engine - some upgraded from Xanthia 2.0 themes others new ports of open source web templates including the one used in the template porting tutorial. The themes are

    1024px
    andreas00
    andreas04
    Deliciously_Blue
    ezekiel
    Gemini
    kubrick
    MinimaPlus
    plain
    terge1_winter
    travelogue

    preview them at http://pnlab.markwest.me.uk.

    -Mark


    Hi Mark,

    1. It doesn't appear that all the themes in your pnlab are available at the NOC.
    2. How much effort would it take to convert the .8 themes to .7x XTE?

    This way I can upgrade my theme now, and then when the .8 upgrade comes along it will also be easy to keep my theme intact.

    Please let me know if/when you have a moment.

    Thanks

    supa

    -----
    ttgapers.com - the latest from the caribbean


    ttgapers.com
  • Link to this postingPosted: 03.10.2006, 14:45
    Profile Homepage
    markwest
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    24.04.08
    Posts:
    7647
    Supa,

    1) All are in the SVN repository but haven't been added to the file releases. I plan on doing that this weekend. It'll take time to add each one as there are now around 70+ templates.
    2) I've not even thought about trying that.... There are different control files for the new engine and some of template logic won't work so i'd guess it'd tricky - possible but tricky.

    Essentially you'd need to take the control files from a .7x theme, overlay them, update things like the theme name etc. and then fix any template logic that didn't work.

    For an example of the logic the logic that won't work the 'pagetype' theme template variable has no equivalent in .7x.

    -Mark
  • Link to this postingPosted: 08.10.2006, 15:49
    Profile Homepage
    daddysupa
    rank:
    pnHelper pnHelper
    registered:
     December 2003
    Status:
    offline
    last visit:
    11.03.08
    Posts:
    239
    Hi Mark,

    Please let me know when you add the additional themes to SVN file releases. I want to get cracking on customizing my site layout in advance of .8 release.

    BTW, Release 2 of .8, is looking/behaving slick. I thought meta-keywords was out as per Drak? I guess you guys haven't gotten around to removing it from the Settings module as yet. Anyways, let me know about the above if/when you do it.

    Thanks

    Jason

    -----
    ttgapers.com - the latest from the caribbean


    ttgapers.com

Start ::  Developers Corner ::  0.8 Theme Design ::  Some useful links for the .8x theme engine

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to PostNuke