Forum .LRN Q&A: Re: New theme released

Collapse
25: Re: New theme released (response to 1)
Posted by Matthew Coupe on
hi,
I'm currently trying to create 2 new themes for my dotLRN site and can't seem to 'enable them in the db' as Giancarlo put it in this thread from last year.

I've added them to the defaults.sql and ran the file using psql but that didn't seem to work. I've created the files and put them under the correct names in the new-portal/themes folder.

The themes are called ncc-students and ncc-acp and this is what I've put in the default.sql file.

perform portal_element_theme__new(
''<span>#</span>new-portal.ncc_students_theme_name#'',
''<span>#</span>new-portal.ncc_students_theme_description#'',
''themes/ncc-students-theme'',
''themes/ncc-students-theme''
);
perform portal_element_theme__new(
''<span>#</span>new-portal.ncc_acp_theme_name#'',
''<span>#</span>new-portal.ncc_acp_theme_description#'',
''themes/ncc-acp-theme'',
''themes/ncc-acp-theme''
);

Any ideas what I may be doing wrong or have missed out?

Matthew