-
AuthorPosts
-
Benjamin Falcon Friend
Benjamin Falcon
- Join date:
- September 2014
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 20
- Thanks:
- 20
October 28, 2008 at 11:50 pm #134871Can someone tell me what code needs to be changed so that links are not created for JA News Categorys / Sections?
I do not want the Category or Section to be clickable.
Please see the screen shot.
Thank you very much
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 29, 2008 at 9:12 am #277376Hi directcorrespondentlender !
You can remove it following way below :
Open blog_item.php file in modulesmod_janewstmpl folder, find following code section at about line 20 :
<a href="<?php echo $catlink;?>" title="<?php echo trim(strip_tags($catdesc));?>">
<span><?php echo $cattitle;?></span>
</a>
change to :
<a title="<?php echo trim(strip_tags($catdesc));?>">
<span><?php echo $cattitle;?></span>
</a>
3 users say Thank You to Sherlock for this useful post
Benjamin Falcon FriendBenjamin Falcon
- Join date:
- September 2014
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 20
- Thanks:
- 20
October 29, 2008 at 7:22 pm #277445Thank you Hainn84!
I am going to try this out tonight.
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
June 4, 2009 at 8:50 am #306848Hello hainn84,
Editing this file in JA News 1.3.1 for Topaz no longer gets the desired effect of removing the link. In fact I even deleted blog_item.php from the server and it had no effect at all on the link or display, or the function of JA News 1.3.1.
I really need to remove the title link the same as the person who originally posted this thread wanted to do.
Can you help?
Thanks!
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
June 4, 2009 at 4:53 pm #306920Wanna keep this on top in case anyone has any ideas.
Thanksinstantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
June 5, 2009 at 1:10 am #306976bump… 🙂
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
June 5, 2009 at 3:38 pm #307059Daily bump…
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
June 6, 2009 at 7:13 am #307123Come on guys,
Nobody has any ideas?
Just in case it makes a diffrence it’s JA News 1.3.1 for Topaz.Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 6, 2009 at 9:28 am #307126Hi there,
To remove link in the topaz, please open templatesja_topazhtmlmod_janewsblog_item.php, at about line 29, find following code section:
[PHP]<a href=”<?php echo $catlink;?>” title=”<?php echo trim(strip_tags($catdesc));?>”>
<span><?php echo $cattitle;?></span>
</a>[/PHP]and change to:
[PHP]<span><?php echo $cattitle;?></span>[/PHP]
1 user says Thank You to JA Developer for this useful post
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
June 6, 2009 at 7:47 pm #307180Hi JA Developer,
Your method worked but it removed the background color of the title. I then used hainn84’s code and it worked this time because I was in the correct folder because of your pathway post.To remove link in the topaz, please open templatesja_topazhtmlmod_janewsblog_item.php, at about line 29, find following code section:
I was trying to edit blog_item.php in the modules folder because of the path that hainn84 posted. :((
You can remove it following way below :
Open blog_item.php file in modulesmod_janewstmpl folder, find following code section at about line 20 :Thank you hainn84 ,
but a biger thanks to you JA Developer!😀AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 4 voices, and was last updated by instantinlaw 15 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to remove link from JA News?
Viewing 10 posts - 1 through 10 (of 10 total)