Template Creation Question

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
JakeStarr
New Member
New Member
Posts: 2
Joined: Fri Jan 24, 2020 11:40 pm

Template Creation Question

Post by JakeStarr »

I am currently looking for the right CMS to use for the small organization I work with now. I have a full HTML template, and honestly I just need something simple. Long ago I used WolfCMS which literally was as barebones as it came, but simple to have specific elements (i.e., headers and footer elements) on all pages, and edited in one single backend section, instead of page by page.

My question is, how are templates actually configured in CMSMS? How does the code look on the page, how are certain things referenced, etc? I have looked online for examples, but come across none. What I would like to be able to do is make the pages fairly modular, so there is continuity, but each is able to have it's own feel as far as content goes.

I appreciate the community's assistance and direction on this.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1076
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Template Creation Question

Post by DIGI3 »

Templates in CMSMS look mostly like HTML. How much you customize with Smarty is up to you - there's a few essential tags you need to add such as {content} but the rest is treated like any html file.

A sample of how you can build child templates for different pages while sharing a common parent template can be found here: https://cmscanbesimple.org/blog/the-pow ... gn-manager

There's quite a few other examples on Rolf's site as well, showing more advanced customization options. See https://cmscanbesimple.org/blog/base-cm ... d-metatags for example.
Not getting the answer you need? CMSMS support options
JakeStarr
New Member
New Member
Posts: 2
Joined: Fri Jan 24, 2020 11:40 pm

Re: Template Creation Question

Post by JakeStarr »

Ok this is definitely what I was looking for. One follow up to this, within the CMSMS platform, if I had a section like the example:

Code: Select all

      <nav>
         <div class="c_full">
            <div class="grid_12">{Navigator}</div>
         </div>
      </nav>
Would I have a section within the CMS to edit the Navigator piece individually, and it update across all sites using that, Smartly markup?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3304
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Template Creation Question

Post by velden »

I've been working on a tutorial to get up and running with a very basic website. It will get you started and may answer a few of your questions.

You can have a sneak preview here ;-)
https://docs.cmsmadesimple.org/tutorial ... troduction

Note the tutorial may be changed/(re)moved in the future.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1076
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Template Creation Question

Post by DIGI3 »

To answer your question, yes Navigator templates are editable Smarty/HTML templates.
Not getting the answer you need? CMSMS support options
domaindig
New Member
New Member
Posts: 2
Joined: Wed Oct 28, 2020 11:45 am

Re: Template Creation Question

Post by domaindig »

velden wrote: Fri Jan 31, 2020 7:25 pm I've been working on a tutorial to get up and running with a very basic website. It will get you started and may answer a few of your questions.

You can have a sneak preview here ;-)
https://docs.cmsmadesimple.org/tutorial ... troduction

Note the tutorial may be changed/(re)moved in the future.
I've been following this tutorial and wondering where the navigation went. Checking back, I keep hitting the submit button after following the tutorial to the letter and nothing happens. With all of the previous steps I got a confirmation. The design, the template, each responded and the sample text shows in the browser at the front end, http://domaindig.com. But the navigation submit link appears to be dead. Am I doing something wrong or has something changed since the tutorial was written?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3304
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Template Creation Question

Post by velden »

I'm not sure what you mean with 'the navigation submit link'.

The navigator is a not more than a template (in Design Manager) and a {Navigator} tag in your page template.

So I'm not sure where the submit fails.
Post Reply

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