PDA

View Full Version : Removing the "Submit Link" Link from the Search Ba


Anonymous
08-25-2005, 10:03 AM
Is this possible? I've tried editing several of the .tpl files and I looked at some of the .php files and I can't seem to figure it out.

On a semi-related topic: How do I decrease the font size of the links in the search bar? I've tried editing my CSS page, and some of the .tpl files, but that doesn't seem to work either.

Thanks, in advance, for help.

yktan
08-25-2005, 01:47 PM
Hi plushu,

To remove the Submit link, open templates\top_bar.tpl and delete the line:
Content visible to registered users only.

As for the font for the links, play around with "path" and "submit" in your css.

Regards,
YK

kickass
08-26-2005, 01:52 AM
Content visible to registered users only.

Do be warned that following the above directions will remove it from ALL directory pages, since all pages in the directory call the navigation in the top_bar.tpl.

tonyb
08-27-2005, 04:17 PM
Also be warned that if you dont offer visitors any way to add a link to your directory, it wont grow! I would have thought that the "submit link" part of the code was one of the most important parts - without it, this is just a script to show a selection of sites. You lose all development prospects and all avenues of growth. However, obviously if you have another method of adding new information to your site, then this is not a problem.

Was just very curious why anyone would want to do this.

kickass
08-27-2005, 04:49 PM
Though there are some pages it could conceivably be desirable to omit it from, since they're not category pages (like the submit page, or the top hits page) the only way to do this selectively is to make multiple top_bar.tpl files with slightly different names and slightly different configurations of that top bar and call the right variation from the submit.tpl, for instance. But since most pages use main.tpl, there are very few pages where you can do this successfully.

And it's possible that plushu plans to populate his/her directory manually without outside help. I can think of a couple situations where that would be the best use of the script. That's the beauty of these scripts is there are many ways to use them . . . and some would say abuse them.