PDA

View Full Version : navigation issue



imabizzieguy
02-17-2006, 02:55 PM
i was wondering how to change a catagory link on the store navigation.for example,i
created a "catagory" called account.and i want to lick it to open up the following
link from the top nav:
https://ssl4.westserver.net/bricmcmannonline.com/mm5/merchant.mvc?Session_ID=270243225d02d2c06c3b0dca1f af590e&Screen=LOGN&Order=0&Store_Code=BMO

i ultimatly want to get rid of the top nav all together and have it all on this left
side.in doing the research,i was able to uncover how to get what link is used for a
particular catagory in the back end...this is what it said:You can find these easily
in your MIVA Merchant admin by clicking on the link icon on each category's edit
screen. You'll recognize it by chain represented on the button. Clicking this will
display a pop-up with the URL to that category's display page.

can i change that link to make it point to another area than what defaulted?

josh

wildjokerdesign
02-18-2006, 09:58 AM
Would this page (http://smallbusiness.miva.com/support/docs/merchant/howto41/MM1028.pdf) be relevant maybe? It looks like you can edit the Code of a catagory and from the information you provided I wonder if you entered BMO for the code if it would then link to that page. I am not a Miva user but doing a quick search of thier help pages (http://smallbusiness.miva.com/support/docs/merchant/howto41.html) I found this. This is for Miva version 4 and I think that is what WestHost supplies. If you have version 5 you might want to check the Documentation (http://smallbusiness.miva.com/support/docs/merchant/index.html) for that version.

rispku
02-18-2006, 12:32 PM
Changing the code of the category won't make any difference. The category code is seperate from the screen code in the query.

imabizzieguy, you'll have to make your own links and insert them manually wherever you want them displayed. Depending on where you intend to have the code that formats the side of the page this could be an easy or relatively tedious task.

I'm assuming you want the links to be above the category tree. If you look at the enhanced storefront demo on Miva's site (http://smallbusiness.miva.com/products/demo/mm5/merchant.mvc?Screen=SFNT&Store_Code=Miva_fresh_2), you can see a fairly good example of how you can include the side bar with the category tree on every page of your store. It includes the code in the global header (see the demo admin for this store (http://smallbusiness.miva.com/products/demo/mm5/admin.mvc)). In this example it would be a simple matter of inserting your links above the Miva elements that generate the content for the sidebar. For example (modifying the code from the enhanced storefront's global header)



<td valign="top">
<mvt:item name="fonts" param="ctgy_font">
<form method="post" action="&mvt:global:sessionurl;" name="MiniSearch">
<input type="hidden" name="Store_Code" value="&mvte:store:code;">
<input type="hidden" name="Screen" value="SRCH">
Search the store:<br>
<input type="text" name="Search" size="20" value="Enter keywords" onFocus="document.MiniSearch.Search.value='';"><br>
<input type="Submit" Value="Go">
</form>

<a href="https://ssl4.westserver.net/bricmcmannonline.com/mm5/merchant.mvc?Screen=LOGN&Order=0&Store_Code=BMO">Login</a>
<a href="http://www.yourwebsite.com/mm5/merchant.mvc?Screen=BASK&Store_Code=BMO">View Basket</a>

<mvt:item name="category_tree" />
</mvt:item>
<br><br>
<mvt:item name="fonts" param="ctgy_font">
<mvt:item name="affiliatelink" /><br>
<a href="/products/demo/mm5/merchant.mvc?Screen=HELP&Store_Code=Miva_fresh_2">Get Help</a><br>
<a href="/products/demo/mm5/merchant.mvc?Screen=PRVC&Store_Code=Miva_fresh_2">Privacy Policy</a><br>
</mvt:item>
</td>


Subsequently, you'll have to delete the redundant side bar/category code from each of the pages that include the category tree by default.

imabizzieguy
02-19-2006, 02:25 PM
thanks for your assistance. all i am wanting to do is make the site function like this test page i originally set up:

http://www.bricmcmannonline.com/templates/Vend/indextemp.htm

i dont want to have a header on the top at all,instead i would just like to have all navigation elements on the side.if you go to the site i have up there now:

http://www.bricmcmannonline.com/mm5/merchant.mvc?Screen=SFNT&Store_Code=BMO

youll notice that i have a link at the bottom of my tree called "account".what i want to do is change the page that links to to:

https://ssl4.westserver.net/bricmcmannonline.com/mm5/merchant.mvc?Session_ID=0edef3fb5d9022f1d75e4b703d 5e2b93&Screen=LOGN&Order=0&Store_Code=BMO

all i am trying to accomplish is making it so that the user on the site does not need to have another window open up in order to sign in.i want to code it where everything opens up in the same area that the catagory links open into now.any assistance you could provide would be geat

rispku
02-19-2006, 03:38 PM
Bizzie, please look at the example store again. Nevermind the links at the top of the store's page, but notice that the sidebar is displayed on every page. The code that generated it is included in the global header of the store. This is probably the simplest way to customize the sidebar, and make sure it's displayed on every screen.

Using the category links would require you to do one of the following:

Copy the content/code from the page you want the link to go to, and then paste the content/code into the category header.
Insert either an html or javascript redirect into the header of the category forcing people to be redirected to the appropriate page.
Using conditional statements in the category page to display various content depending on the category name.


Or, you can buy a module that adds a header and footer to the category tree (http://www.mivacentral.com/Merchant2/merchant.mv?store_code=m&screen=PROD&product_code=SS-CATTREE5). You'd still need to insure that the category tree/sidebar is displayed on each sceen/page of your site, though.