I'm new at Links SQL, and I've been trying to find "sub site_html_templates.pl" to change fonts of the categories. I've searched my files and GT forums but can't find the file location or folder. Please help.
I'm new at Links SQL, and I've been trying to find "sub site_html_templates.pl" to change fonts of the categories. I've searched my files and GT forums but can't find the file location or folder. Please help.
Good to talk to you again. I found the file thanks to Payoo and I was able to change the font. However, there continued to be quite a bit of space between the categories (vertically). In addition, the categories all centered underneath each other (I want them to align left). I was played around further and removed the <dl> and </dl> tags. The large vertical space then was reduced to what I would consider normal and looks ok. However, my questions are:
1. What do I need to do (exactly) to the subcategory.html in order to left align my categories. 2. Is there a negative consequence of removing the <dl> and </dl> tags? 3. How do I increase by a couple of spaces the horizontal distance from the catagory names and number of links? For example: Business and Economy(302) change to Business and Economy (302)
1. What do I need to do (exactly) to the subcategory.html in order to left align my categories.
I think you have to actually modify a .pm file, cos the main category table alignment stuff is *not* template based. I can't remember which file needs editing though.
Quote:
3. How do I increase by a couple of spaces the horizontal distance from the catagory names and number of links? For example: Business and Economy(302) change to Business and Economy (302)
I was trying to find the global that pugdog wrote for this a while back. Otherwise, you could try something like this in subcategory.html;
Code:
new_cat_title =>
sub {
my $Title = shift; $Title =~ s,\(, \(,g; return $Title;
}
Then call it with something like <%new_cat_title($Title)%> to get the modified title field.
Try removing following code from your subcategory.html
<%-- This is only useful if you have added an Image column to your category table --%> <%if Image%> <td width=30 align=center valign=top> <img src="<%build_images_url%>/default/<%Image%>" border=0></td> <%else%> <td width=25> </td> <%endif%>
<%-- This is only useful if you have added an Image column to your category table --%> <%if Image%> <td width=30 align=center valign=top> <img src="<%build_images_url%>/default/<%Image%>" border=0></td> <%else%> <td width=25> </td> <%endif%> ------------------------------------------------
I don't have this in my subcategory.html file so this won't work for me ...your second suggestion of:
There wasn't anything there that could do the job that I needed also.
However, the suggestion of how to increase the spaceing btw categories worked. I am pulling out my hair however trying to figure out how to align left my categories...you would think that you would have a choice on initial setup to do this. Anymore ideas on how to do this and where to go?
Can you give a url of a category page so we can see. I'm not sure why your categories are centered but this should be simple to change - it must either be in category.html or subcategory.html.