Menu linking

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"
Locked
Muzzy

Menu linking

Post by Muzzy »

OK, here we go.

I've now got the backend up and running with what I need and I'm now starting on the frontend design using my own layout built in xhtml/css.

How do I link my menu to the relevant pages stored in the database?
How do I store my layout/template/css files within the databse?
And can I delete all the default templates etc that came with the installation files?

Thank you.
Mike.
cyberman

Re: Menu linking

Post by cyberman »

Hi Mike,
muscroft wrote: How do I link my menu to the relevant pages stored in the database?
How do I store my layout/template/css files within the databse?
And can I delete all the default templates etc that came with the installation files?
Are you sure you've read and understand documentation completely?

http://wiki.cmsmadesimple.org/index.php/Main_Page

1. You don't need to create a link from menu to pages - you must only create a page and you will have a new entry in menu. CMSms will do it for you - CMS made it simple  ;D.

2. Go in admin panel to Layout menu. There you will found submenus like templates and stylesheets. There it's possible to create new templates and stylesheets. You must only save it in admin panel - CMS made simple put it in your database  ;D.

3. Yes, you can - but sometimes it's very helpful (for me too) to look how some special things are defined in default installation.
Muzzy

Re: Menu linking

Post by Muzzy »

Hi and thanks.

Do you mean that I put the xhtml code for my design into the admin panel somewhere and the css file that I have created?

If so, where exactly do I paste my code?

Mike.
cyberman

Re: Menu linking

Post by cyberman »

muscroft wrote: Do you mean that I put the xhtml code for my design into the admin panel somewhere and the css file that I have created?
Yes  ;D.
If so, where exactly do I paste my code?
template - menu layout, submenu template, link "add new template" -> paste
css - menu layout, submenu stylesheets, link "add new stylesheet" -> paste

To the end you have to connect your template with your stylesheet.

menu layout, submenu template, click the first (yellow-red) button with css inside

On next page choose your stylesheet from dropdown menu and save it.

ATTENTION - in template in head area you must call the tag {stylesheet}.
Muzzy

Re: Menu linking

Post by Muzzy »

Hi.
Many thanks, now becoming clearer, but -
ATTENTION - in template in head area you must call the tag {stylesheet}.
Could you let me know the full syntax for this, or do I simply put {stylesheet} in the head without any name etc.

Cheers my friend.
Mike.
cyberman

Re: Menu linking

Post by cyberman »

muscroft wrote: Could you let me know the full syntax for this, or do I simply put {stylesheet} in the head without any name etc.
{stylesheet} is a tag (like many other) you found it in plugin directory as function.stylesheet.php or in admin panel in menu extensions - tags. In admin panel there's a help available too.

But {stylesheet} tag is very simple to use - put it only in head area. CMS made simple will translate it to
Have fun ...
Muzzy

Re: Menu linking

Post by Muzzy »

Excellent.

Thank you for the great help. And fun! I certainly am having fun, this is the best system I have ever tried to use.
The finished site will be for my church and we wanted a system that was easy to use and enable loads of people to own their own pages etc. We found what we needed with CMSMS.

Thanks friend.
Mike.
cyberman

Re: Menu linking

Post by cyberman »

muscroft wrote: this is the best system I have ever tried to use.
Please talk about it - happy users are the best public relation for our CMS  :).
Locked

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