1
tempo
Web Links module settings
  • 2006/1/6 10:43

  • tempo

  • Just popping in

  • Posts: 96

  • Since: 2003/11/12


Hallo my friends and Happy New Year,

i'm using the Web Links module on my site and i have a question about this module.

is there any way to turn off all the RSS/ATOM feeds?

2
tempo
Re: Web Links module settings
  • 2006/1/6 22:26

  • tempo

  • Just popping in

  • Posts: 96

  • Since: 2003/11/12


please, could you tell me how to turn it off? I don't want rss stuff and things like that. I don't understand it! Sorry, for my bad english.

3
allnewtome
Re: Web Links module settings
  • 2006/1/6 23:50

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


It's actually quite easy once you get the hang of it... I'm quite busy these days, but if no-one else answers by Sunday I promise to answer your question!!

4
tempo
Re: Web Links module settings
  • 2006/1/7 7:28

  • tempo

  • Just popping in

  • Posts: 96

  • Since: 2003/11/12


thanks a lot.

i'll waiting.....

5
allnewtome
Re: Web Links module settings
  • 2006/1/8 12:02

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


You need to change modules/weblinks/templates/weblinks_index.html (through the Templates admin menu option).

You just need to remove all references to rss/atomfeed.

Instead of explaining it in boring detail, I'll cut and paste my old and amended versions below. You should be able to see which bits I've removed. If not, just ask. (I have changed all the < symbols to ^ so that it displays properly.)

Hope this helps.


Here's the old one:
Quote:
^{include file="db:weblinks_header.html"}>

^h3>^{$lang_main}>^/h3>

- ^a href="^{$module_url}>/index.php#new_sitelist">^{$lang_new_sitelist}>^/a>^br />
- ^a href="^{$module_url}>/index.php#new_atomfeed">^{$lang_new_atomfeed}>^/a>^br />
^br />

^{if count($categories) gt 0}>
^table border="0" cellspacing="5" cellpadding="0" align="center">
^tr>
^!-- Start category loop -->
^{foreach item=category from=$categories}>
^td valign="top" width="33%">
^{if $category_image_mode == 1}>
^a href="^{$module_url}>/viewcat.php?cid=^{$category.id}>">^img src="^{$module_url}>/images/folder.gif" border="0" alt="category" />^/a>&nbsp;
^{elseif $category_image_mode == 2}>
^{if $category.image != ""}>
^a href="^{$module_url}>/viewcat.php?cid=^{$category.id}>">^{$category.image}>^/a>^br />
^{/if}>
^{/if}>
^a href="^{$module_url}>/viewcat.php?cid=^{$category.id}>">^b>^{$category.title}>^/b>^/a>&nbsp;(^{$category.totallink}>)^br />
^{$category.subcategories}>^/td>
^{if $category.count is div by 3}>
^/tr>^tr>
^{/if}>
^{/foreach}>
^!-- End category loop -->
^/tr>
^/table>
^br />^br />
^div>^{$lang_thereare}>^/div>
^hr />^br />
^{/if}>

^a name='new_sitelist'>^/a>
^h4>^{$lang_new_sitelist}>^/h4>

^{if $links != ""}>
^!-- Start new link loop -->
^{section name=i loop=$links}>
^{include file="db:weblinks_linklist.html" link=$links[i]}>
^{/section}>
^!-- End new link loop -->
^{/if}>

^a name='new_atomfeed'>^/a>
^h4>^{$lang_new_atomfeed}>^/h4>
^a href="^{$module_url}>/viewmark.php?mark=rss">^{$lang_site_rss}>^/a>
(^{$total_site_rss}>) ^br />
^a href="^{$module_url}>/viewfeed.php">^{$lang_atomfeed}>^/a>
(^{$total_atomfeed}>) ^br />
^a href="^{$module_url}>/rss.php" target='_blank'>^img src="^{$module_url}>/images/rss.png" border="0" alt="rss" />^/a>&nbsp;
^a href="^{$module_url}>/atom.php" target='_blank'>^img src="^{$module_url}>/images/atom.png" border="0" alt="atom" />^/a>&nbsp;
^br />^br />

^{if $feeds != ""}>
^!-- Start new atomfeed loop -->
^{section name=i loop=$feeds}>
^{include file="db:weblinks_feedlist.html" feed=$feeds[i]}>
^{/section}>
^!-- End new atomfeed loop -->
^{/if}>

^{include file="db:system_notification_select.html"}>

^br />
^div align='right'>^a href='^{$happy_linux_url}>' target='_blank'>^font size='-1'>Powered by Happy Linux^/font>^/a>^/div>


Here's my amended one:
Quote:
^{include file="db:weblinks_header.html"}>
^table>
^tr>
^td>
^h3>^{$lang_main}>^/h3>

^p>To look through the links, click on the various categories and options listed on the left/below. This page shows the categories, and the most recently-added links. You are welcome to submit new links to the site.
^/td>
^/tr>
^/table>



^{if count($categories) gt 0}>
^table border="0" cellspacing="5" cellpadding="0" align="center">
^tr>
^!-- Start category loop -->
^{foreach item=category from=$categories}>
^td valign="top" width="25%">
^{if $category_image_mode == 1}>
^a href="^{$module_url}>/viewcat.php?cid=^{$category.id}>">^img src="^{$module_url}>/images/folder.gif" border="0" alt="category" />^/a>&nbsp;
^{elseif $category_image_mode == 2}>
^{if $category.image != ""}>
^a href="^{$module_url}>/viewcat.php?cid=^{$category.id}>">^{$category.image}>^/a>^br />
^{/if}>
^{/if}>
^a href="^{$module_url}>/viewcat.php?cid=^{$category.id}>">^b>^{$category.title}>^/b>^/a>
&nbsp;(^{$category.totallink}>

^{if $category.totallink==1}>link)
^{else}>links)

^{/if}>

^br />
^{$category.subcategories}>^/td>
^{if $category.count is div by 4}>
^/tr>^tr>
^{/if}>
^{/foreach}>
^!-- End category loop -->
^/tr>
^/table>

^!-- ^br />^br />
^div>^{$lang_thereare}>^/div> -->

^hr />^br />

^{/if}>



^a name='new_sitelist'>^/a>
^h4>^{$lang_new_sitelist}>^/h4>


^{if $links != ""}>
^!-- Start new link loop -->
^{section name=i loop=$links}>
^{include file="db:weblinks_linklist.html" link=$links[i]}>
^{/section}>
^!-- End new link loop -->
^{/if}>


^{include file="db:system_notification_select.html"}>

^br />
^!-- Powered by Happy Linux: ^{$happy_linux_url}>-->

Login

Who's Online

177 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 177


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits