How to Port a template over to CMSMS

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Shaolin
Forum Members
Forum Members
Posts: 16
Joined: Wed Aug 22, 2012 3:44 pm

How to Port a template over to CMSMS

Post by Shaolin »

Hi,

I have recently found an opensource template that I would love to use but i dont have the slightest idea how to go about porting it into CMSMS since there is no .xml file or no template.txt file.

Any ideas or help would be greatly appreciated.

regards

Shaolin
rooon
Forum Members
Forum Members
Posts: 113
Joined: Mon Dec 05, 2011 4:40 pm

Re: How to Port a template over to CMSMS

Post by rooon »

Hi Shaolin,

An example is included in the file (not debugged)

Have fun :D Rooon
Attachments
Template.zip
Template files
(11.01 KiB) Downloaded 181 times
Shaolin
Forum Members
Forum Members
Posts: 16
Joined: Wed Aug 22, 2012 3:44 pm

Re: How to Port a template over to CMSMS

Post by Shaolin »

Hi Rooon,

Many thanks for your reply and zip file. I have followed your instructions. To iterate, I have done the following:
  • Put all files except slider images into /uploads/template
  • Put all slider images into /uploads/images
  • Created a template under layouts ==> templates and pasted the contents of "website-xhtml" into it.
  • Created a Menu under layouts ==> menu manager and pasted the contents of "website-menu" into it.
  • Created a stylesheet under layouts ==> Stylesheet and pasted the contents of "website-css" into it.
  • Associated my new stylesheet with the new template
  • Made the new menu the default menu.
Upon loading the website I now get the following error:

Code: Select all

ERROR: at line 127 in file C:\XAMPP\htdocs\cmsmadesimple\lib\smarty\sysplugins\smarty_internal_templatebase.php:

Message:

Unable to load template module_db_tpl 'MenuManager;website-menu'
What would you suggest regarding this error? Thank you once again for taking the time to help me with this, it is VERY much appreciated.

kindest regards

Shaolin
rooon
Forum Members
Forum Members
Posts: 113
Joined: Mon Dec 05, 2011 4:40 pm

Re: How to Port a template over to CMSMS

Post by rooon »

Hello Shaolin,

It seems you have done it right.

You are developing local with Xampp and you have installed cmsms in a subdir /cmsmadesimple

1. In the template is a line starting with:
{menu template="website-menu" ......}
Please check the name of your menu in the Menu Manager. This must be: website-menu

2. If this is not the solution, please let me know the version of cmsms you are using?

Roon
Shaolin
Forum Members
Forum Members
Posts: 16
Joined: Wed Aug 22, 2012 3:44 pm

Re: How to Port a template over to CMSMS

Post by Shaolin »

And we have lift off!!!!

I had named the menu something other than that referred to in the template. Upon naming the menu correctly the website loaded, birds chirped, bells rung out and all was good in the world!

I can't thank you enough for your help with this.

Cheers

Shaolin

PS. You rock.
rooon
Forum Members
Forum Members
Posts: 113
Joined: Mon Dec 05, 2011 4:40 pm

Re: [SOLVED] How to Port a template over to CMSMS

Post by rooon »

Great that it works.
CMSms has many more modules/tags you can use in your template.

Have fun !!
Roon
Post Reply

Return to “Layout and Design (CSS & HTML)”