Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
search in horizontal menu

 

 


blackanthem
Novice

Dec 12, 2006, 3:23 PM

Post #1 of 6 (815 views)
Shortcut
search in horizontal menu Can't Post

I have set up the horizontal menu. I am now trying to place the search box on the same line.

It (the search box) keeps jumping to the line below the horizontal menu.

Any tips on how to place the search box on the same line as the horizontal menu?

TIA


ChetW
Staff


Dec 13, 2006, 10:51 AM

Post #2 of 6 (801 views)
Shortcut
Re: [blackanthem] search in horizontal menu [In reply to] Can't Post

Hi,

Thanks for the post!

Although I am not familiar with the code your using for the horizontal menu I am thinking that you should be able to encase the simple search SSI in a <td> tag. For example your finished menu code may look similar to this:


Code
<table></tbody>  

<tr>

<td><!-- INCLUDE CATEGORY LIST --><!--#include virtual="$published.globalMenu.webpath$" --></td>

<td><!-- INCLUDE SEARCH FORM --><!--#include virtual="$published.searchbox.webpath$" --></td>

</tr>

</tbody></table>



What you may also want to do is post an example of the code you are using to generate the horizontal menu, once I have a better idea of how things are set-up I will be happy to help you get the search box set-up. :)

Does this help? I look forward to hearing from you soon!
Cheers,
Chet Woodside - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


toml525
User

Dec 13, 2006, 4:58 PM

Post #3 of 6 (789 views)
Shortcut
Re: [ChetW] search in horizontal menu [In reply to] Can't Post

Chet ,

Here is the code for the menu:

<!-- templateComment -->

<head>
<link href="../singlePages/stylesheet.css" rel="stylesheet" type="text/css" /><!-- /templateComment -->

</head>

<body link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">

<tr><td><ul style="padding:0px; margin:0px;">

<!-- template insert: $categoryList$ -->

<!-- templatecell: categoryRow -->

<li style="display:inline; padding:5px; list-style-type:none; margin: 0px;">

<a href="$published.categoryIndex.url$">$category.name$</a></li>

<!-- /templatecell: categoryRow -->

<!-- templateIf: $categoryList$ eq "" -->

<!-- /templateIf -->

</ul></td></tr>


toml525
User

Dec 14, 2006, 12:57 AM

Post #4 of 6 (782 views)
Shortcut
Re: [toml525] search in horizontal menu [In reply to] Can't Post

Chet,

Here is the code for the menu page itself:

<!-- templateDebugMode: start template: categoryMenus/newcategoryMenu.html -->


</head>

<body link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">

<tr><td><ul style="padding:0px; margin:0px;">

<!-- templateDebugMode: start template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->


<li style="display:inline; padding:5px; list-style-type:none; margin: 0px;">

<a href="http://www.blackanthem.com/News/Military_News_1/index.shtml">Military News</a></li>
<!-- /templateDebugMode: end template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->
<!-- templateDebugMode: start template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->


<li style="display:inline; padding:5px; list-style-type:none; margin: 0px;">

<a href="http://www.blackanthem.com/News/U_S_Military_19/index.shtml">U.S. Military</a></li>
<!-- /templateDebugMode: end template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->
<!-- templateDebugMode: start template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->


<li style="display:inline; padding:5px; list-style-type:none; margin: 0px;">

<a href="http://www.blackanthem.com/News/Allies_20/index.shtml">Allies</a></li>
<!-- /templateDebugMode: end template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->
<!-- templateDebugMode: start template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->


<li style="display:inline; padding:5px; list-style-type:none; margin: 0px;">

<a href="http://www.blackanthem.com/News/International_21/index.shtml">International</a></li>
<!-- /templateDebugMode: end template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->
<!-- templateDebugMode: start template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->


<li style="display:inline; padding:5px; list-style-type:none; margin: 0px;">

<a href="http://www.blackanthem.com/News/Sci_Tech_22/index.shtml">Sci/Tech</a></li>
<!-- /templateDebugMode: end template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->
<!-- templateDebugMode: start template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->


<li style="display:inline; padding:5px; list-style-type:none; margin: 0px;">

<a href="http://www.blackanthem.com/News/Video_24/index.shtml">Video</a></li>
<!-- /templateDebugMode: end template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->
<!-- templateDebugMode: start template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->


<li style="display:inline; padding:5px; list-style-type:none; margin: 0px;">

<a href="http://www.blackanthem.com/News/Publications_25/index.shtml">Publications</a></li>
<!-- /templateDebugMode: end template: categoryMenus/newcategoryMenu.html - templateCell: categoryRow -->






</ul></td></tr><!-- /templateDebugMode: end template: categoryMenus/newcategoryMenu.html -->


This is the code for the search box:

<!-- templateDebugMode: start template: singlePages/newSearchBox.html -->
<body text="#FFFFFF" bgcolor="#FFFFFF">

<form action="http://www.blackanthem.com/cgi-bin/artman2/search.cgi" method="post">
<input type="hidden" name="action" value="search">

<!--
<input type="hidden" name="sortBy" value="fieldname, -fieldnameReverseOrder, fieldname">
<input type="hidden" name="keywordSearchFields" value="title, author">
-->


<table border=0 cellspacing=0 width=100% cellpadding="3" bgcolor="#000000" style="color: #FFFFFF">
<tr>
<li style="display:inline; padding:5px; list-style-type:none; margin: 0px;">
<td class="bg_search_box" bgcolor="#FFFFFF" style="color: #FFFFFF" valign="top">

<font color="#FFFFFF">
<input type="text" name="keyword" size=12></font><font color="#000000">
</font>
<font color="#FFFFFF">
<input type="submit" value="Search"></font></td>
</tr>
</table>

<!-- /templateDebugMode: end template: singlePages/newSearchBox.html -->


toml525
User

Dec 14, 2006, 6:24 AM

Post #5 of 6 (775 views)
Shortcut
Re: [toml525] search in horizontal menu [In reply to] Can't Post

What I eneded up going was removing the tables from both the menu and search templates.

Once I did that, it put the two pages next to each other.


ChetW
Staff


Dec 14, 2006, 4:21 PM

Post #6 of 6 (768 views)
Shortcut
Re: [toml525] search in horizontal menu [In reply to] Can't Post

Hi Tom,

Thanks for the follow-up!

I'm glad to hear that you have got this all worked out! Your re-design looks to be coming along nicely. :)

If you have any other questions please feel free to ask!
Cheers,
Chet Woodside - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]