Hi Webcaster, your help is greatly appreciated. I tried for a few hours to get the SD Databaser method to work without success. My first problem was trying to apply it to the Article ID field in "Search and list's" Item, that didnt work at all so i tried to apply it to the Article ID field in Intro in the "form and content type" using:
SELECT left (fulltext,200) as fulltext FROM #__content WHERE id = *value*; (Column as value=fulltext)
This kept giving me an sql error but from the error i could see the *value* was succesfully replaced with the ID number. in the end i went back to the drawing board and found this article;
http://www.seblod.com/v2/forum/Content-Types--Forms/38622-How-to-limit-the-size-of-article-introtext.html
Just incase this above url ends up 404ing like so many other links are that I have come across in the Seblod2 Forum im going to repeat unleash.it method here in the new v3 forum...
Since I am using the Seb_Minima template for my search result ITEMS and for my Form INTRO but Seb_blog for my forms i place this into the templates/seb_blog/config.php file;
<?php function trim_trim($input, $length, $ellipses = true, $strip_html = true) { //strip tags, if desired if ($strip_html) { $input = strip_tags($input," *list your html tags to strip here*"); } //no need to trim, already shorter than trim length if (strlen($input) <= $length) { return $input; } //find last space within length $last_space = strrpos(substr($input, 0, $length), ' '); $trimmed_text = substr($input, 0, $last_space); //add ellipses (...) if ($ellipses) { $trimmed_text .= '...'; } return $trimmed_text;} ?>
And call it in my search results here templates/seb_minima/positions/XX/item/mainbody.php
using <?php get('field_name')->value, 230, $ellipses = true, $strip_html = TRUE);?>
I hope this helps someone else save the many hours I have spent and thank you again for your help Webcaster.