Page 1 of 1

Help with menu

Posted: Sun Nov 12, 2006 9:29 pm
by swathes
I would like to print out a short synopsis of each child page for a section.  I've seen in the documentation that the description field has been used for this.  However, I need even longer text; this is restricted.

Can someone tell me how to get the actual content to appear under a child - I can do the rest myself, hopefully!

Please, please help!

Re: Help with menu

Posted: Mon Nov 13, 2006 1:40 pm
by swathes
Anybody?  :(

Re: Help with menu

Posted: Mon Nov 13, 2006 2:20 pm
by Dr.CSS
Are you trying to get the first few lines of content from each child like a summary?

Re: Help with menu

Posted: Mon Nov 13, 2006 2:54 pm
by swathes
Thats what I am after Mark - but I saw an example of a menu with summary beneath in the documentation.  This used the description field.  However, this is character limited.  Ideally, i'd like to be able to get the first few lines from the actual page content.

Re: Help with menu

Posted: Thu Nov 16, 2006 12:59 pm
by swathes
Is there anyway to remove the character limit on the description? They may well be a way to fudge what I am trying to do now.

Re: Help with menu

Posted: Thu Nov 16, 2006 1:39 pm
by cyberman
swathes wrote: Is there anyway to remove the character limit on the description?
If I'm right you have to go with your phpmyadmin in your database to table cms_content field content_name. Currently the type of this field is varchar and the length 255. Change it to tiny-/medium- or longtext and a lenght you wish ... havent't tried yet.

Re: Help with menu

Posted: Thu Nov 16, 2006 2:23 pm
by swathes
I think the actual form has a character limit - or does it get this value from the database?

Re: Help with menu

Posted: Thu Nov 16, 2006 3:01 pm
by cyberman
I'm wondering - can't found some limitation in addcontent.php  ??? ...

Re: Help with menu

Posted: Thu Nov 16, 2006 3:29 pm
by swathes
OK, thanks for the tip.  Will take a look and get back to you with the result, or to grovel for more help! :)

Re: Help with menu

Posted: Thu Nov 16, 2006 7:00 pm
by swathes
Doesnt seem to matter what I change it to...  Doesnt have any effect.  Any ideas?!

p.s  Not used phpMyAdmin much - after the change, do I have to do anything else?

Re: Help with menu

Posted: Fri Nov 17, 2006 5:39 am
by cyberman
swathes wrote: do I have to do anything else?
No ...

Re: Help with menu

Posted: Fri Nov 17, 2006 9:13 am
by swathes
Ok - now I dont know what to do!  I've looked through templates, but still cannot see any reference to maxlength.

Can someone please tell me how to remove the maxlength restriction on the Content > Page > Description (title attribute) field?!

Re: Help with menu

Posted: Fri Nov 17, 2006 7:36 pm
by Dr.CSS