-
AuthorPosts
-
assadniang Friend
assadniang
- Join date:
- February 2007
- Posts:
- 71
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 5
- Thanked:
- 4 times in 1 posts
May 16, 2008 at 4:09 am #128593Hello,
How can I add links ex: (<a href=”http://www….”>This Link</a>) to the front page news?
Whenever I add a link it does not show up in the front page news.Thanks
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 16, 2008 at 10:12 am #249380Hi assadniang !
What joomla version do you use ? 1.5 or 1.0
With joomla 1.5 you open mod_janews_fp.php file , find code section at about line 28:
if (count($rows)) {
$path = JModuleHelper::getLayoutPath('mod_janews_fp', $fp_layout);
if (file_exists($path)) {
require($path);
}
}
change to :
echo "<a href="http://www....">This Link</a>";
if (count($rows)) {
$path = JModuleHelper::getLayoutPath('mod_janews_fp', $fp_layout);
if (file_exists($path)) {
require($path);
}
}
assadniang Friendassadniang
- Join date:
- February 2007
- Posts:
- 71
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 5
- Thanked:
- 4 times in 1 posts
May 16, 2008 at 4:39 pm #249413I want to be able to add the link from the editor, because it is not a static link, it might change from time to time. When I input a link from the editor, and I go to the front page it does not show up. Looks like it strips out the link.
Thanks
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 17, 2008 at 2:48 am #249508Hi assadniang !
If you want it add link from editor , You must add it to all articles Which is select is display front page . Please view image attachment for detail :assadniang Friendassadniang
- Join date:
- February 2007
- Posts:
- 71
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 5
- Thanked:
- 4 times in 1 posts
May 17, 2008 at 6:47 am #249530Hio,
Thank You for your answer, but I don’t think you understand my question.Whenever I add a link inside the editor to show up on the front page module (ja_news_fp), it does not show up on the frontpage. There is a code somewhere that strips the html. I want to bypass that.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 19, 2008 at 1:56 am #249656assadniang !
i have understood this problem , Please send link of your site and admin information via pm , i will check it for you ! I think that have a problem in html link code . -
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by Sherlock 16 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum