Hi
There's a page with an articles list, and you must press "Read more..." to read the whole article's text. How can I remove this link and make article's header (the h1 tag) be a link to a whole text?
Hi
There's a page with an articles list, and you must press "Read more..." to read the whole article's text. How can I remove this link and make article's header (the h1 tag) be a link to a whole text?
?????????? ?????????? ?? PHP: ?????? ShopCMS, ?????? Joomla
Create a copy of your template "mod_article_teaser.tpl" that you'll find under "system\modules\frontend\templates" and place the copies in the "templates" folder in your TL root.
Or, use the "Templates" module in back end to edit the template (which I strongly recommend).
Edit the template and locate this line...
...and change it to...Code:<h1><?php echo $this->headline; ?></h1>
If you don't want to show the "Read more..." link after the teaser, just remove the line...Code:<h1>readMore; ?>"><?php echo $this->headline; ?></h1>
Code:<p class="more">readMore; ?>"><?php echo $this->more; ?> <span class="invisible"><?php echo $this->headline; ?></span></p>
OK thank you very much for the solution!
?????????? ?????????? ?? PHP: ?????? ShopCMS, ?????? Joomla
Bookmarks