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

Support Forum

Start ::  PostNuke 0.7 Support ::  XTE Support ::  module template and styles overriding

Moderated by: Support Team

Bottom
module template and styles overriding

  • Link to this postingPosted: 04.10.2006, 02:23
    Profile Homepage
    MACscr
    rank:
    Professional Professional
    registered:
     September 2001
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    What is the correct procedure for overriding a modules templates and style sheets. I am using the xanthia theme engine with pn.762

    I was thinking it was themes/THEMENAME/modules/MODULENAME/pntemplates/ and themes/THEMENAME/modules/MODULENAME/pnstyles/, but that didnt seem to work and finally discovered that setup was only for non xanthia themes (which i find to be weird). Anyway, i got the templates to finally work by just throught them in themes/THEMENAME/modules/MODULENAME/, but I still cant get the style sheets to override as well. I have tried putting them in the themes/THEMENAME/modules/MODULENAME/ directory as well, but with no luck.

    I thought there was some documentation on this, but i havent been able to find it recently. Thanks.
  • Link to this postingPosted: 04.10.2006, 02:35
    Profile Homepage
    gerkynet
    rank:
    Helper Helper
    registered:
     February 2006
    Status:
    offline
    last visit:
    21.11.06
    Posts:
    257
    remove
    Code
    <!--[modulestylesheet]-->
    tag from your xanthia templates, master.htm, home.htm,..
    -----
  • Link to this postingPosted: 04.10.2006, 10:05
    Profile Homepage
    MACscr
    rank:
    Professional Professional
    registered:
     September 2001
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    gerkynetremove
    Code
    <!--[modulestylesheet]-->
    tag from your xanthia templates, master.htm, home.htm,..

    Um, that has nothing to do with what im trying to do. That only looks to see if the module has a style sheet and then insert it into the header if needed. AFAIK, it has nothing to do with overriding module style sheets.
    Anyone else have any ideas?
  • Link to this postingPosted: 04.10.2006, 10:14
    Profile Homepage
    InvalidResponse
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    21.10.07
    Posts:
    2423
    hey mark icon_smile
    ..put the style.css into /themes/your_theme/style/module_name/style.css

    you owe me a nickle icon_smile

    -----
    http://www.invalidresponse.com
  • Link to this postingPosted: 04.10.2006, 10:23
    Profile Homepage
    MACscr
    rank:
    Professional Professional
    registered:
     September 2001
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    InvalidResponsehey mark icon_smile
    ..put the style.css into /themes/your_theme/style/module_name/style.css

    you owe me a nickle icon_smile


    Ah, that makes sense I guess. I would donate that nickel, but i cant find a donate link for you. =P
  • Link to this postingPosted: 21.08.2007, 22:41
    Profile Homepage
    pnDev
    rank:
    Helper Helper
    registered:
     July 2004
    Status:
    offline
    last visit:
    10.12.07
    Posts:
    446
    Does anybody know if modulestylesheet picks up stylesheets for blocks? If not whats the recommended procedure?

    -----
    pnDev.com ~ featuring the PostNuke paid services forum
  • Link to this postingPosted: 26.08.2007, 08:37
    Profile Homepage
    pnDev
    rank:
    Helper Helper
    registered:
     July 2004
    Status:
    offline
    last visit:
    10.12.07
    Posts:
    446
    Been on a mission to make my site css/xhtml complient. I've slugged through alot of older pre-0.750 style modules and with some hacks got them complient (ie bizpages, pnz_classifieds, weather). The one remaining problem I have is to get the blocks style sheets included inside the like the modulestylesheets. Has anybody encountered this issue? If so what did you do?

    -----
    pnDev.com ~ featuring the PostNuke paid services forum

Start ::  PostNuke 0.7 Support ::  XTE Support ::  module template and styles overriding

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to Zikula