Gossamer Forum
Home : Products : Links 2.0 : Customization :

Re: Adapting Descrition field

Quote Reply
Re: Adapting Descrition field In reply to
In Reply To:
where can I find the code or html to change the appearance of the form in the add/ modify admin pages.
I only use the templates. If you are using templates, you can edit the html pages in the templates folder....add.html, link.html, modify.html, etc. using a text editor.

If you are not using templates, then I believe you select the Edit Templates menu option in the Build section of the Links control panel. Or I guess you could edit the site_html.pl file directly. Someone who knows more about this may have a better recommendation for you.

Find $build_use_templates in links.cfg. Set to = 1 to use templates.

In Reply To:
I change the input type of a field- say the title to a 1000 character field
That is probably way too large for a title. The title is just a brief description of your link. In general keep it around 75, + or - 25.
In Reply To:
how can I get to display correctly, or does the script detect this automatically
Nothing is automatic. You control it thru the HTML.

In Reply To:
can I change a field to a binary field so I could display a picture within my description
Well, you may not be able to put the binary in the description but it can be part of the page. In the Resources section there is a MOD called Priority Logo Links and Regular Logo Links. You can ignore the priority section if you want to.

Here is an example. I did not need the gWeidth and gHeight since I set the image file ( binary ) to be the same size for all.
Code:
<%if Graphic%>
<%if URL%>
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>" target="New"
onMouseOver="window.status=' Click here to visit this link; return true"
onMouseOut="window.status=' '"><img src="<%Graphic%>" width="90" height="120"
alt="<%Title%>" border="0"></a>
<%endif%>
<%ifnot URL%>
<img src="<%Graphic%>" width="90" height="120" alt="<%Title%>" border="0">
<%endif%>
<%endif%>
You need the enhanced template MOD for the above.
Gene
Subject Author Views Date
Thread Adapting Descrition field ignition 2142 Apr 7, 2001, 6:43 AM
Thread Re: Adapting Descrition field
esm 2108 Apr 7, 2001, 9:29 AM
Thread Re: Adapting Descrition field
ignition 2100 Apr 7, 2001, 11:16 AM
Post Re: Adapting Descrition field
esm 2096 Apr 7, 2001, 11:56 AM
Thread Re: Adapting Descrition field
sponge 2091 Apr 7, 2001, 11:57 AM
Thread Re: Adapting Descrition field
Paul 2099 Apr 7, 2001, 12:01 PM
Post Re: Adapting Descrition field
ignition 2081 Apr 8, 2001, 2:27 AM
Post Re: Adapting Descrition field
Paul 2088 Apr 7, 2001, 11:58 AM