MenuCoranto Docs
Coranto LinksPmWiki Home |
Snip Fields by l0rdph1l06-01-2005 by l0rdphi1 On this page... (hide) Is this for you?If you want to snip fields (cut off any characters after x number of characters) you have two choices: three dots or no dots. Three dots methodIf you want to place three dots after the text that's left after snipping use the code below in your news style. <Snip #: Field: NAME> Where # is the number of characters you want to keep and NAME is the name of the field you want to snip. No dots methodDon't want three dots? Okay, place the code below at the top of your style. <PerlCode> And somewhere after the above code insert the code below. <PerlCode> Again, # is the number of characters you want to keep and NAME is the name of the field you want to snip. Note: If you want to snip multiple fields using this method ONLY reuse the very last code example. Further readingOther methods are discussed in the forums. Do a search for "snip AND methods" and you will find relevant threads. |