Go Back   Mosets Community > Archives > Mosets Hot Property 1.0 > Discussions, Troubleshooting and Problems

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-30-2008, 12:46 AM
Dehaw Dehaw is offline
Mosets'd
 
Join Date: Oct 2005
Location: Scotland
Posts: 357
Default Limit Description on sub listing pages

Hi Guys,

Trying to locate the code, my understanding is it should be edited within the home/tmpl/defaultproperty.php file, but can't see where, any ideas on this would be appreciated.

Of course an admin facility for this would be better ;-)


UPDATE:

ok i worked tis out i basically added

Code:
&& $this->fields[$key]->name <> 'intro_text'
to line number 29 of the above file so it reside within the same array as the others, then simply added

Code:
<?php echo substr($this->p->intro_text, 0, 250).'...'; ?>
on line 29 which will provide a 250 character limit.

Derek
__________________
Follow us on Facebook
Following us on Twitter

Last edited by Dehaw; 08-30-2008 at 12:54 AM.
  #2  
Old 09-02-2008, 01:32 PM
dknight dknight is offline
Mosets Team - Lead Developer
 
Join Date: Dec 2004
Posts: 26,685
Default

or you can use the 'Read more' plugin and insert the plugin where you want the summary to end.
__________________
Lee
Lead Developer
Mosets.com - Quality Joomla! Solutions
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +8. The time now is 09:18 PM.

Copyright © 2005-2010 Mosets Consulting

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.