Hi All
I am having a slight problem with the short_desc global and that is i would like to display the companies description upto 300 characters under there link, EASY eh! just change the:
And theres the problem, when i build i get the descripton that breaks my tables and flys throught the page giving me a bottom scroll bar. E.G:
Description:
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah.......
What i am trying to achive is have the short_desc show it in 2-3 lines like this:
Description:
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah......
I just Can't figure out how to do this, i have tried editing the global, not working.
Can you give me some help.
Thanks
Kirk
--------------------------------------------------
Life isn't like a box of chocolates ... it's more like a jar of jalapenos. What you do today might burn your ass tomorrow.
I am having a slight problem with the short_desc global and that is i would like to display the companies description upto 300 characters under there link, EASY eh! just change the:
Code:
length $desc <80 and return $desc; to length $desc <300 and return $desc;And theres the problem, when i build i get the descripton that breaks my tables and flys throught the page giving me a bottom scroll bar. E.G:
Description:
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah.......
What i am trying to achive is have the short_desc show it in 2-3 lines like this:
Description:
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah......
I just Can't figure out how to do this, i have tried editing the global, not working.
Can you give me some help.
Thanks
Kirk
--------------------------------------------------
Life isn't like a box of chocolates ... it's more like a jar of jalapenos. What you do today might burn your ass tomorrow.