I made a simple mod to the display of the article:
It now shows a "back to category index" link on top of the article-page.
If anyone is interested I will post the changes here.
Back to categorie Index link in article
Moderator: Thorsten
Hi,
it would be cool if you can post your patch here.
bye
Thorsten
it would be cool if you can post your patch here.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Mod for V1.5 rc5:
Artikel.php:
Around line 62 find this line:
ADD this line before:
Around line 102, you'll find:
Add after this line:
Artikel.tpl:
line 1:
add this line directly after:
language_en.php, our your own language add following line:
That should do the trick, let me know if you run into any problems.
Hope this is helpful to some people.
Artikel.php:
Around line 62 find this line:
Code: Select all
$writePrintMsg = '<a href="#" onclick="javascript:window.print();">'.$PMF_LANG["msgPrintArticle"].'</a>';
Code: Select all
$writeBack = '<a href="'.$_SERVER['PHP_SELF'].'?'.$sids.'action=show&cat='.$currentCategory.'">'.$PMF_LANG['msgBack'].'</a>';
Code: Select all
"writeThema" => stripslashes(getThema($id, $lang)),
Code: Select all
"writeBack" => $writeBack,
line 1:
Code: Select all
<h2 id="article_category">{writeRubrik}</h2>
Code: Select all
<div style="float:right;">{writeBack}</div>
Code: Select all
$PMF_LANG["msgBack"] = "<< Category Index";
Hope this is helpful to some people.