Help with menu

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
swathes

Help with menu

Post 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!
swathes

Re: Help with menu

Post by swathes »

Anybody?  :(
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Help with menu

Post by Dr.CSS »

Are you trying to get the first few lines of content from each child like a summary?
swathes

Re: Help with menu

Post 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.
swathes

Re: Help with menu

Post 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.
cyberman

Re: Help with menu

Post 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.
Last edited by cyberman on Thu Nov 16, 2006 1:41 pm, edited 1 time in total.
swathes

Re: Help with menu

Post by swathes »

I think the actual form has a character limit - or does it get this value from the database?
cyberman

Re: Help with menu

Post by cyberman »

I'm wondering - can't found some limitation in addcontent.php  ??? ...
swathes

Re: Help with menu

Post 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! :)
swathes

Re: Help with menu

Post 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?
Last edited by swathes on Thu Nov 16, 2006 8:33 pm, edited 1 time in total.
cyberman

Re: Help with menu

Post by cyberman »

swathes wrote: do I have to do anything else?
No ...
swathes

Re: Help with menu

Post 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?!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Help with menu

Post by Dr.CSS »

Locked

Return to “CMSMS Core”