Gossamer Forum
Home : Products : Gossamer Links : Discussions :

format text in Linkactions

Quote Reply
format text in Linkactions
on my site I use this to highlight text 'red + bold'

<span class="stylerb"><strong>FREE</strong></span>

I would like to use this to format the text "Submitted by" within the linkactions area of link.html

Only the text 'Submitted by'

How can I do that?

Thanks
Colin Thompson
Quote Reply
Re: [colintho] format text in Linkactions In reply to
Have you tried doing this?

Code:
<span class="stylerb"><strong>
Submitted by: <%LinkOwner%><br />
</strong></span>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] format text in Linkactions In reply to
I've tried using the formatting but it had no effect ??

I used it on this part of the code: <span class="stylerb"><strong><%escape_html LinkOwner%></strong></span>

Full Code = Submitted by: <%if UserURL ne 'http://'%><%if isValidated eq 'Yes'%><a href="<%UserURL%>"><%endif%><%if highlight%><%set equery = escape_html $query%><%set eURL = escape_html $UserURL%><%Links::Tools::highlight($eURL, $equery)%><%else%><%escape_html UserURL%><%endif%><%if isValidated eq 'Yes'%></a><%endif%><%else%><%escape_html LinkOwner%><%endif%>
Colin Thompson
Quote Reply
Re: [colintho] format text in Linkactions In reply to
So you were doing it like this?

Submitted by: <%if UserURL ne 'http://'%><%if isValidated eq 'Yes'%><a href="<%UserURL%>"><%endif%><%if highlight%><%set equery = escape_html $query%><%set eURL = escape_html $UserURL%><%Links::Tools::highlight($eURL, $equery)%><%else%><%escape_html UserURL%><%endif%><%if isValidated eq 'Yes'%></a><%endif%><%else%><span class="stylerb"><strong><%escape_html LinkOwner%></strong></span> <%endif%>

I don't see why that wouldn't work.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] format text in Linkactions In reply to
Thats what I tried, latest link on the home page of my new site shows this: Submitted by: Your Name Here

I was expecting / hoping for this Your Name Here

Any ideas?
Colin Thompson
Quote Reply
Re: [colintho] format text in Linkactions In reply to
> Any ideas?

Mmm sorry, afraid not.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!