- Moderated by:
- Support
-
- rank:
-
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. -
- rank:
-
Helper
- registered:
- February 2006
- Status:
- offline
- last visit:
- 21.11.06
- Posts:
- 257
removetag from your xanthia templates, master.htm, home.htm,..Code
<!--[modulestylesheet]-->
--
-
- rank:
-
Professional
- registered:
- December 1969
- Status:
- offline
- last visit:
- 10.01.08
- Posts:
- 1631
gerkynet
remove
tag from your xanthia templates, master.htm, home.htm,..Code
<!--[modulestylesheet]-->
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? -
- rank:
-
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 -
- rank:
-
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 -
- rank:
-
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 -
- rank:
-
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
