Hi Natascha, I've created my STK theme module, and follow all steps in the
previous mentioned tutorials, but my resources are not been uploaded to my
Magnolia webapp project. Also I see the source code of your blue theme module,
but it also did not work.
Here are my steps/resources in detail:
- In the descriptor file, i have this pointing to my theme version handler file:
[code]
<versionHandler>net.company.projects.setup.DemoThemeThemeVersionHandler</versionHandler>
[/code]
- The Theme version handler file is located in the package
net.company.myprojects.setup, and this is its source code:
[code]
public class DemoThemeThemeVersionHandler extends ThemeVersionHandler {
@Override
protected List<Task> getExtraInstallTasks(InstallContext ctx) {
final List<Task> extraInstallTasks = new ArrayList<Task>();
extraInstallTasks.add(new ThemeInstallTask(true));
//also i tested using this: extraInstallTasks.add(new
ThemeInstallTask(false));
return extraInstallTasks;
}
}
[/code]
- My bootstrap file is located in
src/main/resources/mgnl-bootstrap/theme-demoTheme/, and it is named:
config.modules.standard-templating-kit.config.themes.demoTheme.xml. Here i've
replicated your blue bootstrap file.
- Also I have located the resources files of the theme module in the paths:
src/main/resources/templating-kit/themes/demoTheme/css
src/main/resources/templating-kit/themes/demoTheme/img/bgs
src/main/resources/templating-kit/themes/demoTheme/img/icons
src/main/resources/templating-kit/themes/demoTheme/js
Please I need your support, I've tried all steps/paths (as far as i know), and
the theme module resources are not loaded to my webapp project.
Thank for your time.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=0ed96574-6e80-4d2f-b660-2b7bec5ded7d
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------