-
AuthorPosts
-
dennuz Friend
dennuz
- Join date:
- April 2009
- Posts:
- 37
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
January 21, 2010 at 8:17 pm #147867On the original front page of JA ERICA there are 4 “read more” stories. When I click on either of these the don’t open a new page, but the artice is shown on the same (front) page. Anyone knows how to get rid of this?
Anonymous
Moderator
JA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
January 26, 2010 at 3:03 am #330384Hi dennuz
Do you want to open articles on a new window? To solve it, please open modulesmod_janewslighttmpldefault.php file, find following code section:
if ($showreadmore) echo "<a href="$link" class="readon">".JTEXT::_("READ MORE...")."</a>";
and change to:
if ($showreadmore) echo "<a href="$link" class="readon" target="_blank">".JTEXT::_("READ MORE...")."</a>";
dennuz Friend
dennuz
- Join date:
- April 2009
- Posts:
- 37
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
January 26, 2010 at 7:26 am #330421Hi, when I do this I get;
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /storage/mijndomein/mydomein.nl/modules/mod_janewslight/tmpl/default.php on line 45
—-My line 45 is
[PHP]if ($showreadmore) echo “<a href=”$link” class=”readon” target=”_blank”>”.JTEXT::_(“READ MORE…”).”</a>”;[/PHP]
Anonymous
Moderator
JA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
January 27, 2010 at 10:07 am #330591I am sorry.
Please change to:
if ($showreadmore) echo “<a href=”$link” class=”readon” target=”_blank”>”.JTEXT::_(“READ MORE…”).”</a>”;
dennuz Friend
dennuz
- Join date:
- April 2009
- Posts:
- 37
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
January 27, 2010 at 7:09 pm #330651Thanks for your help but that didn’t solve it either…
The first time I click on the READ MORE it works, but the second time or third, or fourth it doesn’t work anymore.
Another thing, there is no deafult.php in /modules/mod_janewslight
only in modules/mod_janewslight/tmpl … that is the one I have been changing. -
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by
Anonymous 15 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum