Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Looks like I need some custom work

Quote Reply
Looks like I need some custom work
I'm using the script to build includes that I'm puling into existing static html pages so I need to remove all instances of where the Links SQL puts up links to its build pages. Looks like I've removed as much as I can in the templates so I'm guessing that I need nph-build.cgi and search.cgi modified but really not sure.

This is what I'm trying to do.

On my new page
http://cleoslinks.com/links/new/pages/New/
I need to remove the title_linked from displaying or at least being linked.

On my search results page. Do a search for "a" as I only have a handful of test links in my database.
http://cleoslinks.com/cgi-bin/links/cgi/search.cgi
I need to remove the category from this page or at least unlink it.
---
I'm a very boring lady, very, very boring.
Quote Reply
Re: [Cleo_] Looks like I need some custom work In reply to
To remove title_linked just remove <%title_linked%> from your templates.

To remove category_results from search.cgi just remove <%category_results%> from your templates.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...

Last edited by:

webmaster33: Sep 29, 2004, 6:41 AM
Quote Reply
Re: [webmaster33] Looks like I need some custom work In reply to
There is no <%title_linked%> in the template for new.html or search.html, that is the problem as I don't see anyway to remove this in the templates.
---
I'm a very boring lady, very, very boring.
Quote Reply
Re: [Cleo_] Looks like I need some custom work In reply to
Please post example code what is disturbing you...

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] Looks like I need some custom work In reply to
In my New.html template the only thing I have in the template is <%link_results%>

This is the results page
http://cleoslinks.com/links/new/pages/New/
I need to remove the title_linked from displaying or at least being linked.
---
I'm a very boring lady, very, very boring.
Quote Reply
Re: [Cleo_] Looks like I need some custom work In reply to
Did you try to edit link.html?

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...

Last edited by:

webmaster33: Sep 29, 2004, 7:27 AM
Quote Reply
Re: [webmaster33] Looks like I need some custom work In reply to
This is what I have in link.html
<ul>
<li type="circle">
<span class="type">
<%Type%>
</span>
<a class="link" href="<%URL%>">
<%Title%>
</a><%if Description%>
<span class="descript">- <%Description%>
</span><a class="detailed" href="<%detailed_url%>">DETAILS</a>
<a class="nw" href="<%URL%>" target="_blank">NW</a>
<%endif%><%if isNew%>
<img src="http://cleoslinks.com/adult-links/webgr/new.gif" alt="New" border="0">
<%endif%>
</ul>
---
I'm a very boring lady, very, very boring.
Quote Reply
Re: [Cleo_] Looks like I need some custom work In reply to
you need to remove <a ...> </a> parts.
Keep <%Title%>.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [Cleo_] Looks like I need some custom work In reply to
You needed to use the <%loop link_results_loop%> Smile

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] Looks like I need some custom work In reply to
looping is for something else... Tongue

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] Looks like I need some custom work In reply to
Actually what Andy did with my new page is exactly what I needed. :)

I was up until 3 am trying to do what he did in a few minutes. Unsure

Still need to resolve the issue with the linked category being displayed on my search results page.
---
I'm a very boring lady, very, very boring.
Quote Reply
Re: [Cleo_] Looks like I need some custom work In reply to
Let me know what Andy did with your new page?

You said, you want to "remove the title_linked from displaying or at least being linked".

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...

Last edited by:

webmaster33: Sep 29, 2004, 7:28 AM
Quote Reply
Re: [webmaster33] Looks like I need some custom work In reply to
This is all that is in new.html template

<%if link_results_loop%>
<%loop link_results_loop%>
<%include link.html%>
<%endloop%>
<%endif%>

I don't understand the above at all but I do see it is calling up my link.html which is setup the way I want.
---
I'm a very boring lady, very, very boring.
Quote Reply
Re: [webmaster33] Looks like I need some custom work In reply to
In Reply To:
Let me know what Andy did with your new page?

You said, you want to "remove the title_linked from displaying or at least being linked".

I think what Cleo was trying to say, was that the "breadcrumb" that goes with the new.html and search_results.html template, couldn't actually be removed directly from the templates. All I did, was make use of the loop, which meant you could choose not to show the breadcrumb :)

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] Looks like I need some custom work In reply to
breadcrumb? What you mean by that?

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] Looks like I need some custom work In reply to
Quote:
breadcrumb? What you mean by that?

title_linked => breadcrumb => Home: Category: Sub-Category: Another Subcat

...etc

Smile

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] Looks like I need some custom work In reply to
Yes, I see now what he wanted.
There is a title_linked added in Build.pm
$output .= $title;
which is resulted into <%link_results%>.

Yes, but this is only caused if Admin/Build Options/build_new_gb is turned on...
He should just turn off that and category grouping, thus the category title linked, should go away... Cool

So even if looping works, it seems to be unnecessary this case.
If he also wants to ignore date grouping, then in this case looping may be valid solution.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...

Last edited by:

webmaster33: Sep 29, 2004, 9:30 AM
Quote Reply
Re: [webmaster33] Looks like I need some custom work In reply to
In Reply To:
Yes, I see now what he wanted
I'm a she BTW
---
I'm a very boring lady, very, very boring.
Quote Reply
Re: [Cleo_] Looks like I need some custom work In reply to
Oh, I'm sorry, miss Smile
I should have guess from Cleo(patra).

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...