The default Joomla "Read More..." link is fine... but as always is room for improvement. Especially SEO wise, but not only. How about to have a more descriptive and compelling "Read more..." link, complete with the article title for example? Ye-ye-ye, you can right now use sh404SEF for all Joomla flavors, but what if you don't have it?

The first thing to do is to edit the language file to change the default

DEFINE('_READ_MORE','Read more');

with

DEFINE('_READ_MORE','Read more about ');

From there the next step is depending on what Joomla version you use. For the Joomla 1.0.* the solution is simpler:

Search in the  /components/com_content/content.html.php file for the "_linkInfo" function, and inside of that for this line:

$row->link_text = _READ_MORE;

and replace it with something which better satisfies your needs, as

$row->link_text = _READ_MORE.' "'.$row->title.'"';

For Joomla 1.5.* is a bit more work to do... because others where done this before you ;) This functionality is allready implemented allmost everywhere, but there are couple of views where this is missing, and you can make it to work better. The main place where the feature is still missing is the default item's look in the frontpage view. Here's how you can fix it.

Search for /components/com_content/views/frontpage/tmpl/default_item.php and around lines 130-140 you will find the code you will need to modify:

<a href="/" class="readon">

<?php if ($this->item->readmore_register) :
echo JText::_('Register to read more...');
elseif ($readmore = $this->item->params->get('readmore')) :
echo $readmore;
else :
echo JText::sprintf('Read more...');
endif; ?></a> 

Use your imagination - I'm confident, you can do wonders here!

Ahh, what about Joomla 1.7?  - you may ask. It's simpler than you can believe. In article manager, click on Options on top right, and on the very first tab you have an option called "Show Title with Read More". Check it!

0
0
0
s2sdefault
Category: Hacking the core

The professional company id-meneo provides all the information on agence web paris.

If you are looking for air conditioning repair air conditioning repair then visit this page .

If you are looking for testosterone pills then read more .