What I am wanting to do is edit my category blog layout so that:
- The description to be limited to x amount of characters (on the fly without having to insert a read more break in the article)
- Remove all formatting from the article text.
Then when the full article is opened all the full text and formatting is present.
Could someone please tell me which files I need to modify/duplicate please, would really appreciate it explained as simply as possible as this is the first time I have dove into overrides :)
I have created an overwrite of the file blog_item.php using the built in function within my template section within joomla but the contents of this file are:
<?php
/**
* @package yoo_master2
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
// include config and layout
$base = dirname(dirname(dirname(__FILE__)));
include($base.'/config.php');
include($warp['path']->path('layouts:'.preg_replace('/'.preg_quote($base, '/').'/', '', __FILE__, 1)));
is it just pointing the script to the original joomla file for blog_item.php?
Thanks Luke