PDA

View Full Version : How do I remove "Submit RSS" link on front page?


prodos
03-20-2006, 07:28 AM
Howdy!

On my site, all RSS feeds will be submitted by Admin.

So I'd like to remove the "Submit RSS" link from the front page.

How can I do this, please?

Is there a file I can go to where I can comment out this section? (I mean, rather than deleting it forever.)

Is there any problem with removing this link? I can't see that there would be any problem, but I thought I'd better ask.

Thanks for any advice on this issue!

:)

Boby
03-20-2006, 08:13 AM
Try this out:

{* RSS feed icon *}
{if $smarty.const.ENABLE_RSS and (!empty($qu) or !empty($category.ID) or $p)}
|
<a href="{$smarty.const.DOC_ROOT}/rss.php?{if $qu ne ''}q={$qu}{elseif $p}p={$p}{else}c={$category.ID}{/if}">
{$smarty.const.DOC_ROOT}/images/xml.gif
</a>
{/if}

Boby

PS: Look for this in templates/top_bar.tpl

prodos
03-20-2006, 12:21 PM
Try this out:

{* RSS feed icon *}
{if $smarty.const.ENABLE_RSS and (!empty($qu) or !empty($category.ID) or $p)}
|
<a href="{$smarty.const.DOC_ROOT}/rss.php?{if $qu ne ''}q={$qu}{elseif $p}p={$p}{else}c={$category.ID}{/if}">
{$smarty.const.DOC_ROOT}/images/xml.gif
</a>
{/if}

Boby

PS: Look for this in templates/top_bar.tpl


Thanks for responding.

But I don't understand what would be changed in the above excerpt of script in order to remove or comment out the link that says "Submit RSS" on the front page.

However, just below this section of script I see what looks like it might work.

I will try to change this ...

{* Submit Link *}
{l}Submit RSS{/l} ({$smarty.const.DOC_ROOT}/submit.php)
|


To this ...


<!-- {* Submit Link *}
{l}Submit RSS{/l} ({$smarty.const.DOC_ROOT}/submit.php)
| -->



... Yep. That seems to work fine.

If you disagree, please let me know. Thanks.