View Full Version : OR navigation bar - how do I change it?
no1homes
06-02-2006, 11:26 PM
In The admin area I go to Property Classes and add/delete the classes I want. But at the frontpage the navigation bar still show Farms and Homes...even they're not listed in my Property Classes.
It lasted 2 days now and I have refreshed the site and cleared the cashe many times...nothign happens!:confused:
ebmarques
06-02-2006, 11:35 PM
Adding/deleting classes, does not means you are going to add/delete menu items. Look the source code of main.html inside your template dir - there are the menu items.
Good luck,
Eduardo.
chair
02-23-2008, 05:16 PM
In The admin area I go to Property Classes and add/delete the classes I want. But at the frontpage the navigation bar still show Farms and Homes...even they're not listed in my Property Classes.
It lasted 2 days now and I have refreshed the site and cleared the cashe many times...nothign happens!:confused:
I've deleted the classes but the links still show. I look for menu.php there is none in any folders. I wanted the about us, contact and home links on the left column only shows. How can I remove the other links? I've been searching the forums but I could not find the solution. Any help. Thanks.
:confused:
re-read the previous post as he answered your question if you just read it and pay attention.
chair
02-24-2008, 11:23 AM
re-read the previous post as he answered your question if you just read it and pay attention.
Thank you for a quick reply, I am paying attention but I am not a programmer (FYI). Perhaps It would be great if you tell me which folder do you mean or which tag. Because I check the main.html on every folder, my question is which tag do you mean? If there is anyone out there who can help me with this. Thanks in advance.
<!-- start_html -->
{load_js}
{license_tag}
<div class="content">
<!-- OR files go here -->
{content}
</div>
<!-- end_html -->
wizrad
03-03-2008, 11:19 PM
I'll be nice.
Chair, in the template folder , for example, template/vertical-menu
you'll find the main.html file to edit. in there you'll see the following code.
< l i >< a href="{baseurl}/index.php?action=search_step_2&pclass[]=1" title="Homes">Homes< / a >< / l i >
< li >< a href="{baseurl}/index.php?action=search_step_2&pclass[]=3" title="Farms">Farms< / a >< / l i >
< l i >< a href="{baseurl}/index.php?action=search_step_2&pclass[]=4" title="Commercial">Commercial< / a >< / l i >
< l i > < a href="{baseurl}/index.php?action=search_step_2&pclass[]=2" title="Land">Land< / a > < / l i >
I broke up the tags so hopefully they won't render in this comment. You'll want to either comment out the ones you don't want to show, or delete them. Since you are new to web development as well as OR. (I'm new to OR, but not web development) you will most likely want to just comment it out.
If you are unfamiliar with HTML comments you can go to www.webmonkey.com for some basic HTML tutorials
ewood
08-13-2008, 04:22 PM
I'll be nice.
Chair, in the template folder , for example, template/vertical-menu
you'll find the main.html file to edit. in there you'll see the following code.
< l i >< a href="{baseurl}/index.php?action=search_step_2&pclass[]=1" title="Homes">Homes< / a >< / l i >
< li >< a href="{baseurl}/index.php?action=search_step_2&pclass[]=3" title="Farms">Farms< / a >< / l i >
< l i >< a href="{baseurl}/index.php?action=search_step_2&pclass[]=4" title="Commercial">Commercial< / a >< / l i >
< l i > < a href="{baseurl}/index.php?action=search_step_2&pclass[]=2" title="Land">Land< / a > < / l i >
I broke up the tags so hopefully they won't render in this comment. You'll want to either comment out the ones you don't want to show, or delete them. Since you are new to web development as well as OR. (I'm new to OR, but not web development) you will most likely want to just comment it out.
If you are unfamiliar with HTML comments you can go to www.webmonkey.com for some basic HTML tutorials
Thanks for this reply I'm in the same boat as Chair.
ewood
08-13-2008, 04:50 PM
<!-- before the line
and this after the line -->
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.