Skip to main content
Topic: Disable "Read More | Write Comment" from Articles? (Read 2306 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Disable "Read More | Write Comment" from Articles?

How do you disable the message "Read More | Write Comment" from the bottom of Article pages?

Re: Disable "Read More | Write Comment" from Articles?

Reply #1

Link please ;)
~ SimplePortal Support Team ~

Re: Disable "Read More | Write Comment" from Articles?

Reply #2

I guess it's a SimplePortal question, maybe @Spuds or @[SiNaN] ?
Bugs creator.
Features destroyer.
Template killer.

Re: Disable "Read More | Write Comment" from Articles?

Reply #3

If you are actually using the Articles module, this should do it:

themes/default/PortalArticles.template.php
Code: (Find and Remove) [Select]
 <div class="sp_article_extra">
 <a href="', $article['href'], '">', $txt['sp_read_more'], '</a> | <a href="', $article['href'], '#sp_view_comments">', $txt['sp_write_comment'], '</a>
 </div>

If you are using Board News block, which some people call articles, this should do it:

sources/subs/PortalBlocks.subs.php
Code: (Find and Remove) [Select]
 <div class="righttext">', $news['link'], ' ', $news['new_comment'], '</div>

Quote from: emanuele – I guess it's a SimplePortal question, maybe @Spuds or @[SiNaN] ?
cough You are a SimplePortal developer yourself, if I may remind you. :P

Re: Disable "Read More | Write Comment" from Articles?

Reply #4

 emanuele is not really expert of the UI
 emanuele likes to break where he can make the biggest amount of disasters. O:-)
Bugs creator.
Features destroyer.
Template killer.

Re: Disable "Read More | Write Comment" from Articles?

Reply #5

Well... I just wanted to disable it via css, because he may think twice about it and change his mind ;) But I guess that killing the php logic will do the trick as well ;D
~ SimplePortal Support Team ~