Re: default codeWelcome to the Ringlink-open mailing list, John! John Evans wrote: I want to change the default code to the rings what file carries the code? Or better yet can this be done? Of course it *can* be done... There is a subroutine "defaultcode" in ring.pm with the Perl code for the default ring code. However, I would advise against modifying it. There is a great chance that you make mistakes if you don't really understand how the program works, and changes in the program files make also future upgrades more difficult. If you want to apply a common template for multiple rings, I would suggest that you simply copy it into the textarea field for editing the ring code, and edit it manually from there. And will this code work for the default?
No. The reasons will become obvious when you look at the Perl code. A couple of other comments: - The "bgcolor" attribute is deprecated, and may be overridden on webpages that use CSS for setting the background. - You include a "Join" link in the code that takes you directly to the form for adding a new site. I would advise against that, since then people may submit sites without having read the terms for joining the ring. It should be sufficient to have a "Join" link at the ring home page. - You include all the available navigation options. Personally I think it's a great chance that so many options just make the average visitor confused. Most people who navigate the web aren't webring experts. ;-) / Gunnar
|