I'm using joomla 2.6 but it should also work with earlier versions:
1. Get access to your joomla install
2. Copy 'default.php' file from
components/com_content/views/article/tmpl/
to
/templates/<YOUR_TEMPLATE>/html/com_content/article/
Depending to you template you have to create the path structure '/html/com_content/article' and extend your template definition file by "<folder>html</folder>"
3. Open the file with you favourite editor and do a search for the line <li class="edit-icon">
4. Insert after the line you have found above:
<a href="<?php echo JURI::current()."?language_edit=1" ?>"><img src="YOUR_BUTTON.jpg" alt="GTranslate"/></a>
Your code snipplet should now look like this:
- Code: Select all
...
<li class="edit-icon">
<a href="<?php echo JURI::current()."?language_edit=1" ?>"><img src="YOUR_BUTTON.jpg" alt="GTranslate"/></a>
<?php echo JHtml::_('icon.edit', $this->item, $params); ?>
...
Keep in mind to maintain the used default.php file when updating joomla in case it's touched.
For the clicky generation ...
hf