Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Listings Manager (Realty Manager & Auto Manager):
Homepage Index Sorting

 

 


themarketplace
Novice

Jan 20, 2003, 11:12 AM

Post #1 of 6 (2119 views)
Shortcut
Homepage Index Sorting Can't Post

Is there a way when going to homepages/index.html for it to list all the user alphabetically instead of by user number?

If so how would I do this? As right now I can only get it to list them in the order they were added to realty manager?


Benjamin
Staff


Jan 20, 2003, 11:41 AM

Post #2 of 6 (2117 views)
Shortcut
Re: [themarketplace] Homepage Index Sorting [In reply to] Can't Post

Hi,

Thanks for your post!

Yes, this is certainly possible, but first you'll need to download our search_homepage add-on script. This allows you to order your homepage index in whatever order you desire.

Take a look at the following forum post, too: http://www.interactivetools.com/forum/gforum.cgi?post=4072

If you need any further help, just post! Smile
Ben
interactivetools.com


themarketplace
Novice

Jan 20, 2003, 1:21 PM

Post #3 of 6 (2113 views)
Shortcut
Re: [Benjamin] Homepage Index Sorting [In reply to] Can't Post

Here is where I am with this - I have one website I am using this on and I have it set up the following way.

The company has three different offices

Broken Arrow
Owasso
Tulsa

hfield1 is where they define which office their associates are in

I have a search page set up so that it will search by either agent or office the problem I am running into is that if I leave the agent name blank when searching it simply displays the agents in alphabetical order -first the broken arrow offices, secondly the owasso offices, thirdly the tulsa offices

When I select an office and leave the name blank it displays all the agents in that office by the order they were entered into the system...

I am attaching the html below so maybe you could tell me where I am going wrong?

<html><head>


<title>Search Listings</title>

<meta name="robots" content="noindex,nofollow">

</head>

<BODY bgcolor=
"#000000" TEXT="#000000" LINK="#000066" VLINK="#000066" alink="#000066" topmargin="0" leftmargin="20">

<form method=
get action="$cgiurl$">

</form>


<center>




<table border=
"1" cellspacing="0" width="691" height="100%" cellpadding="0" bgcolor="#000000" align="left">

<tr>

<td bgcolor="#FFFFFF" bordercolorlight="#C0C0C0" bordercolordark="#C0C0C0" valign="top" align="left">

<p align="center">

<form method="GET" action="$cgiurl$">

<p align="center">

<div align="center">

<table border="0" cellspacing="0" cellpadding="0" height="1" width="415">

<tr>

<td valign="top" align="left" height="4" bgcolor="#990000" width="28"><img border="0" src="white_tl.gif" width="7" height="7"></td>

<td height="7" bgcolor="#990000" rowspan="2" width="366">&nbsp;

<div align="center">

<center>

<table border="0" cellspacing="1" cellpadding="5">

<tr>

<td bgcolor="#FFFFFF" align="left">

<table border="0" cellpadding="5">

<tr>

<td bordercolor="#990000" bgcolor="#990000"><font size="2" face="arial" color="#FFFFFF"><b>Agent

Name
</b></font></td>

<td bordercolor="#990000" bgcolor="#990000"><input name="user_name_keyword" </td size="20">

<input type=
"hidden" name="sort_order" value="user_name,abc,forward">

</tr>

<tr>

<td bordercolor=
"#FFFFFF" bgcolor="#990000"><font size="2" face="arial" color="#FFFFFF"><b>Office

Name</b></font></td>

<td bordercolor=
"#FFFFFF" bgcolor="#990000"><select name="hfield1_keyword" size="1">

<option value=
"">Any

<option value=
"Broken Arrow">Broken Arrow

<option value=
"Owasso">Owasso

<option value=
"Tulsa">Tulsa</option>

</select></td>



<input type=
"hidden" name="perpage" value="8">



</tr>

</select>

</table>

</p>

<div align=
"center">

<input type=
"submit" name="search" value=" Search for Agents / Office">

</div>

</table>



Benjamin
Staff


Jan 20, 2003, 5:05 PM

Post #4 of 6 (2101 views)
Shortcut
Re: [themarketplace] Homepage Index Sorting [In reply to] Can't Post

Hi -

Just to clarify: so when you pick an office from the dropdown menu, (but leave agent's name blank), you want the agent's names (in that office) to be returned alphabetically? And right now, when you leave the agent's name blank, it simply returns ALL agents?

Hmmm... well, there's a couple of things wrong with the following lines:

<input name="user_name_keyword" </td size="20">

<input type=
"hidden" name="sort_order" value="user_name,abc,forward">

First, a little thing: the close ">" is missing off the first input element. Secondly, "user_name_keyword" isn't quite right... To refer to the agent's name, you'll need to refer to the homepage field number where the name is stored. eg. hfield8_keyword. And again, with the second input tag - you'll need to replace user_name with the number of the name field.

Keep me posted on how this goes. Smile

Ben
interactivetools.com


themarketplace
Novice

Jan 21, 2003, 7:53 AM

Post #5 of 6 (2092 views)
Shortcut
Re: [Benjamin] Homepage Index Sorting [In reply to] Can't Post

GREAT - I CAN FIX THAT ONE NO PROBLEM! ---> <input name="user_name_keyword" </td size="20">

Hmm...I am trying to sort the users by their user name - and I guess what you are saying is the only way to sort the users alphabetically is on the homepage have them "re-enter their name into a field ei hfield8? and then sort_order = hfield8,abc,forward?




Benjamin
Staff


Jan 21, 2003, 10:51 AM

Post #6 of 6 (2088 views)
Shortcut
Re: [themarketplace] Homepage Index Sorting [In reply to] Can't Post

Hey again!

You know, I think the simplest solution would be for me to take a look at it directly. Would you mind filling in a support request, then I could have a look at it first hand? - I feel like I'm trying to solve a problem without having all the info! Not an easy thing to do! Smile
Ben
interactivetools.com

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4