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

Dizkus

Bottom
module template and styles overriding
  • Posted: 04.10.2006, 02:23
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    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.
  • Posted: 04.10.2006, 02:35
     
    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,..

    --
  • Posted: 04.10.2006, 10:05
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631

    gerkynet

    remove

    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?
  • Posted: 04.10.2006, 10:14
     
    InvalidResponse
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    21.10.07
    Posts:
    2423
    hey mark :)
    ..put the style.css into /themes/your_theme/style/module_name/style.css

    you owe me a nickle :)

    --
    http://www.invalidresponse.com
  • Posted: 04.10.2006, 10:23
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631

    InvalidResponse

    hey mark :)
    ..put the style.css into /themes/your_theme/style/module_name/style.css

    you owe me a nickle :)


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

    --
    pnDev.com ~ featuring the PostNuke paid services forum
  • Posted: 26.08.2007, 08:37
     
    pnDev
    rank:
    Helper Helper
    registered:
     July 2004
    Status:
    offline
    last visit:
    23.08.08
    Posts:
    448
    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

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula