Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Update Templets

Quote Reply
Update Templets
Hello, I have a question,
I want to update my templets with new ones, I want to load them up to the templet folder, and I have to put a new links.cfg and site_html_templets.pl in the admin dir, But I am affraid that I loose my links and hits, Do I have to watch out for something or can I just load them up?

Thank you in advance,

Maurice

Quote Reply
Re: Update Templets In reply to
Uploading templates won't affect links and hits.

Uploading links.cfg and site_html_templates.pl won't affect links and hits either.

Why do you need to upload those two files as well?......Have you modified them?

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Update Templets In reply to
Hi thanks for your reply,

The two files are modifyd they came with the templet,
But big Panic, Everything is fine but when I click on a Catagory The links are gone, do you know what the problem is?

Quote Reply
Re: Update Templets In reply to
Well uploading a new template wouldn't remove the links.

Also the links won't disappear just like that unless you did someting wrong and rebuilt.......did you rebuild?

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Update Templets In reply to
Oh what it may be is the tags.

Make sure they are on seperate lines.

Don't do something like....

<%Tag%><%Tag2%><%Tag3%>

Do.....

<%Tag%>
<%Tag2%>
<%Tag3%>

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Update Templets In reply to
I rebuid and staggered, Where can I find the <%Tag%> ?

Quote Reply
Re: Update Templets In reply to
I didnt mean <%Tag%> exactly I was using it as an example........look at how they are laid out in the new template you added and put them on seperate lines!

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Update Templets In reply to
OK they are in place,
The Catagorys are shown to, when I click on a catagory the links are not there?

Quote Reply
Re: Update Templets In reply to
you have to rebuild first!

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Update Templets In reply to
Did Rebuild no luck :-( The templet is the IWS.com templet.
Funny thing is when I search for a link it is there

Quote Reply
Re: Update Templets In reply to
Are you sure the links were showing before you uploaded the template?.....Maybe it wasn't working previously.

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Update Templets In reply to
Yes they worked fine I have links 2.0 running for about 6 months everything was working fine

Quote Reply
Re: Update Templets In reply to
If you email me your ftp and admin page details then I will take a look for you.

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Update Templets In reply to
Ok I am at work now and going home, mail me at Maurice@igr.nl

Thank you for helping me out!

Maurice

Quote Reply
Re: Update Templets In reply to
I FOUND IT You where right Paul, The Tags where not in proper place I over looked it.

But It is getting better and better If I want to Rate a site I get a "Unkown Tag: title".

Do you know what caused it?




Quote Reply
Re: Update Templets In reply to
change <%title%> to <%Title%> in rate.html

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Update Templets In reply to
You are Amazing :---D

OK now I get "Please rate the link <%Title%> between one and ten, with ten being tops."

Where the <%Title%> stands the urls should be there

I am sorry that I am such a pain in the ass but I am not fammiliar with this kind of Programming.. ;)

Thanks ;)

Quote Reply
Re: Update Templets In reply to
Change <%Title%> to <%URL%>

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Update Templets In reply to
Thanks, Everything is OK :-D
one thing do (ohh no not again) when I want to search on something in the search and it is not there I get a :"Unkown Tag: category"

this is the last problem I promise ;)

Maurice

Quote Reply
Re: Update Templets In reply to
Here are some options ->

1) Add the category tag as a global
2) Remove it from the search_error.html template


Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Update Templets In reply to
It worked, only when you search on a query you get 30 hits and when you click on "page 2" it says " Your search returned... An Error: Please enter one or more keywords."

Quote Reply
Re: Update Templets In reply to
Try using the default template files.

Regards,

Eliot Lee
Quote Reply
Re: Update Templets In reply to
That is one option, but [<<]1 2 3[>>] is produced by a subroutine isn't it?......so it may be something to do with that also.

By the way Maurice:
How on earth did you end up with all these problems in the first place?

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Update Templets In reply to
I will try the Defauld templet thanks Eliot
haha that is a good one Paul,
The templets where edited in dream weaver and what I had to do is load them up, it turned out that the code was messed up and I got these problems, But thanks to you it is up and running now. only the little search thing.
It is produced by a subroutine so it is quit difficult I think

Thanks

Maurice