1
klunstenaar
wflinks title

Hi all,

Someone can maybe help me here...
It is abouth the title of the links as they show to the user.
They are a bit small, and i would like to see them in a bigger font.
But then again i dont wanna change the css, as all my links-fonts will be bigger.

So, someone knows where to find, and what to change in the module himself?

2
McDonald
Re: wflinks title
  • 2007/9/2 18:14

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Open the file templates/linkload.html in a text editor

Add the following at the top:
<style type="text/css">

style>


In the above you can set the fontsize and fontcolor to whatever you like.

Then find this line:
<td align="left"><a href="<{$xoops_url}>/modules/<{$link.module_dir}>/visit.php?cid=<{$link.cid}>&lid=<{$link.id}>" target="_blank"><{$link.title}>a> <{$link.icons}>td>


and replace it with this one:
<td align="left"><a href="<{$xoops_url}>/modules/<{$link.module_dir}>/visit.php?cid=<{$link.cid}>&lid=<{$link.id}>" target="_blank" class="style1"><{$link.title}>a> <{$link.icons}>td>



Update the module and empty your templates_c folder afterwards.

3
klunstenaar
Re: wflinks title

Thx very much McDonalds!!

Im at work right now, but soon as i get home i will try out and tell if it works out for me.

Kluns~

edit - Thx very much!! very good explanation.
Very fast and good support!!
Worked out fine ,just in one time!
i would have never be able to do that myself:)-

4
McDonald
Re: wflinks title
  • 2007/9/4 18:15

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


You also might try this:

<td align="left"><h4 class='even' style="color: #2F5376;"><a href="<{$xoops_url}>/modules/<{$link.module_dir}>/visit.php?cid=<{$link.cid}>&lid=<{$link.id}>" target="_blank"><{$link.title}>a> <{$link.icons}>h4>td>


If you use this line you can skip the css-style part at the top.

5
skenow
Re: wflinks title
  • 2007/9/5 1:14

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Yes - inline styling can be done, but I would prefer to see styling done externally. If you want to change the look of a page and the styling is done inline, you need to worry about editing templates and flushing templates_c. When it is done externally, you can easily edit the css file and the update will be easier to apply - templates_c to flush.

Looking at the work kris_fr has done, you can also create stylesheets and themes that have module-specific classes. So, links in wflinks can be styled differently than links in the rest of your site.

Remember - tags can have multiple classes but only 1 id!

6
McDonald
Re: wflinks title
  • 2007/9/5 4:13

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


I agree with skenow.

The first solution I gave is from the template file as I use it myself.
The second solution is actually based upon another original WF-Links 1.03 template file (linksload).
I've never moderated anything concerning the 'style' of the template files of WF-Links 1.03b and WF-Links 1.03c.

WF-Links is an old module with an old style...

Login

Who's Online

311 user(s) are online (244 user(s) are browsing Support Forums)


Members: 0


Guests: 311


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits