two or more editable regions

5 posts by 2 authors in: Forums > CMS Builder
Last Post: January 14, 2010   (RSS)

Re: [vyskocil] two or more editable regions

By Dave - January 10, 2010

Hi vyskocil,

Can you attach the viewer that works and the one that doesn't to this thread so we can take a look?

Thanks!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] two or more editable regions

Thanks Dave

attached are the two files. the 2-4grade.php has the viewers in the right hand column that are working. the 2-4-2grade.php is the same file but with an additional viewer added in the body section. both files are currently uploaded to the webiste.

Jerry
Attachments:

2-4grade.php 5K

2-4-2grade.php 7K

Re: [vyskocil] two or more editable regions

By Dave - January 11, 2010

Hi Jerry,

I see the problem. Tablenames (or rather variable names) aren't allowed to start with a number. We've added some error checking for this in the latest version (2.01).

The easiest fix is to replace all instances of this:
$2_4_grade

with this:
$a2_4_grade

Can you try a search and replace for that and let me know if it fixes it? Thanks!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] two or more editable regions

Thanks Dave,

That did the trick. I changed the DB names and all is well