How to limit LENGTH of gallery names & Image names?
Using Jamroom
Done and done and done! :D
Michael and Paul- I have learned SO MUCH from this discussion, I'm so THRILLED.
FIRST: I've finally learned to find and work with more of the form designers in my site. This has been a mystery that I've awkwardly stumbled my way through for a long time.
Once I opened and modified the Gallery title form designer to limit gallery names to a certain maximum length (in both 'create' and in 'update') as Michael laid out for me above,
I didn't stop there.
The light bulb came on in my head, and I proceeded to go into many form designers all over my site to limit the LENGTH members can type in for: new Image titles, for Youtube and Vimeo video titles, for Soundcloud and audio clip titles, for new Group Discussions, for new Forum discussions, for Event titles, for new Group names, and even for new member profile names!
At last- no more members with names like: Dr. Eugene F. EagleEye Merryweather Jr. Seriously annoying! Oh Boy can't believe I didn't catch onto this at least six months ago. But hey, I guess my brain wasn't yet ready for the revelation back then. ("You can't HANDLE the truth!" lol)
and as if that weren't enough....
SECOND: the Truncate thing. Went in my active skin's jrGallery_index.tpl and applied Paul's suggestion above and I saw how it worked nicely for the gallery titles on my site's /gallery index page grid of all member photos. Soooo... I went further still on my /Gallery index page and applied the truncate also to the Image titles (in addition to the gallery titles) AND to the member profile links as well under each thumbnail. now they all take up reasonable amounts of space before ending in "..." and their links still work great.
"Dr. Eugene F. EagleEye Merryweather Jr." s hotlink name no longer takes up 3 damn lines under each of his gallery thumbnail images adding unwanted giant spaces all over the page because he's a Name Hog-- instead he's now "Dr. Eugene F. Eag..." but the link to his profile still works fine. Hah!
So-
1) I've learned a TON about using the form designers....
2) AND about putting reasonable length limits on input names and labels from my members-- ALL OVER my site for all kinds of items.
3) PLUS I was able to truncate three different text/link items on my Gallery index page and make that page look way neater,
...which was the actual modest goal I had when starting this thread. :D
But it became so much more and really helped me move an important step forward in editing and modifying my site.
Thanks to the JR Team for your patient and good natured help on this forum. It does actually have a productive result, way more often than you know!
updated by @strumelia: 06/10/16 07:16:17PM