CMS TEXT WRAP PROBLEM ON ALL PAGES

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
babak

CMS TEXT WRAP PROBLEM ON ALL PAGES

Post by babak »

Hi,

I thought my problem was limited only to Forum & Blog modules not force wrapping the long none spaced input, but I found out that any form submission that includes a long no spaced characters will print the results on the page as one single row therefor completely messing up the page format and running out the frames...
This is major issue as if someone wants to ruin your page all they have to do is enter below:  1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

I don't know where to go to enforce wrap for all pages. Please test and see if above is happening also in your environment. I'm using the "CSS MENU left 1 Column"
Pierre M.

Re: CMS TEXT WRAP PROBLEM ON ALL PAGES

Post by Pierre M. »

Hello,
babak wrote: running out the frames...
Frames are EVIL(tm). What can you expect ?
babak wrote: This is major issue as if someone wants to ruin your page all they have to do is enter below:  1111111111111111111111111111111111111111111111111111111111
But would you give write access to your site to "someone [who] wants to ruin your page" ?

Please don't use all CAPS in post titles.

Pierre M.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: CMS TEXT WRAP PROBLEM ON ALL PAGES

Post by kermit »

if page content contains a very long string without spaces, it'll break a lot of layouts or just look bad.. even on this very site.

Image

this "problem" isn't specific to cmsms.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
babak

Re: CMS TEXT WRAP PROBLEM ON ALL PAGES

Post by babak »

Is there a way to get around this? How do other sites do it so it forces a wrap/break after certain number of characters?

Dont take the CAPS personal, it doesnt mean I was yelling.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: CMS TEXT WRAP PROBLEM ON ALL PAGES

Post by kermit »

if this is indeed a 'problem' ---

1. a smarty modifier that breaks "long words" -- see here
2. some extra code in whatever form is accepting the public's content that breaks long words at submission time. see here for something to get you started
3. hide the overflow with css  (not the best choice)
4. moderate submissions from the general public
5. educate your users and/or editors
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
babak

Re: CMS TEXT WRAP PROBLEM ON ALL PAGES

Post by babak »

Thanks for the research, i haven't been able to get this working but I'll keep trying....
Locked

Return to “CMSMS Core”