Gossamer Forum
Quote Reply
Splitting long texts
I would like to write a global which does the following:

Take the contents of a field <%Content%>
Extract the first 100 complete words - or even better upto the first (or second) paragraph ie. upto a <P> tag.
Output that selection.
Remember that this selection has been displayed.

Next time this script/global is called, it would take the following paragraph (or words 100 - 300 for instance) and output just these.

Yes, what this would amount to is being able to make a long text FLOW from one part of a page display to another! Or perhaps there's a far simpler way?
Any suggestions welcome. Thanks in advance
Charly
Quote Reply
Re: [charly] Splitting long texts In reply to
This would really be better in the Links SQL Globals/Plugins forum Wink

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates