Hello
I have applied the default template Top simple navigation + left subnavigation + 1 column which is available in version CMS Made Simple 1.3.1 "Havana"
The test website is at http://82.150.141.253/efca/
Now what I want is to have only the news blocks on the left to be present at the Home page but at any of the other pages. I noticed that this template is using the template Left simple navigation + 1 column in which one can delete the tags for news.
Now I copied all the text of this template and created a new template in which I paste the text. When I do this and link this to a page, the appearance if very ood and look basic. The whole design is gone even though I have exactly copie the text of the template.
So what I need to know is how do I create a new template in which the news block is not present? Apparently I can't just copy and past text.
Benwinie
Changing style sheet to work w/o news
Re: Changing style sheet to work w/o news
To copy a template you need to click the second icon to the right of the name of the template, it should give you a tip of Copy, then you name it hit submit now you have new template with the same CSS etc. as the old one, now to make changes to CSS w/o messing up original one you do the same thing in Stylesheets, this way you have original copy to check later if you need some thing from it...
Guess maybe I should write this in the wiki/docs/handbook...
Guess maybe I should write this in the wiki/docs/handbook...
Re: Changing style sheet to work w/o news
I don't know if this will help the OP, but it's how I arrange things. I have several CMSMS sites that I've designed that have a different home page template. You just create a second template, Home, and if you don't want the news box there, you just don't place a call to it in the template. Flip that around, you probably want a newsbox on the home page, but maybe you don't want it on any of the other pages. So rename your default template (that calls the newsbox code) to Home, then copy it as Default (or secondary or whatever you want to call it), and remove the newsbox code from it.
CMSMS is very powerful that way. I am working with a site now that has a home template that has a couple of separate news boxes for "feature" items. These two newsboxes only appear on the home page.
I also streamline my templates by putting code such as menu code, newsbox code, and other things that I use frequently (like "Back to the Top" code, etc.) in the Global Content Block. And I put the global content block in the template. Just keeps it tidier and it's easier to see what you have since you don't have to scroll through lines of code to see all your site elements.
CMSMS is very powerful that way. I am working with a site now that has a home template that has a couple of separate news boxes for "feature" items. These two newsboxes only appear on the home page.
I also streamline my templates by putting code such as menu code, newsbox code, and other things that I use frequently (like "Back to the Top" code, etc.) in the Global Content Block. And I put the global content block in the template. Just keeps it tidier and it's easier to see what you have since you don't have to scroll through lines of code to see all your site elements.
Submit your site to the We Love CMSMS showcase


