View Full Version : Home?
QuailBooks
09-24-2007, 11:00 AM
I just noticed that if you are browsing stores or categories and select the 'Home' button you don't return to the Webidz home page but rather to the home page of the category or store. This is a little bug you might want to look into in the near future.
-phil
admin
09-24-2007, 09:05 PM
Phil,
Are you using the red "Home" button on the top navigation menu? I have just checked the home button on the top menu bar, the home button on the footer, and the return to home link on the auction details page... None of which directed me anywhere but the home page. I have also checked the category and stores pages, but could not find any that directed me to pages other than the home page. I completed these tests while logged in and while logged out.
You may want to clear the cache on your PC, then re-check these links. If this still persists, please provide a specific url where this is happening to you, that way we can check into this further.
QuailBooks
09-25-2007, 08:04 AM
OK, some further explaination of the problem seen. First, I use Firefox v2.0.0.7 with all scripts enabled for Webidz. Popup blocker is enabled.
Case: Not Logged In
I went to Coins > Coins: US > Half Dimes and hover over the red home button the preview of the link is "http://www.webidz.com/categories.php?parent_id=4046" which happens to be the same category that I'm in. Selecting the red button leaves me in the same category and doesn't send me home.
If I hover over the "Category" grey button then it shows "http://www.webidz.com/categories.php?". Selecting the grey "Category" button sends me to a main category selection page, but not home.
Looking at the HTML that was generated for the page I get the following code for the "Home" button.
<td class="topnav2" nowrap="nowrap">
<a class="topnav tnavheight" href="">HOME</a>
</td>
then code for the spacer as follows:
<td class="topnav2" nowrap="nowrap">
<img width="2" height="40" src="themes/webidz_custom_1/layout/webidz/nav_div.gif"/>
</td>
then the code for the register button as follows:
<td class="topnav2" nowrap="nowrap">
<a class="topnav tnavheight" href="https://www.webidz.com/register.php">REGISTER</a>
</td>
As you can see the register --and all the other red buttons-- have an href which works, but the home button doesn't have the href just a blank string.
It is the same in the case where I'm logged in to webidz.
-phil
Edit to add: I forgot to mention that the code generated for the footer is:
td class="foot_bg_red" width="100%">
<div align="center" style="font-weight: bold;">
<a class="accnav" href=""> HOME </a>
|
<a class="accnav" href="https://www.webidz.com/sell_item,redirect,login"> SELL </a>
|
<a class="accnav" href="https://www.webidz.com/register.php"> REGISTER </a>
|
<a class="accnav" href="https://www.webidz.com/login.php"> LOGIN </a>
|
<a class="accnav" href="http://www.webidz.com/faq/">HELP/FAQ</a>
|
<a class="accnav" href="http://community.webidz.com/index.php">COMMUNITY </a>
|
<a class="accnav" href="http://www.webidz.com/about_us,page,content_pages">ABOUT US</a>
|
<a class="accnav" href="http://www.webidz.com/contact_us,page,content_pages">CONTACT US</a>
|
<a class="accnav" href="site_fees.php">SITE FEES</a>
</div>
</td>
Again a blank string for the href of the home button.
admin
09-25-2007, 10:52 AM
By having a blank url (href=""), it should just take you back to the root directory... which would be http://www.webidz.com/. I know it works that way in IE, possibly firefox is different? I will have to investigate that further.
Can you see all the images on the pages? As this is using the same method... if you look at the image urls in the html, they will not have the http://www.wedidz.com/, but just the path after the root.
I have changed the header and footer sections to include the full url, so it should work for you now.
admin
09-25-2007, 10:57 AM
If I hover over the "Category" grey button then it shows "http://www.webidz.com/categories.php?". Selecting the grey "Category" button sends me to a main category selection page, but not home
This is the way this is supposed to function. It is taking you to the categories home page. The only way to go to the site home page would be to click the home button on the header or footer, or by clicking the WeBidz logo at the top of the page.
QuailBooks
09-25-2007, 03:30 PM
Thanks. Both of the home buttons are working now with Firefox. IE makes some assumptions that aren't really valid html/css/php coding standards. For those of us using Firefox this makes for some interesting results.
On the other hand, for those of us that develop websites that work with Firefox and will validate IE causes all types of problems. You can't win for losing sometimes.:)
-phil
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.