?
Solved

Trouble with Phantom URL Parameter

Posted on 2008-11-19
7
Medium Priority
?
302 Views
Last Modified: 2012-06-21
I am working with a cms system made by a company called Ektron.  I have contacted them on this issue, but they have no idea how to fix it.  I figured this site was my best shot for an answer, so here goes the question:

In my URL, I have a value called ekmensel.  I do not need this value, but I can't find the code that's making it show up.  I want to get rid of this value, because it provides no functionality that I can see. I believe it is being added by some javascript, and I do not know how to track it down.  Here is the site that I'm working on: http://64.1.44.148/stage/default.aspx

From that site, click around on a few links, and you will see the ekmensel value show up in the URL.  Not all the links will work, because the site is still in transition from stage to live.  Please let me know if I need to provide anything else.  Thanks for reading.
0
Comment
Question by:thedeal56
  • 3
  • 3
7 Comments
 
LVL 24

Expert Comment

by:glcummins
ID: 22994667
The "ekmense" parameter is being explicitly added to the "Residents" link. Hover your mouse over that link, and you will see the parameter in the URL listed at the bottom of your browser.

The line that creates that link is:

<div  id="c57dfa7b_452_0"  class="ekmenu_submenu" ><a  id="c57dfa7b_452_0_btnlink"  class="ekmenu_submenu_btnlink"  onclick="ekMenuEx.itemLinkClickHdlr(event);" ondblclick="ekMenuEx.itemLinkClickHdlr(event);"  href="/stage/default.aspx?ekmenu=154&amp;id=3176&amp;ekmense" onkeydown="ekMenuEx.menuBtnKeyHdlr(event);" ><span  class="ekmenu_button"  id="c57dfa7b_452_0_button" onmouseover="ekMenuEx.menuBtnMouseOverHdlr(event);" onmouseout="ekMenuEx.menuBtnMouseOutHdlr(event);" onfocus="ekMenuEx.menuBtnMouseOverHdlr(event);" onblur="ekMenuEx.menuBtnMouseOutHdlr(event);" onkeydown="ekMenuEx.menuBtnKeyHdlr(event);" tabindex="0"  ><img src="/stage/images/residents.gif"  class="ekmenu_button_image"  id="c57dfa7b_452_0_button_image"  alt="Residents Top"  /></span></a><div  id="c57dfa7b_452_0_submenu_items"  class="ekmenu_submenu_items_hidden" >

Notice also that "ekmenu" is referenced several times in that line, as if it is part of the structure of the application.
0
 
LVL 15

Expert Comment

by:Tomarse111
ID: 22994721
Its being added from your menu in ek_menu_ex.js

function __ekMenuEx_ekMenu_selectMenuItem(el) { on line 1997

I think its meant to be there to enable the menu style sheet to change to the selected page? not sure but I would definitely leave it there.
0
 
LVL 15

Expert Comment

by:Tomarse111
ID: 22994734
The details for that function are:

///////////////////////////////////////////////////////////
// ekMenuEx Instance Member Helper Function.
// Called when a menu-item (such as a link) is clicked,
// modifies the items href parameter to pass the selected
// item info over the querystring:
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:thedeal56
ID: 22994737
I was thinking that too, but if you remove ekmensel from the url, the page is still highlighted.  
0
 
LVL 15

Accepted Solution

by:
Tomarse111 earned 2000 total points
ID: 22994759
Try commenting out the line 992:

menuObj.selectMenuItem(el);

and see if that a) removes it and b) the menu still works. THat is where the function above is being called.
0
 

Author Comment

by:thedeal56
ID: 22994894
That seems to work!  Thank you very much.  I will need to make another post for my next question, but I would appreciate some preliminary input on it:

What I am wanting to do is stop the remaining URL values from being sent through the URL, and have them function like a html form's post method.  How difficult a task am I looking at if I choose to go that route?  Thanks again for you help.
0
 

Author Closing Comment

by:thedeal56
ID: 31518271
Thanks!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question