Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Help Getting Customizations Just Right

Quote Reply
Help Getting Customizations Just Right
I am trying to get my directory matched up with the look of my website. Here's my directory: http://www.virtualassistantnetworking.com/directory/

The first thing I want to adjust is, do you see how the directory area and my web site header aren't aligned together? I'd like to get the directory area "skootched" over a hair so that the left side is perfectly in alignment with the top header.

How can I do this?
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Looks like the "spacerwhite.gif" is the culprit here. Why do you have it anyway, it doesn't really seam to have any purpose.

Either remove it from your tables above or add it to the links directory table.
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
I probably should say that I am not a programmer or expert coder so I really need very plain instructions on doing this stuff.

I don't think my spacer is the problem at all as it doesn't have anything to do with the directory area.

What I need to know is how to skootch the directory area over so that it is in alignment with my table headers.
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
OK, this is what your code looks like when previewed with Frontpage. See the dotted areas either side of your header tables? Those are the spacer gifs and because they are there, and not on your directory table, your directory is slightly to the left.



If you're not a coder, who did your HTML for you?
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
I did the code and I know what you're talking about, but the header is exactly the way I want it because that's how it appears on the rest of my site. I want the directory to display according to how my header displays. I want the page transition to be smooth.

So the question is, how can I put spacers in or whatever you do to get the dang directory area skootched over. How do I do that. The complexity of the CSS as well as the perl (?) scripts are things I know nothing about.
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
You could try reducing the width of your links table and aligning center.

Alternatively you will have to "add" the spacer code to the links templates:

Code:
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>

<td>(Links Template Code Here)</td>

<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
Where do I find the links table? I really need very simple, literal assistance. I don't understand this stuff at all.
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Admin / Build / Templates - User Templates

Try this:

Load home.html

after <div id="content"> add:

Code:
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td>

and just before <%include include_contentfooter.html%> add:

Code:
</td>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
Ikes! Thank you very much for that--at least we're getting somewhere. But here's what it did to the page:

http://www.virtualassistantnetworking.com/directory/

Can this be fixed? I want to get rid of that white space between the search bar and the directory area so that they are right next to each other. And then, of course, my right sidebar is now all messed up so I wanted to get that fixed back. And then I need each "row" to be the same width so that there is a smooth line going down the right side (hope I'm describing what I mean as clearly as possible).
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Instead of adding the code below after <div id="content">, cut and paste it above <div id="ocwrapper" class="clear">

Code:

<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td>
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
Oh yea! Really getting somewhere now. :)

Now, how can get rid of that white space between the search bar and the directory?

Also, which of those codes will get that last bottom row aligned with everything else (down where it's got the Powered By Gossamer Links info)?

Here's the link again so you can see what it looks like: http://www.virtualassistantnetworking.com/directory/
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
In Reply To:

Also, which of those codes will get that last bottom row aligned with everything else (down where it's got the Powered By Gossamer Links info)?

You will have to repeat the process above (adding the code) to footer.html

Also, when you click on a category, that will be off center too so you'll have to do the same for category.html.

Basically, anything you find that is off center.

------------------------------------------------

The gap

Replace:

Code:
</form>
</div>
<hr class="hide" /></td>
<td width="11" bgcolor="#FFFFFF">&nbsp;</td>
</tr>
</table>
<p>&nbsp; </p>

</div>

with:

Code:
</form>
</div>
</td>
</tr>
</table>

</div>
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
On the gap instructions you gave, what template is that in? I looked for it in Home but it's not there.
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Also, here is the code from include_footer.html (there wasn't just a plain footer.html):

<hr class="hide" />
<div id="footer" class="clear">
<a href="http://www.gossamer-threads.com"><img src="<%Links::Utils::image_url('poweredby.gif')%>" alt="Powered by Gossamer Links" /></a>
<p>&copy; 2006 Gossamer Threads Inc.</p>
</div>
<%--if in.debug%><%DUMP%><%endif--%>


I don't know where I'm supposed to what in this code to fix the alignment.
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Try header.html
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Code:
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td>

<hr class="hide" />
<div id="footer" class="clear">
<a href="http://www.gossamer-threads.com"><img src="<%Links::Utils::image_url('poweredby.gif')%>" alt="Powered by Gossamer Links" /></a>
<p>&copy; 2006 Gossamer Threads Inc.</p>
</div>
<%--if in.debug%><%DUMP%><%endif--%>

</td>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
Oh, yea!! Thank you!! It's finally starting to look good.

On the footer, there is a teeny bit of white space: http://www.virtualassistantnetworking.com/directory/

Can you tell me where do I fix that (what template?) and what code do I use?
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Yes, the spacer height is too much.

In the last template change both of the height="65" to 10.
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
I'll leave it with you now as I'm out of time. I have you bookmarked so I'll check back to see how you're getting on.

Wink
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
That did the trick. You are so stinking awesome!! Thank you so much!!!

May I trouble you with a couple other probably simple (for you) things?

I'd like the orange nav bar to be the same length across as the rest of the directory. How can I do that?

Also, on the form that the person fills out when they submit their link, there is a field that says "Contact Name" and it autofills with the username that the person chose. That is really confusing because what we really want there is the person's full name. So what I want is two things 1) for it to say "Full Name" instead of "Contact Name" and then we do not want that field autofilled with the username.

Now on the contact name column, I went to that column and I changed Form Display to "Full Name" from "Contact Name." However, it still says "Contact Name." So obviously that's not where I change that. But I'm still very lost as to how all this works.

Any direction?

Last edited by:

therelief: Sep 24, 2006, 3:02 PM
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Okay, I got all the other templates updated so that all pages are in alignment like the Home page of the directory. One problem spot is the Bookmark pages.

There's a couple things I need to fix:

1) The Bookmark pages have a second row of navigation, but the layout is goofed up and the login/register link is up in the orange nav bar instead of the Search bar where it's supposed to be.

2) When you click on Bookmark from the Home page, it gives you a message that you have to login (http://www.virtualassistantnetworking.com/...gi&from=bookmark), and as you can see, that's out of alignment. However, I updated all the templates with that code you gave me so I don't know what else to do to fix that.

Help?
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Try error.html

I don't use bookmarks so can't help you with those.

With regards to your orange nav bar it's the Login/Register link that's the problem.

In include_header.html remove:

Code:
<div id="loginbar"><a href="/cgi-bin/links/user.cgi" class="out">
Login/Register
</a></div>

and your nav bar will go all the way accross the top. You'll have to find somewhere else to paste the loginbar code.
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
Thank you. :)

I want the login/register link to be in the same row as the search bar like it on all the rest of my directory pages: http://www.virtualassistantnetworking.com/directory/

Are you still sure that the login/register code is still the issue since it seems to be where I want on all the other pages except the Bookmark pages?

Last edited by:

therelief: Sep 26, 2006, 4:35 PM
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Oh, on the contact name adds, I got this error:

Unable to add column 'First_Name': Column First_Name was specified as not null, but has no default value


Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Also, back to the layout issues, see what the "You must login first" message is doing:

http://www.virtualassistantnetworking.com/....cgi&from=modify

What template would this get fixed in?
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
When you view your pages the layout looks like this:

Nav Bar----------------------
Search-----------------Login


but when you look at your code it is actually set out like this:

Login------------Nav Bar-------------Search

You have no formatting or layout to your code. Try creating a table and move your login from before the Nav Bar code to after the Search code.
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
I apologize, but I'm lost. Where do I put the table? What template? Because I thought I already did that. Plus, when I did it any other way, it messed the nav bar/search/login & register stuff up entirely.

If I put the code here, could tell me what is going wrong?

Last edited by:

therelief: Sep 27, 2006, 1:08 PM
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
It's basic HTML. You need to create something like this:

Code:
<table><tr><td colspan="2">Nav Bar Code</td>
<td>Search Code</td><td>Login Code</td></tr></table>
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
This is the code from the header footer wrapper (I don't even remember at this point what template it goes in, aye aye aye)...

<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/...ml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="shortcut icon" href="favicon.ico" />
<title><% TITLE %></title>
<% GENERATOR %>
<% CSS %>
<% JAVASCRIPT %>
</head>
<body background="images/bggreydiag.gif">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" align="left" valign="top" bgcolor="#FFFFFF">&nbsp;</td>
<td width="200" bgcolor="#FFFFFF"><a href="http://www.virtualassistantnetworking.com"><img src="../images/virtual-assistant-networking.gif" alt="Virtual Assistant Networking Association" width="199" height="65" border="0" align="top" /></a></td>
<td width="73" background="../images/diagblue.gif" bgcolor="#FFFFFF">&nbsp;</td>
<td width="225" align="center" valign="middle" bgcolor="#EEF3F9"><span class="class1"><a href="http://www.virtualassistantnetworking.com/webinar-registration.htm"><font color="#FF600" size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Don't
Miss our October Guest Expert Webinar With Robert Middleton on Thursday,
October 19</strong></font></a></span></td>
<td width="74" align="right" valign="top" background="../images/diagblue.gif" bgcolor="#EEF3F9">&nbsp;</td>
<td width="192" align="center" valign="middle" bgcolor="#EEF3F9">&nbsp;</td>
<td width="16" bgcolor="#EEF3F9">&nbsp;</td>
<td width="10" align="left" valign="top" bgcolor="#EEF3F9">&nbsp;</td>
</tr>
</table>
<table width="800" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle" bgcolor="bbd9ee">
<td width="14" height="30" align="left" valign="top" background="../images/bgleftcornertopbl.gif" bgcolor="#C9DBED">
<div align="right">
</div>
<div align="left"></div></td>
<td width="49" align="left" valign="top" bgcolor="#C9DBED">&nbsp;</td>
<td width="123" height="30" bgcolor="#C9DBED">&nbsp;</td>
<td width="600" height="30" bgcolor="#C9DBED">&nbsp;</td>
<td width="14" colspan="2" align="right" valign="bottom" background="http://www.virtualassistantnetworking.com/...bgrightcornerbot.gif" bgcolor="#C9DBED">
<div align="right"></div>
</td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FF6633">
<tr>
<td height="5" bgcolor="#FFFFFF"><img src="../images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" height="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="14" height="100" align="left" valign="top" background="../images/bgleftcornertop.gif" bgcolor="#9ED8B1">
<div align="right"></div></td>
<td width="326" height="100" align="left" valign="middle" bgcolor="#9ED8B1"><strong><em><font color="#FFFFFF" size="2" face="Georgia, Times New Roman, Times, serif">The
Virtual Assistant Global Village... ...Creating Community, Expanding Horizons
and Sharing in Success! </font></em><font color="#FFFFFF" size="2" face="Georgia, Times New Roman, Times, serif">&#8482;</font></strong></td>
<td width="22" height="100" align="left" valign="middle" bgcolor="#9ED8B1">
<h5><strong></strong></h5></td>
<td width="437" height="100" align="left" valign="top" bgcolor="#FFFFFF">
<div align="left"><img src="../images/headergraphic.jpg" alt="Your Doorway to the Virtual Assistant Global Village" width="436" height="100" align="top" /></div></td>
</tr>
</table>
<div id="ipbwrapper">
<% BOARD HEADER %>
<% MEMBER BAR %>
<% NAVIGATION %>
<!--IBF.NEWPMBOX-->
<% BOARD %>
<% BOARD FOOTER %>
<% STATS %>
<% COPYRIGHT %>
<center>Design by <a href="http://www.gpf-design.com" target="_blank" title="Free banners, invision power board skins, themes, custom requests, graphics shop and more">GPF-Design.com</a> & <a href="http://www.getpaidforum.net" target="_blank" title="Get paid to post and refer, talk about various ebusiness, hyips, ptrs, autosurfs, casinos, ppc, ptc etc... Meet new friends, share your knowledge with community and explore all get paid to secrets with GetPaidForum.net">GetPaidForum.net</a></center>
</div>
</body>
</html>
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
include_header.html
Quote Reply
Re: [MJB] Help Getting Customizations Just Right In reply to
So where does that code you provided fit in? And the parts in red--am I supposed to put something in there? If so, where do I find what it is I'm supposed to put in?
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Okay, I'm totally lost. :( This is just beyond any of my rudimentary understanding.

I tried to figure this pasting the code in Dreamweaver, and then adding what you gave me, but this is what it's doing--definitely not the way I want it to look:

<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/...ml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="shortcut icon" href="favicon.ico" />
<title><% TITLE %></title>
<% GENERATOR %>
<% CSS %>
<% JAVASCRIPT %>
</head>
<body background="images/bggreydiag.gif">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" align="left" valign="top" bgcolor="#FFFFFF">&nbsp;</td>
<td width="200" bgcolor="#FFFFFF"><a href="http://www.virtualassistantnetworking.com"><img src="../images/virtual-assistant-networking.gif" alt="Virtual Assistant Networking Association" width="199" height="65" border="0" align="top" /></a></td>
<td width="73" background="../images/diagblue.gif" bgcolor="#FFFFFF">&nbsp;</td>
<td width="225" align="center" valign="middle" bgcolor="#EEF3F9"><span class="class1"><a href="http://www.virtualassistantnetworking.com/webinar-registration.htm"><font color="#FF600" size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Don't
Miss our October Guest Expert Webinar With Robert Middleton on Thursday,
October 19</strong></font></a></span></td>
<td width="74" align="right" valign="top" background="../images/diagblue.gif" bgcolor="#EEF3F9">&nbsp;</td>
<td width="192" align="center" valign="middle" bgcolor="#EEF3F9">&nbsp;</td>
<td width="16" bgcolor="#EEF3F9">&nbsp;</td>
<td width="10" align="left" valign="top" bgcolor="#EEF3F9">&nbsp;</td>
</tr>
</table>
<table width="800" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle" bgcolor="bbd9ee">
<td width="14" height="30" align="left" valign="top" background="../images/bgleftcornertopbl.gif" bgcolor="#C9DBED">
<div align="right">
</div>
<div align="left"></div></td>
<td width="49" align="left" valign="top" bgcolor="#C9DBED">&nbsp;</td>
<td width="123" height="30" bgcolor="#C9DBED">&nbsp;</td>
<td width="600" height="30" bgcolor="#C9DBED">&nbsp;</td>
<td width="14" colspan="2" align="right" valign="bottom" background="http://www.virtualassistantnetworking.com/...bgrightcornerbot.gif" bgcolor="#C9DBED">
<div align="right"></div>
</td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FF6633">
<tr>
<td height="5" bgcolor="#FFFFFF"><img src="../images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" height="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="14" height="100" align="left" valign="top" background="../images/bgleftcornertop.gif" bgcolor="#9ED8B1">
<div align="right"></div></td>
<td width="326" height="100" align="left" valign="middle" bgcolor="#9ED8B1"><strong><em><font color="#FFFFFF" size="2" face="Georgia, Times New Roman, Times, serif">The
Virtual Assistant Global Village... ...Creating Community, Expanding Horizons
and Sharing in Success! </font></em><font color="#FFFFFF" size="2" face="Georgia, Times New Roman, Times, serif">&#8482;</font></strong></td>
<td width="22" height="100" align="left" valign="middle" bgcolor="#9ED8B1">
<h5><strong></strong></h5></td>
<td width="437" height="100" align="left" valign="top" bgcolor="#FFFFFF">
<div align="left"><img src="../images/headergraphic.jpg" alt="Your Doorway to the Virtual Assistant Global Village" width="436" height="100" align="top" /></div></td>
</tr>
</table><table><tr><td colspan="2">Nav Bar Code</td> <td>Search Code</td><td>Login Code</td></tr></table>
<div id="ipbwrapper">
<% BOARD HEADER %>
<% MEMBER BAR %>
<% NAVIGATION %>
<!--IBF.NEWPMBOX-->
<% BOARD %>
<% BOARD FOOTER %>
<% STATS %>
<% COPYRIGHT %>
<center>Design by <a href="http://www.gpf-design.com" target="_blank" title="Free banners, invision power board skins, themes, custom requests, graphics shop and more">GPF-Design.com</a> & <a href="http://www.getpaidforum.net" target="_blank" title="Get paid to post and refer, talk about various ebusiness, hyips, ptrs, autosurfs, casinos, ppc, ptc etc... Meet new friends, share your knowledge with community and explore all get paid to secrets with GetPaidForum.net">GetPaidForum.net</a></center>
</div>
</body>
</html>
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
As I said here: http://www.gossamer-threads.com/...orum.cgi?post=294146

To fix your navigation, try this:

Code:

ul.primarynav, ul.secondarynav {

margin-right: 200px;
}


as for the error message, try this:

Code:

#contentheader .error, #contentheader .message {
margin: none;
text-align: center;
}


You need to move your error message into the table. So change this:

Code:

<em></em>
<div id="contentheader">
<div class="error">You must first login before you can access that.</div>
</div>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="white">
<tr>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td>


to this:

Code:

<em></em>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="white">
<tr>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td>
<div id="contentheader">
<div class="error">You must first login before you can access that.</div>
</div>


Add the css code to the bottom of your luna.css. Change the html in your User Login template.

Hope this helps,

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Thank you, thank you, thank you!!!

There isn't user login template, but there are these:

login.html
login_email.html
login_success.html

Are those the ones I should change the html in, and should I change it in all of them?
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Those can't be it because there's no <div id="contentheader">

Can you tell me which template?

Last edited by:

therelief: Sep 28, 2006, 3:37 PM
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Okay, before I even begin to explain what I mean, add this to the bottom of your luna.css to see if your navigation bar problem is fixed:

In Reply To:

ul.primarynav, ul.secondarynav {
margin-right: 200px;
}
[/quote]

http://www.virtualassistantnetworking.com/directory/

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Yes, I already did that and it looks good!

http://www.virtualassistantnetworking.com/directory/

As you can see, it caused the the login/register link to be moved and now it's not where it's supposed to be and there's a bunch of white space I don't want, but I figured that was going to get corrected once I updated the template (whichever one it's supposed to be) with the code you provided.

Ideally, where I want the login/register link to be is in the same line/bar or whatever it's called that the search feature is on, so that the search is on the left and the login/register link is on the right end.

Last edited by:

therelief: Sep 28, 2006, 4:52 PM
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Sorry, I didn't see that, will get back to that.

I don't know which template you added your tables to. But edit "login.html". Look for "<%include include_contentheader.html%>". This is where the error message is coming from. This is just loading the "include_contentheader.html" template. Makes sure that <%include include_contentheader.html%> is inside the table that you have added. Specifically the table after this "<em></em>".

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Oh, dear. I'm lost because the div code you have in there is throwing me. I don't know where to put that because I can't find it in the login template. I also don't see this em em you refer to.

Here's the code in the login.html:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/...ml1-transitional.dtd">
<%~if logout and error%>
<%~set message = $error%>
<%~set error = ''%>
<%~endif%>
<%~if url and not error%>
<%~set error = 'You must first login before you can access that.'%>
<%~endif%>
<html>
<head>
<title><%site_title%>: User Login</title>
<%include include_common_head.html%>
</head>
<body id="login">
<%include include_accessibility.html%>
<div id="wrapper">
<%include include_header.html%>
<%include include_contentheader.html%>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="white">
<tr>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td>
<div id="ocwrapper" class="clear">
<div id="icwrapper" class="clear">
<%include include_leftsidebar.html%>
<div id="contentwrapper" class="shadowleft">
<%include include_contentwrapper_top.html%>
<div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
<div class="shadowright">
<div id="content">
<%include include_content_top.html%>
<div class="crumb"><%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
<h2>User Login</h2>
<p>Login to <%site_title%>:</p>
<form action="<%config.db_cgi_url%>/user.cgi" method="post">
<input type="hidden" name="login" value="1" />
<%if url%><input type="hidden" name="url" value="<%escape_html url%>" /><%endif%>
<div class="row required clear">
<label for="Username" class="name">Username:</label>
<div class="value">
<input type="text" id="Username" name="Username" value="<%if Username%><%escape_html Username%><%endif%>" class="text" />
</div>
</div>
<div class="row required clear">
<label for="Password" class="name">Password:</label>
<div class="value">
<input type="password" id="Password" name="Password" class="password" />
</div>
</div>
<%~if config.user_sessions eq Cookies%>
<div class="row clear">
<label for="Remember" class="name">Remember Me:</label>
<div class="value">
<input type="checkbox" id="Remember" name="Remember" class="checkbox" />
</div>
</div>
<%~endif%>
<div class="formsubmit">
<input type="submit" value="Login" class="submit" />
</div>
</form>
<p>
If you don't have an account, please <a href="<%config.db_cgi_url%>/user.cgi?signup_form=1">register</a>.<br />
If you've forgotten your password, we can <a href="<%config.db_cgi_url%>/user.cgi?email_pass=1">e-mail it to you</a>.
</p>
<%include include_content_bottom.html%>
</div>
</div>
<div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
<%include include_contentwrapper_bottom.html%>
</div>
<%include include_rightsidebar.html%>
</div>
</div>
</td>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<%include include_contentfooter.html%>
<%include include_footer.html%>
</div>
</body>
</html>
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
okay, so replace this:

Code:

<%include include_contentheader.html%>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="white">
<tr>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td>

with this:

Code:

<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="white">
<tr>
<td width="10" height="65"><img src="/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td>

<%include include_contentheader.html%>



- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Yea! Thank you! That did the trick :)

Now is there a way to get the login/register link back on the same row/bar/whatever as the search box?

Tell me what you need to know. Here's the code from the include_header.html template if that helps:

<link href="http://www.virtualassistantnetworking.com/vacoc.css" rel="stylesheet" type="text/css"> <div id="header">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="65" bgcolor="#FFFFFF"><img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td width="200" bgcolor="#FFFFFF"><a href="http://www.virtualassistantnetworking.com"><img src="http://www.virtualassistantnetworking.com/...stant-networking.gif" alt="Virtual Assistant Networking Association" width="199" height="65" border="0" align="top" /></a></td>
<td width="73" background="http://www.virtualassistantnetworking.com/images/diagblue.gif" bgcolor="#FFFFFF">&nbsp;</td>
<td width="225" align="center" valign="middle" bgcolor="#EEF3F9"><p><span class="class1"><a href="http://www.virtualassistantnetworking.com/webinar-registration.htm">Don't
Miss our October Guest Expert Webinar With Robert Middleton on Thursday,
October 19</a></span></p>
</td>
<td width="74" align="right" valign="top" background="http://www.virtualassistantnetworking.com/images/diagblue.gif" bgcolor="#EEF3F9">&nbsp;</td>
<td width="192" align="center" valign="middle" bgcolor="#EEF3F9">&nbsp;</td>
<td width="16" bgcolor="#EEF3F9">&nbsp;</td>
<td width="10" align="left" valign="top" bgcolor="#FFFFFF"><img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle" bgcolor="bbd9ee">
<td width="10" height="22" bgcolor="#FFFFFF">
<div align="right"><img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" />
</div></td>
<td width="15" align="left" valign="top" bgcolor="#C9DBED">
<div align="left"><img src="http://www.virtualassistantnetworking.com/...es/leftcornertop.gif" alt="*" width="14" height="14" /></div></td>
<td width="39" bgcolor="#C9DBED">&nbsp;</td>
<td width="123" height="22" bgcolor="#C9DBED">&nbsp;</td>
<td width="588" height="30" bgcolor="#C9DBED">
<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>
</td>
<td width="15" align="right" valign="bottom" bgcolor="#C9DBED">
<div align="right"><img src="http://www.virtualassistantnetworking.com/...rightanglebottom.gif" alt="*" width="14" height="14" /></div></td>
<td width="10" height="22" align="left" valign="top" bgcolor="#FFFFFF"><img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FF6633">
<tr>
<td height="5" bgcolor="#FFFFFF"><img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" height="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="100" align="left" valign="top" bgcolor="#FFFFFF">
<div align="right"><img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></div></td>
<td width="15" height="100" align="left" valign="top" bgcolor="#9ED8B1"><img src="http://www.virtualassistantnetworking.com/images/TopLeftAngle.gif" alt="*" width="6" height="6" /></td>
<td width="327" height="100" align="left" valign="middle" bgcolor="#9ED8B1">
<h5>The Virtual Assistant Global Village... ...Creating Community, Expanding
Horizons and Sharing in Success! &#8482;</h5>
</td>
<td width="437" height="100" align="right" valign="middle" bgcolor="#FFFFFF">


<div align="left"><img src="http://www.virtualassistantnetworking.com/...es/headergraphic.jpg" alt="Your Doorway to the Virtual Assistant Global Village" width="436" height="100" /></div></td>
<td width="10" height="100" align="center" valign="top" bgcolor="#FFFFFF"><img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="5" bgcolor="#FFFFFF"><img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="5" bgcolor="#FFFFFF"><img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td width="779" bgcolor="#FFFFFF"><div id="header">
<div id="loginbar"><a href="<%config.db_cgi_url%>/user.cgi<%if user.Username%>?logout=1<%endif%>" class="<%if user.Username%>in<%else%>out<%endif%>">
<%if user.Username%>
Logout
<%else%>
Login/Register
<%endif%>
</a></div>
</div>
<div class="navbar clear">
<ul class="primarynav">
<li class="home"><a href="<%config.build_root_url%>">Home</a></li>
<li><a href="<%config.db_cgi_url%>/add.cgi<%if category_id%>?ID=<%category_id%><%endif%>">Add
a Link</a></li>
<li><a href="<%config.db_cgi_url%>/modify.cgi<%if category_id%>?ID=<%category_id%><%endif%>">Modify
a Link</a></li>
<li><a href="<%config.build_root_url%>/New/">New Links</a></li>
<li><a href="<%config.build_root_url%>/Cool/">Cool Links</a></li>
<li><a href="<%config.build_root_url%>/Ratings/">Top Rated</a></li>
<li><a href="<%config.db_cgi_url%>/jump.cgi?ID=random<%if config.build_detailed%>;Detailed=1<%endif%>">Random
Link</a></li>
<%if config.newsletter_enabled%>
<li><a href="<%config.db_cgi_url%>/subscribe.cgi">Newsletter</a></li>
<%endif%>
<%if config.bookmark_enabled%>
<li><a href="<%config.db_cgi_url%>/bookmark.cgi">Bookmarks</a></li>
<%endif%>
<%if Links::Utils::is_editor%>
<li><a href="<%config.db_cgi_url%>/browser.cgi">Editors</a></li>
<%endif%>
</ul>
<%~if secondarynav%>
<%include $secondarynav%>
<%endif%>
</div>
<div class="searchbar">
<form action="<%config.db_cgi_url%>/search.cgi">
<label for="label">Search</label>
<%if category_id%>
<input type="radio" id="radio3" name="catid" value="" checked="checked" />
<label for="radio3">the entire directory</label>
<input type="radio" id="radio4" name="catid" value="<%escape_html category_id%>" />
<label for="radio4">only this category</label>
<%endif%>
<input type="text" id="label" name="query2" value="<%if query%><%escape_html query%><%endif%>" class="text" />
<input type="submit" name="Go2" value="Go" class="submit" />
<a href="<%config.db_cgi_url%>/search.cgi">Advanced Search</a>
</form> </div> </td> </tr> </table> </div>
<em></em>

Last edited by:

therelief: Sep 29, 2006, 9:50 AM
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Move this:

Code:
<div id="header">
<div id="loginbar"><a href="<%config.db_cgi_url%>/user.cgi<%if user.Username%>?logout=1<%endif%>" class="<%if user.Username%>in<%else%>out<%endif%>">
<%if user.Username%>
Logout
<%else%>
Login/Register
<%endif%>
</a></div>
</div>



Right after this:

Code:

</form>

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Oops--that didn't work. All it did was move the search bar up, which is how I want it to look, I just don't want all that white space and I want the login/register link to be on the same line.

Here's what the page looks like now:

http://www.virtualassistantnetworking.com/directory/

Last edited by:

therelief: Sep 29, 2006, 10:18 AM
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
If you want it ON the search bar, you are going to have to get rid of the div code for the login bar, and put the link to login inside the div for the search bar. It will, however, get rid of the login image to the right of the login. Would that be okay? or do you need to find another way?

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Yes, that is okay. I don't care about the image. I just want the login/register link to be on the same row at the search box, with the search box on the left and the login/register on the right.
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
okay, backup your include_header.html and try this:

Code:


<head>
<link type="text/css" rel="stylesheet" href="http://www.virtualassistantnetworking.com/...static/luna/luna.css" />
<link href="http://www.virtualassistantnetworking.com/vacoc.css" rel="stylesheet" type="text/css">
</head>
<div id="header">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="65" bgcolor="#FFFFFF">
<img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td width="200" bgcolor="#FFFFFF">
<a href="http://www.virtualassistantnetworking.com">
<img src="http://www.virtualassistantnetworking.com/...stant-networking.gif" alt="Virtual Assistant Networking Association" width="199" height="65" border="0" align="top" /></a></td>
<td width="73" background="http://www.virtualassistantnetworking.com/images/diagblue.gif" bgcolor="#FFFFFF">&nbsp;</td>
<td width="225" align="center" valign="middle" bgcolor="#EEF3F9">
<p><span class="class1">
<a href="http://www.virtualassistantnetworking.com/...nar-registration.htm">
Don&#39;t Miss our October Guest Expert Webinar With Robert Middleton on
Thursday, October 19</a></span></p>
</td>
<td width="74" align="right" valign="top" background="http://www.virtualassistantnetworking.com/images/diagblue.gif" bgcolor="#EEF3F9">&nbsp;</td>
<td width="192" align="center" valign="middle" bgcolor="#EEF3F9">&nbsp;</td>
<td width="16" bgcolor="#EEF3F9">&nbsp;</td>
<td width="10" align="left" valign="top" bgcolor="#FFFFFF">
<img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle" bgcolor="bbd9ee">
<td width="10" height="22" bgcolor="#FFFFFF">
<div align="right">
<img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" />
</div>
</td>
<td width="15" align="left" valign="top" bgcolor="#C9DBED">
<div align="left">
<img src="http://www.virtualassistantnetworking.com/...es/leftcornertop.gif" alt="*" width="14" height="14" /></div>
</td>
<td width="39" bgcolor="#C9DBED">&nbsp;</td>
<td width="123" height="22" bgcolor="#C9DBED">&nbsp;</td>
<td width="588" height="30" bgcolor="#C9DBED">
<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>
</td>
<td width="15" align="right" valign="bottom" bgcolor="#C9DBED">
<div align="right">
<img src="http://www.virtualassistantnetworking.com/...rightanglebottom.gif" alt="*" width="14" height="14" /></div>
</td>
<td width="10" height="22" align="left" valign="top" bgcolor="#FFFFFF">
<img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FF6633">
<tr>
<td height="5" bgcolor="#FFFFFF">
<img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" height="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="100" align="left" valign="top" bgcolor="#FFFFFF">
<div align="right">
<img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></div>
</td>
<td width="15" height="100" align="left" valign="top" bgcolor="#9ED8B1">
<img src="http://www.virtualassistantnetworking.com/images/TopLeftAngle.gif" alt="*" width="6" height="6" /></td>
<td width="327" height="100" align="left" valign="middle" bgcolor="#9ED8B1">
<h5>The Virtual Assistant Global Village... ...Creating Community, Expanding
Horizons and Sharing in Success! </h5>
</td>
<td width="437" height="100" align="right" valign="middle" bgcolor="#FFFFFF">
<div align="left">
<img src="http://www.virtualassistantnetworking.com/...es/headergraphic.jpg" alt="Your Doorway to the Virtual Assistant Global Village" width="436" height="100" /></div>
</td>
<td width="10" height="100" align="center" valign="top" bgcolor="#FFFFFF">
<img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="5" bgcolor="#FFFFFF">
<img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="5" bgcolor="#FFFFFF">
<img src="http://www.virtualassistantnetworking.com/images/spacerwhite.gif" alt="~" width="10" height="10" /></td>
<td width="779" bgcolor="#FFFFFF">
<div id="header">
</div>
<div class="navbar clear">
<ul class="primarynav">
<li class="home"><a href="<%config.build_root_url%>">Home</a></li>
<li>
<a href="<%config.db_cgi_url%>/add.cgi<%if category_id%>?ID=<%category_id%><%endif%>">
Add a Link</a></li>
<li>
<a href="<%config.db_cgi_url%>/modify.cgi<%if category_id%>?ID=<%category_id%><%endif%>">
Modify a Link</a></li>
<li><a href="<%config.build_root_url%>/New/">New Links</a></li>
<li><a href="<%config.build_root_url%>/Cool/">Cool Links</a></li>
<li><a href="<%config.build_root_url%>/Ratings/">Top Rated</a></li>
<li>
<a href="<%config.db_cgi_url%>/jump.cgi?ID=random<%if config.build_detailed%>;Detailed=1<%endif%>">
Random Link</a></li> <%if config.newsletter_enabled%> </li>
<li><a href="<%config.db_cgi_url%>/subscribe.cgi">Newsletter</a></li>
<%endif%> <%if config.bookmark_enabled%> </li>
<li><a href="<%config.db_cgi_url%>/bookmark.cgi">Bookmarks</a></li>
<%endif%> <%if Links::Utils::is_editor%> </li>
<li><a href="<%config.db_cgi_url%>/browser.cgi">Editors</a></li>
<%endif%> </li>
</ul>
<%~if secondarynav%> <%include $secondarynav%> <%endif%> </div>
<div class="searchbar">
<form action="<%config.db_cgi_url%>/search.cgi">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
<tr>
<td><label for="label">Search</label> <%if category_id%>
<input type="radio" id="radio3" name="catid" value checked />
<label for="radio3">the entire directory</label>
<input type="radio" id="radio4" name="catid" value="<%escape_html category_id%>" />
<label for="radio4">only this category</label> <%endif%>
<input type="text" id="label" name="query2" value="<%if query%><%escape_html query%><%endif%>" class="text" />
<input type="submit" name="Go2" value="Go" class="submit" />
<a href="<%config.db_cgi_url%>/search.cgi">Advanced
Search</a> </td>
<td>
<div id="loginbar">
<a href="<%config.db_cgi_url%>/user.cgi<%if user.Username%>?logout=1<%endif%>" class="<%if user.Username%>in<%else%>out<%endif%>">
<%if user.Username%> Logout <%else%> Login/Register
<%endif%> </a></div>
</td>
</tr>
</table>
</form>
</div>
</td>
</tr>
</table>
</div>
<em></em>


Because its impossible to set the styles correctly with your tables, I just split the login bar into 2 more tables.

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Hmm, that messed up my image links, I guess. Plus, the row where the search bar and the login are is a bit longer than I'd like. I want to stay the same height as it was if at all possible. Is that doable? Should I go ahead and put the coding back the way it was in the meantime?
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
I guess you can't posts long url's in this form. Use this attatched file. Meanwhile, I'll see about making the row shorter.

- Jonathan
Quote Reply
Re: [jdgamble] Help Getting Customizations Just Right In reply to
Oh, hey, that attached one did the trick!!! Here's what it looks like:

http://www.virtualassistantnetworking.com/directory/

I could kiss you!!!
Quote Reply
Re: [therelief] Help Getting Customizations Just Right In reply to
Can I change the subject now? I only have a few things left to figure out on our directory.

One is that when a user click on a link, there a bit more information I want displayed (right now it only shows the website link/link name and then their description). The info I want displayed is:

1. Website link/link name (that is already there)
2. Owners Name (that's the First_Name and Last_Name fields)
3. Phone Number
4. Email (with active link)
5. Description (which already shows)

Do you know how I can make this info show up?
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