Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Help Getting Customizations Just Right

(Page 3 of 3)
> >
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
The owner's name (FULL_NAME) and the phone number we have discussed SEVERAL times and you said you got them working:

http://www.gossamer-threads.com/...i?post=294137#294137

As far as the email with the active link, just you a link:

<a href="mailto:<%Contact_Email%>"><%Contact_Email%></a>

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Sorry, you are misunderstanding me. I got them added in the columns, yes. What I'm talking about now is having that information displayed when someone comes to our directory looking for a VA and they click on a link. I want that link to show the owner's name, phone, yada, yada.

Does that clarify better? I'm not talking about setting them up; I'm talking about making that information appear when a link is clicked. Right now the only thing that shows up when someone is using our directory is the link name and the description.

(Hope I'm explaining clearly; hard to do) :)

Like here's my link in the directory:

http://www.virtualassistantnetworking.com/...ashington/index.html

As you can see, right now it only shows my biz name (the link name) and the description. I want the other information I indicated to be displayed between my biz name and the description. Does that make sense?

Last edited by:

therelief: Sep 29, 2006, 12:17 PM
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Okay. All you have to do is edit "link.html". Just add the variables for exactly what the values are in the database. Example:

To display the phone number, add <%Phone%> to display the first name etc. <%First_Name%>. IF you add a field called "lamp," you would display <%lamp%> or <%Lamp%> depending.

Hope this helps,

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
That's not totally working right.

See what it's doing: http://www.virtualassistantnetworking.com/...Wisconsin/index.html
  • For some reason, it's putting the site link below the actual link name. I don't want it to do that. I want it to keep the link in the link title the way it was before.
  • It's not showing the First_Name or Last_Name.
  • I want the email address to be a live link, but I don't know how to code that.

Here's the code I changed. Obviously I still need to do something, but I don't know what:

<div id="l<%ID%>" class="linklisting">
<h4 class="linktitle">
<%if detailed_url and isValidated eq 'Yes'%><a href="<%detailed_url%>"><%elsif URL ne 'http://' and isValidated eq 'Yes'%><a href="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>"><%endif%><%if highlight%><%Links::Tools::highlight($Title, $query)%><%else%><%Title%><%endif%><%if isValidated eq 'Yes'%><%if detailed_url or URL ne 'http://'%></a><%endif%><%endif%>
<%if isNew%><span class="new-item"><span>new</span></span><%endif%>
<%if isChanged%><span class="updated-item"><span>updated</span></span><%endif%>
<%if isPopular%><span class="popular-item"><span>popular</span></span><%endif%>
<%~if paymentsEnabled%>
<%if isUnpaid%><span class="unpaid-item"><span>unpaid</span></span><%endif%>
<%if isExpired%><span class="expired-item"><span>expired</span></span><%endif%>
<%if isFree%><span class="free-item"><span>free</span></span><%endif%>
<%~endif%>
</h4>
<%if URL ne 'http://'%><p class="linkurl"><%if isValidated eq 'Yes'%><a href="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>"><%endif%><%if highlight%><%set equery = escape_html $query%><%set eURL = escape_html $URL%><%Links::Tools::highlight($eURL, $equery)%><%else%><%escape_html URL%><%endif%><%if isValidated eq 'Yes'%></a><%endif%></p><%endif%>
<p class="linkrating">
<%~if Votes%>
<%~set intRating = $Rating i/ 1%>
<img src="<%Links::Utils::image_url("stars-10-${intRating}.gif")%>" alt="<%intRating%> out of 10 stars" title="<%intRating%> out of 10 stars" /> (<%Votes%> vote<%if Votes != 1%>s<%endif%>)
<%~endif%>
<%~if paymentsEnabled and ExpiryDateFormatted and wasPaid%>
<%if isNotify or isExpired%><span class="linkexpired"><%endif%><%if isExpired%>Expired on:<%else%>Expiry date:<%endif%> <%ExpiryDateFormatted%><%if isNotify or isExpired%></span><%endif%>
<%~endif%>
</p>
<p><%First_Name%> <%Last_Name%></p>
<p><%Phone%><br>
<%Contact_Email%></p>
<%if Description%><div class="linkdescription"><%if highlight%><%Links::Tools::highlight($Description, $query)%><%else%><%Description%><%endif%></div><%endif%>
<p class="linkactions">
<%~if isValidated eq Yes%>
<%if Review_Count%><a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>">Read <%Review_Count%> Review<%if Review_Count != 1%>s<%endif%></a><%endif%>
<a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>;add_review=1">Review It</a>
<a href="<%config.db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a>
<%if config.bookmark_enabled%><a href="<%config.db_cgi_url%>/bookmark.cgi?action=link_add;ID=<%ID%>">Bookmark It</a><%endif%>
<%if not isExpired and not isUnpaid%>
<%if isLinkOwner or not config.user_required%><a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Edit this link</a><%endif%>
<%endif%>
<%~endif%>
<%if paymentsEnabled%><a href="<%config.db_cgi_url%>/modify.cgi?do=payment_linked;process_payment=1;modify=1;ID=<%ID%>"><%if not wasPaid%>New Payment<%else%>Renewal Payment<%endif%></a><%endif%>
</p>
</div>
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
In Reply To:
For some reason, it's putting the site link below the actual link name. I don't want it to do that. I want it to keep the link in the link title the way it was before.[/quote]

get rid of this line:

Code:
<%if URL ne 'http://'%><p class="linkurl"><%if isValidated eq 'Yes'%><a href="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>"><%endif%><%if highlight%><%set equery = escape_html $query%><%set eURL = escape_html $URL%><%Links::Tools::highlight($eURL, $equery)%><%else%><%escape_html URL%><%endif%><%if isValidated eq 'Yes'%></a><%endif%></p>


In Reply To:

It's not showing the First_Name or Last_Name.[/quote]

Make sure you have created the two columns. Database->Links->Properties->Column Name (heading)

Make sure the two Columns (First_Name) and (Last_Name) have been created correctly. Also make sure you have type in the name correctly (case sensitive). Ex. (not Last_name)

Next, make sure there is value for (First_Name) and (Last_Name) for the link you are viewing. Database->Links->Modify->(type in the name of the link or its id to search for it).

In Reply To:


I want the email address to be a live link, but I don't know how to code that.[/quote]

Once again, as I said earlier, use this:

Code:

<a href="mailto:<%Contact_Email%>"><%Contact_Email%></a>


Hope this helps,

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Yea, got it all fixed!!! Thank you so much!!!

I have one last thing I need to fix and that is my main web site nav bar. Before our new hosting company lost our original directory, our directory had our main site's nav bar in it. The coding is still there, but the nav bar isn't showing up.

If you look at our Home page, you see the nav bar there: http://www.virtualassistantnetworking.com

We want it to appear on the directory header the same way and I know the code is in there, but there's obviously one more step that needs to be done to make it show up. Typically that's putting the menu button graphics and the menu javascript file somewhere. I think Gossamer did something different thought because in the old directory I noticed that I never had to update our nav bar when it got changed in the regular website. It automatically updated, but I don't know how they did that. Is that something you might be able to tell me what to do?
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Change this:

In Reply To:


<script menumaker>document.write('<scr'+'ipt src="xaramenu.js">'+'</scr'+'ipt>');document.write('<scr'+'ipt src="menubuttons.js">'+'</scr'+'ipt>');/*img src="menubuttons.gif" moduleid="VACOC (Project)\menubuttons_off.xws"*/</script>[/quote]

to this:


Code:
<script menumaker>document.write('<scr'+'ipt src="http://www.virtualassistantnetworking.com/xaramenu.js">'+'</scr'+'ipt>');document.write('<scr'+'ipt src="http://www.virtualassistantnetworking.com/menubuttons.js">'+'</scr'+'ipt>');/*img src="http://www.virtualassistantnetworking.com/menubuttons.gif" moduleid="VACOC (Project)\menubuttons_off.xws"*/</script>


I think that should do it.

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Yes, that did it!! Thank you again!!!!

I have only one very last thing to do and my directory will be perfect, but I don't know if that is something Gossamer has to do special or if it's something you or someone else here can help me with.

We had a custom search thing where someone visiting our directory looking for a VA could search not only by location, but also by company name, VA name (in this case First_Name or Last_Name), and service category (oh, that's one more thing I need to add to my link display).

Is that something that could be figured out here?
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
One quick question on the Service Categories display. I got that added to Link.html, but I wanted the services to list separated by a comma. See how it's displaying right now: http://www.virtualassistantnetworking.com/directory/Cool/

How do I get the services separated by a comma?
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
In Reply To:
We had a custom search thing where someone visiting our directory looking for a VA could search not only by location, but also by company name, VA name (in this case First_Name or Last_Name), and service category (oh, that's one more thing I need to add to my link display).[/quote]

Under Database->Links->Properties ... click on your custom field and make sure there is a search_weight for it. If there is not one, add "1" as a value. This will allow the field to be searchable. If you want one field to be more RELEVANT than another field, you can add a value "2" etc. (Don't worry about that though, just make sure 1 is there at least.) Once you edit ALL of your fields to be searchable (by adding a search_weight to each one), you must goto Database->Rebuild Search.

Next, you are going to have to add the search input in your "search.html" template. Each field you want to search should have a value like this:

Code:
<input type="text" name="columname" size="40" maxlength="255">


"columname" needs to be replaced with First_Name, add another one for Last_Name etc.

In Reply To:

and service category (oh, that's one more thing I need to add to my link display).[/quote]

As far as the service having a comma: Goto Database->Links->Modify and Simply add the commas between each value and they will print!

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
As far as the service having a comma: Goto Database->Links->Modify and Simply add the commas between each value and they will print!

I don't understand--when I go to that, it brings up a blank form.

Plus, if I were to add a comma after each service category, then the last one in the list would also have a comma after it, wouldn't it?

If that's the case, and there's not a way to have it use any logic, maybe I should just have them display in a column. How would I do that instead (by the way, service categories are check boxes that the link owner clicks on in the form to indicate what services they offer)?

Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
How did you add the service column? Did you add one column (services) or more?

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
I didn't actually add the Service_Categories column because I guess it was too complicated--Gossamer added it for me. They have it so that when the new linkowner is filling out the form, when they get to service categories, they have to check the boxes of whatever service categories they offer.

They had sort of a special search form set up similar to this, except it was on the row it is now instead of the sidebar: http://caribbean.com/villas/

Last edited by:

therelief: Sep 30, 2006, 9:57 AM
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Okay, well tell me this:

Goto: Database->Links->Modify and Modify a link, say ID=21 (you have to search for one to modify).

Where it says Service Categories, are the values stored like "Marketing Support Real Estate Support (REVA) Web Design Word Processing"?

Tell me exactly what it says.

- Jonathan

Last edited by:

jdgamble: Sep 30, 2006, 10:17 AM
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Here's what it looks like:

ID 21 Business Name URL LinkOwner Add Date Mod Date Description If you don't have an assistant, you are an assistant. Call us today to improve your time efficiency and productivity. Full Name Email Hits isValidated ---NoYes Rating Votes Timestamp 2006-09-29 22:37:59 Expiry Date
Dates can be entered in the following formats: YYYY-MM-DD, YYYY/MM/DD, YYYY/MM/DD HH:MM:SS

Never
Awaiting Payment
No Payment Required
Service Bookkeeping Coaching Support Copywriting Data Entry Database Design Database Maintenance Desktop Publishing Editing General Admin Graphic Design Legal Assistant (VLA) Marketing Support Other Proofreading Real Estate Support (REVA) Research Transcription Web Design Website Maintenance Word Processing Writing Other Description Phone First Name Last Name
Categories [Add] Argentina Australia Bahamas Barbados Belgium Canada France Germany Ireland Mexico Netherlands New Zealand Portugal Puerto Rico South Africa Spain Trinidad & Tobago United Kingdom USA Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virginia Washington West Virginia Wisconsin Wyoming
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
I'm not exactly sure what going on. So if GT added the fields for you, then they should add ability to make them searchable for you.

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
No problem. In the meantime, how about the service category customization. How can I make those list in a column instead of separated by commas?

Also, I want to move the service categories underneath Description, but I wasn't exactly sure where Description ended. Can you tell me?

Here's the code the way it is now in Links.html:

<div id="l<%ID%>" class="linklisting">
<h4 class="linktitle">
<%if detailed_url and isValidated eq 'Yes'%><a href="<%detailed_url%>"><%elsif URL ne 'http://' and isValidated eq 'Yes'%><a href="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>"><%endif%><%if highlight%><%Links::Tools::highlight($Title, $query)%><%else%><%Title%><%endif%><%if isValidated eq 'Yes'%><%if detailed_url or URL ne 'http://'%></a><%endif%><%endif%>
<%if isNew%><span class="new-item"><span>new</span></span><%endif%>
<%if isChanged%><span class="updated-item"><span>updated</span></span><%endif%>
<%if isPopular%><span class="popular-item"><span>popular</span></span><%endif%>
<%~if paymentsEnabled%>
<%if isUnpaid%><span class="unpaid-item"><span>unpaid</span></span><%endif%>
<%if isExpired%><span class="expired-item"><span>expired</span></span><%endif%>
<%if isFree%><span class="free-item"><span>free</span></span><%endif%>
<%~endif%>
</h4>
<p class="linkrating">
<%~if Votes%>
<%~set intRating = $Rating i/ 1%>
<img src="<%Links::Utils::image_url("stars-10-${intRating}.gif")%>" alt="<%intRating%> out of 10 stars" title="<%intRating%> out of 10 stars" /> (<%Votes%> vote<%if Votes != 1%>s<%endif%>)
<%~endif%>
<%~if paymentsEnabled and ExpiryDateFormatted and wasPaid%>
<%if isNotify or isExpired%><span class="linkexpired"><%endif%><%if isExpired%>Expired on:<%else%>Expiry date:<%endif%> <%ExpiryDateFormatted%><%if isNotify or isExpired%></span><%endif%>
<%~endif%>
</p>
<p><%First_Name%> <%Last_Name%><br>
<%Phone%><br>
<a href="mailto:<%Contact_Email%>"><%Contact_Email%></a></p>
<p><%Service_Categories%></p>
<%if Description%><div class="linkdescription"><%if highlight%><%Links::Tools::highlight($Description, $query)%><%else%><%Description%><%endif%></div><%endif%>
<p class="linkactions">
<%~if isValidated eq Yes%>
<%if Review_Count%><a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>">Read <%Review_Count%> Review<%if Review_Count != 1%>s<%endif%></a><%endif%>
<a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>;add_review=1">Review It</a>
<a href="<%config.db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a>
<%if config.bookmark_enabled%><a href="<%config.db_cgi_url%>/bookmark.cgi?action=link_add;ID=<%ID%>">Bookmark It</a><%endif%>
<%if not isExpired and not isUnpaid%>
<%if isLinkOwner or not config.user_required%><a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Edit this link</a><%endif%>
<%endif%>
<%~endif%>
<%if paymentsEnabled%><a href="<%config.db_cgi_url%>/modify.cgi?do=payment_linked;process_payment=1;modify=1;ID=<%ID%>"><%if not wasPaid%>New Payment<%else%>Renewal Payment<%endif%></a><%endif%>
</p>
</div>

Last edited by:

therelief: Sep 30, 2006, 10:38 AM
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
You can try adding a global like this:

Code:

sub {

my $in = shift;

my $service = $in->{Service_Categories};

$service =~ s/\s/<br>/g;

return $service;

}


Under Build->Template Globals, create a new one called say "Services".

Then replace <%Service_Categories%> in your template with <%Services%>

Not tested, but should work.

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
No, that didn't work...here's what it did:

http://www.virtualassistantnetworking.com/...ashington/index.html
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Okay, I got the services by "commas" and I added the search options.

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
You!!!! Can I just say I LOVE YOU!!! Thank you sooo much!

You have no idea how much this directory means to our members. Our profession is very unknown and VAs have a terrible time finding clients. I'm going to be aggresively marketing this directory in the hopes that we will be able to make a huge impact on promoting awareness and having a central place for business owners to come to to find highly qualified VAs, ultimately connecting our VAs with clients.

Thank you, thank you, thank you!!!!

Last edited by:

therelief: Sep 30, 2006, 1:21 PM
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Angelic

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Hello, Jonathan, if you are out there :)

I made some changes to my directory templates--luckily, I had a great education from you--but there's one last little thing that I can't figure out.

If you go to my directory: http://www.virtualassistantnetworking.com/directory/

You see where the orange nav bar is? I want to get that flush with the right side (like everything else is), but I can't figure out for the life of me where to fix that.

Help?
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Sorry for the delayed reply... I guess I never got an email with this response. It looks like you got it figured out.

- Jonathan
> >