Forums » Installation

Making too many 'body-sections'?

elfneedsfoodbadly
IRELAND
2009-11-09 21:03:03
Permalink Post
 

in the '.../sample/style.css', there are a series of class definitions (i hope that's the right term)

  1. body.section-1 { }
  2. body.section-2 { }
  3. body.section-3 { }

for 'Sections' created sequentially from the Settings page. as far as i can see, if i erase an old Section (which firebug tells me is class 'section-4') and create a new one, it doesn't get named 'section-4' but skips to the next 'free' space, which could be 'section-30' if i've been crazy enough to create and then delete 29 others ...

is there a way to 'reset' the counter (guessing here it's doing something with the overall database), or do i have to manually update numbers in style.css to take account of this?

(there may also be a CSS way to style all sections but that actually isn't exactly what i'm after)

as ever, amazing tool and thanks to anyone who can throw some light here

elfneedsfoodbadly.org

ilferroud
ITALY
2009-11-09 22:51:02
Permalink Post
 

you can easily change the section of a new page created through your database.
take a look to the ndxz_sections and ndxz_objects.

elfneedsfoodbadly
IRELAND
2009-11-09 23:51:38
Permalink Post
 

thanks liferroud.

i found it via my host's control panel but it's looking well outside my expertise ...

is there a danger if i renumber sections inside the database that it will cause a problem at my site's backend?

ilferroud
ITALY
2009-11-10 00:08:41
Permalink Post
 

It was too much for me too but I tried and I didn't destroyed my website, it's pretty simple and if you'll maka a mistake the Db will tell you.

Showing 1 - 4 of 4 posts in Forum > Installation > Making too many 'body-sections'?
 

You need to be logged in to post.