3374 Posts in 947 Topics by 848 members
|Go to End|
13 May 2009 at 11:32pm
i copied cms/templates/PageCommentInterface.ss to themes/mytheme/templates/Includes but the site is still using cms's one
If i remove cms/templates/PageCommentInterface.ss everything is OK. It looks like mytheme ss file has not higher priority
other templates working fine from mytheme folder.
15 May 2009 at 12:11pm
You should keep your paths the same
Eg cms/templates/PageCommentInterface.ss -> Should go to themes/yourtheme/templates/PageCommentInterface.ss not in the Includes folder
15 May 2009 at 8:07pm
i would like to have structure of themes like this: themes/travelpoint/templates/Modules/cms/ and here same files as in cms/templates... With this construction arent working "root" teplates, only these included in folders (layout, includes...)... if i place content of cms/templates/ folder into themes/travelpoint/templates/Modules/cms/templates/ everything is OK.
is this bug or behaviour?
15 May 2009 at 8:54pm
I have never tried this but normally when you want to theme modules you create a 'yourtheme_modulename' folder in themes. SSViewer looks for this folder first for the file, if it doesn't exist then it defaults to the modulename/ folder so I believe you *could* possibly create a yourtheme_cms/ folder then inside that have css/ images/ templates (just like the root theme) and then inside templates have the templates you wish to override.
Most of the time however people just keep the cms templates they wish to override in the root theme.
15 May 2009 at 9:09pm
hmm, so i should create themes/mytheme_cms/... and here place custom stuff?
sounds good too.
15 May 2009 at 9:14pm
working - great, and makes much more sense... thanks will
|Go to Top|