Page 1 of 1

Sectionheader CSS call troubles :(

Posted: Tue Mar 01, 2011 3:50 pm
by JI29
hello everyone,

Kinda new to CMSMS, installed fine etc etc,

i have gone to convert a site from static HTML/CSS to integrate CMSMS, so far no hitches etc one, started the menu system on the left hand side of the page, a total of 13 links and 3 text headings.

i integrated the pages into it no problem so i create one and new a new one appears underneath or in alphabetical order in the list.

I understand i have to use sectionheaders to categorise the pages under the three headings, Can anyone give me some advice please?
http://www.kpwcdt.co.uk/

as you can see, i have tried creating a sectionheader inside the page list, but having problems setting it up?

Also please dont judge my coding, only started 3 days ago :)

many thanks
Joe ;D

CMSMS ver 1.8.1 - PHP & MySql is unknown, minimum versions as i am with 1&1 web host.. the worst!! :o

Re: Sectionheader CSS call troubles :(

Posted: Tue Mar 01, 2011 4:07 pm
by Dr.CSS
Not sure what it should look like but you need to clean up the code then you can try styling the li.sectioheader as if it was an a link...

This needs > on the end...

<div class="header"

No such thing...

<padding - "300" px>

Re: Sectionheader CSS call troubles :(

Posted: Wed Mar 02, 2011 3:41 pm
by JI29
Hi,

the <div class="header" should have > on the end but when i do, it causes the flash movie to stop working, think i might use SWFobject instead of the AC_flashcontent script.

I will clean up the code and then style the li.sectionheader.

what i was aiming for was 3 categories, and the pages to appear under each one but i wanted control over which ones go where.

They appear multiple times as i'm calling 3 different menu's which i shouldn't but it was proof of concept and now i have removed <padding = "300"px> which isnt needed.

Thanks for your help

Re: Sectionheader CSS call troubles :(

Posted: Wed Mar 02, 2011 8:21 pm
by Dr.CSS
For flash or whatever I use the object tag which is very nice, it says stale but is still working, no updates as it doesn't need any, your still missing the > on the end and I don't see the flash anyways...

http://dev.cmsmadesimple.org/projects/objecttag

Put it in your plugins folder then you can go to extensions > tags and click the name of it to see Help on how to use it and parameters to use with it...

Re: Sectionheader CSS call troubles :(

Posted: Thu Mar 03, 2011 9:58 am
by JI29
Hi,

Wow that was a lot simpler than i thought,

{object src='uploads/movie.swf' height='300' width='300' class='flashplayer'}

thank you :)

Now to clean up my coding ;D

Re: Sectionheader CSS call troubles :(

Posted: Mon Mar 07, 2011 7:34 pm
by Dr.CSS
You don't 'have to' use sectionheaders for sections, I have used internal links to point to the first child page under a section...

If you don't want a content type page you can make section page, make first child page, go back to section page and turn it into an internal link pointing the the first child page...