| Topic: | module template and styles overriding |
|---|---|
|
MACscr
Professional
Posts: 1631 Posted: |
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. |
|
gerkynet
Helper
Posts: 257 Posted: |
remove Code<!--[modulestylesheet]--> -- |
|
MACscr
Professional
Posts: 1631 Posted: |
gerkynetremove 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? |
|
InvalidResponse
Professional
Posts: 2423 Posted: |
hey mark :) ..put the style.css into /themes/your_theme/style/module_name/style.css you owe me a nickle :) -- http://www.invalidresponse.com |
|
MACscr
Professional
Posts: 1631 Posted: |
InvalidResponsehey mark :) Ah, that makes sense I guess. I would donate that nickel, but i cant find a donate link for you. =P |
|
pnDev
Helper
Posts: 448 Posted: |
Does anybody know if modulestylesheet picks up stylesheets for blocks? If not whats the recommended procedure? -- pnDev.com ~ featuring the PostNuke paid services forum |
|
pnDev
Helper
Posts: 448 Posted: |
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 |