Page 2 of 2

Re: Additional Content Modules

Posted: Mon Jun 13, 2005 12:10 pm
by fadum
This is the error

Fatal error: Smarty error: [in db:support line 90]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 580) in /xxpathxx/public_html/lib/smarty/Smarty.class.php on line 1088

Re: Additional Content Modules

Posted: Mon Jun 13, 2005 3:22 pm
by fadum
Been playing around and i still get the error if i remove the normal content tag, so im limited to 2 extra blocks which is such a shame as these blocks would be excellent for me if i could add more.

I did notice i can add the same block more than once on a page, just only 2 unique

Thanks

Re: Additional Content Modules

Posted: Mon Jun 13, 2005 4:15 pm
by Ted
As far as I know, there is no good reason why only 2 would work...

I'll look into it.

Re: Additional Content Modules

Posted: Mon Jun 13, 2005 4:25 pm
by fadum
wishy wrote: As far as I know, there is no good reason why only 2 would work...

I'll look into it.
Cheers Wishy, ive been designing with these blocks and now its come to sudden halt, i hope you can find something.

Re: Additional Content Modules

Posted: Tue Jun 14, 2005 3:03 pm
by fadum
Just upgraded to beta4, still wont work

Re: Additional Content Modules

Posted: Wed Jun 15, 2005 10:39 am
by fadum
Hi can anyone help with this please?, it would be very much appreciated as im stuck with a site and can not continue untill i can add more content blocks

Many Thanks in Advance

Re: Additional Content Modules

Posted: Wed Jun 15, 2005 1:36 pm
by Ted
Ok, bug is fixed and committed.

For the daring...

Open up lib/contenttypes/Content.inc.php

Look for:

Code: Select all

$count = count($matches);
and change to:

Code: Select all

$count = count($matches[0]);
That'll do the trick.

Re: Additional Content Modules

Posted: Wed Jun 15, 2005 1:41 pm
by fadum
excellent thanks! works fine now.

Thanks again, life saver :)

Re: Additional Content Modules

Posted: Wed Jun 15, 2005 7:18 pm
by fadum
Sorry the error still shows in preview, no big deal but thought you should know

Re: Additional Content Modules

Posted: Wed Jun 15, 2005 9:45 pm
by Ted
Now that's strange.  I'll take a look.

Re: Additional Content Modules

Posted: Mon Aug 29, 2005 10:59 am
by freshprofil
I really liked thisone.. but how can you keep the conent there if you navigate to another page? see: http://gallery.thefagerlands.com/cmsmad ... istekunder for the green box to have text, and http://gallery.thefagerlands.com/cmsmad ... age=visjon for the blue box.. but when you navigate to another page, it dissipears.. any ideas?