maximum input value

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.
Post Reply
andrewvideouk
Forum Members
Forum Members
Posts: 155
Joined: Thu Aug 20, 2020 10:49 pm

maximum input value

Post by andrewvideouk »

Hi

it's posbile to have a maximum value on title input field on the pages and other places.

At the moment I have a smaty shoring title stings but ony problem I have that people puting in long titles and not realsing that the tilte is cut short.

Thank you.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: maximum input value

Post by DIGI3 »

You'd need to customize the template, or perhaps add a note in with a module like ECB2.
Not getting the answer you need? CMSMS support options
andrewvideouk
Forum Members
Forum Members
Posts: 155
Joined: Thu Aug 20, 2020 10:49 pm

Re: maximum input value

Post by andrewvideouk »

Yes I guess you need to customize the template. I not sure what to change and where.

Only place I think is the tempatate is in modules/CMSContentManager/templates/admin_editcontent.tpl and can't see where to see the title input plus what I need to change.

I have copied the CMSContentManager into module_custom folder

Your help would be great.

Thank you.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: maximum input value

Post by DIGI3 »

It can be done with a (slightly hacky) |replace in that template. The forum rules don't allow posting code changes to the core so I won't put it here, but feel free to ping me in Slack and I'll give you the code snippet.
Not getting the answer you need? CMSMS support options
Post Reply

Return to “CMSMS Core”