Gossamer Forum
Home : Products : Links 2.0 : Customization :

Modification question

Quote Reply
Modification question
I have the script running and want to modify
it to look more like my site.
Which is the best way to do this.
The instructions are quite unclear to me.
I can use templetes or I can use the footers
and headers block?
If I edit the site_html.pl, will it show on
all the pages?
How do I replace the Black Name Banner at the
top with my own image?
Thanks for any help....

------------------
Chazhound's Free Dog Page
chazhound.com
Quote Reply
Re: Modification question In reply to
To edit Links 2.0 to make it look more like your site you can use the Templates from the Admin url (or ftp, etc) that will let you change the output of each page .. ie; add.html, add_error.html, etc.. and you can edit Links.css which is basically the main template for items suck as the black title car you want to change.

Hope that helps..

Rick Smile
Quote Reply
Re: Modification question In reply to
Grrr.. I hate typos.. (At least when I do them) Frown

suck = such
car = bar
Quote Reply
Re: Modification question In reply to
Thanks for the direction Rick.
I tried a couple of templete changes
and it looked good. I am not sure
where in the links.css to remove or
replace the long dark banner at the top.
How does one do this?
Also the templete work good for the constant
look I want at the top, but I want to have
one banner at the bottom and have a easy
way to change it using one page or templete.
Is this possible?
Thanks again very much.
I am good at html but am at the basics with
cgi and css. I read everything current here and picked up alot, but I can't find a string
which explains the basics of getting started.


------------------
Chazhound's Free Dog Page
chazhound.com
Quote Reply
Re: Modification question In reply to
Do you have an example of what you are talking about?

The way css works is that in the templates there is a call for the location of link.css in <head></head>. Then in various places in the templates there will be tags like:
Code:
<h1 class="home"><%site_title%></h1>

Then you go in link.css and find the appropriate section to modify:

Code:
/* This is for main headers on all pages *apart* from the home page */
h1 {
margin-left: 40px;
font-size: large;
font-weight: bold;
border: none;
color: #FFFFFF;
background: #000000;
font-family: "verdana", "arial", "geneva", sans-serif;
}

/* This class is for the main header on the Links home page */
h1.home {
margin-left: 40px;
font-size: x-large;
font-weight: bold;
border: none;
color: #FFFFFF;
background: #000000;
font-family: "verdana", "arial", "geneva", sans-serif;
}

Out of these two classes in link.css, the second one would be the one that:

Code:
<h1 class="home"><%site_title%></h1>

is assigned to.

An example of what the first one would be like this:

Code:
<h1><%site_title%></h1>

I have not been using css the final version of Links v2.0 has been released. There just is too many differences when users access your site with different browsers. I am kind of rusty in differentiating which is which but I hope this gives you a direction...

Hope this helps,
elms
Quote Reply
Re: Modification question In reply to
Thanks so much for the information.
You have given me alot to work with.
It is starting to make sense.
Quote Reply
Re: Modification question In reply to
OK MY PROBLEM,

I changed ALL the templates with HTML editors and I VIEW HTML Source.. THOSE FIELDS LIKE :

<%tile_link%> ETC... Look the same...

After I upload and build pages!... it added Another FOOTER. you ll see is 2 footers!

I m LOST.. and it s messy.. SO I NEVER EVER USE LINKS 2.0... confused me...

If I make modification What Exactly FILES do I NEED TO MODIFY??? Please give me tips V2.0

Thanks
Quote Reply
Re: Modification question In reply to
TriJason,

You will get better answers to your questions and problems if you do two things:

1. Stop posting your problems/questions in other threads. Start a new thread and state your problem as clearly as you can without a lot of editorial comments. Explain what you tried, what happened, and any error messages you received. Post samples of the code you used if you can but don't post entire scripts... just the relevant parts.

2. Don't come across as being so excited and, especially, don't bad-mouth a script like Links v2.0 just because you don't understand it. The script is fine and works fine when configured properly. It is your lack of understanding about how it works that seems to be the real problem. That is something we can help you overcome if you would follow paragraph 1. above.