Author Topic: More sections on a content page  (Read 4051 times)

Elon

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
    • View Profile
More sections on a content page
« on: April 25, 2008, 07:23:21 AM »
Hello Chris,

Is it possible to add more sections to a content page. In some cases four sections is just not enough...

Kind regards,
Elon Roozeboom

HandsomeWeb

  • SOS Developer
  • Administrator
  • Full Member
  • *****
  • Posts: 85
  • Karma: 2
    • View Profile
    • SOS Webpages
Re: More sections on a content page
« Reply #1 on: April 25, 2008, 10:54:55 AM »
In the current version you can add as many sections as you want by using the HTML button in the section editor.

All sections headings are just <h1> tags.  So you can make one section display as if it were several sections by clicking the "HTML" button in the text editor.  Do something like this:
Code: [Select]
<p>This is the orgininal section text.</p>
<h1>An Additional Heading</h1>
<p>This is an additional paragraph</p>
<h1>Still Another Heading</h1>
<p>This is yet another section of text.</p>

An additional image would have to be included with image tags.
Chris
http://www.soswebpages.com
http://www.handsomeweb.com
http://www.handsomewebservices.com

HandsomeWeb

  • SOS Developer
  • Administrator
  • Full Member
  • *****
  • Posts: 85
  • Karma: 2
    • View Profile
    • SOS Webpages
Re: More sections on a content page
« Reply #2 on: April 25, 2008, 02:59:07 PM »
I think I'll add that to my list of modules to develop.
Chris
http://www.soswebpages.com
http://www.handsomeweb.com
http://www.handsomewebservices.com

Elon

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
    • View Profile
Re: More sections on a content page
« Reply #3 on: April 26, 2008, 05:44:50 AM »
Thanks for the tip for extra sections, but i have no idea how to add an image (just like in a default section).

Can you please help me with a code-example?

Kind regards,
Elon

HandsomeWeb

  • SOS Developer
  • Administrator
  • Full Member
  • *****
  • Posts: 85
  • Karma: 2
    • View Profile
    • SOS Webpages
Re: More sections on a content page
« Reply #4 on: April 27, 2008, 05:04:40 PM »
1. First upload an image by clicking "Website Images".
2. Copy the uploaded pictures name after the uplaod.  It will look something like this:
Code: [Select]
http://www.example.com/uploads/1209340727.jpg3. Then when editing the paragraph section like above in this thread change the code like this:
Code: [Select]
<p>This is the orgininal section text.</p>
<h1><img style='float:right' src='http://www.example.com/uploads/1209340727.jpg' alt='' />An Additional Heading</h1>
<p>This is an additional paragraph</p>
<h1>Still Another Heading</h1>
<p>This is yet another section of text.</p>
There are many things you can do with the style.
Chris
http://www.soswebpages.com
http://www.handsomeweb.com
http://www.handsomewebservices.com

Elon

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
    • View Profile
Re: More sections on a content page
« Reply #5 on: April 28, 2008, 12:29:16 AM »
Thanks for your help. it works great!