---------- Forwarded message ----------
From: Philippe Jadin <
philippe.jadin@...>
Date: Mar 13, 2007 2:05 PM
Subject: Re: new content types - help!?
To: Matt Hinchliffe <
hinch@...>
Hello,
Sorry for the late reply.
You should edit your config file, and add something lie this :
$data['content']['your_gallery_type']['allowed_items']['record']['your_photo_type']='true';
where your_gallery_type is the name of your gallery content type
and your_photo_type is the name of your photo type
Hope that helps
On 3/9/07, Matt Hinchliffe <
hinch@...> wrote:
> Hi there,
>
> Firstly thanks for a very neat, fast and lightweight CMS and one i am
> very impressed with in terms of modifications and expansions - I have
> already made a few templates and made everything XHTML/CSS valid with a
> little extra PHP and also a gallery page template which i hope to make
> better when i get to grips with what's below...
>
> I am struggling with adding content types. As described on the site i
> followed your tutorial on book pages however i cannot seem to get it to
> work. The table in the database is created (i checked with phpmyadmin),
> and i create a config.php file however nothing seems to change and i
> cannot add a book. Looking at the code i guess there is meant to be a
> row in the Page table entitled 'allowed_items' so i created one...but
> that doesn't work either so now i'm contacting you! I can't see that i
> am doing anything wrong (it seems simple enough) and i've refreshed the
> editor many times but still i cannot find anything to do with books
> anywhere =S
>
> Any help is appreciated and thanks again.
>
> Hinch
>
_______________________________________________
Thinkedit.org, a simple yet powerfull CMS
Thinkedit-user mailing list
Thinkedit-user@...
https://lists.berlios.de/mailman/listinfo/thinkedit-user