Everything seems to work fine for me, except I have one issue. I have a particular menu that I created that has links with variables, such as

www.example.com?variable=123

These work find when I use my menu in a block but for some reason, when using with footermap, the variables are stripped. So my link ends up looking like www.example.com Hoping to find some guidance as to how I can solve this issue. thanks much, other than that, it works great

CommentFileSizeAuthor
#3 footermap-2251103-parse-url.patch1.12 KBmradcliffe
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mradcliffe’s picture

Component: Miscellaneous » Code

In order to help me reproduce and fix this, can you explain how you created the menu link?

Thank you.

butteryak’s picture

Using drupal's menuing system. I clicked "add menu" and then created links in that menu. My links are constructed like this:

content/pagetitle?variable=1234 or content/pagetitle?variable=4567 etc,etc. I had to do this as the pages they are linking to, have some custom php that require the variable. anyway, this works fine when I display this menu in a block, but footer map strips everything after content/pagetitle, so "?variable=xxxx" gets stripped off. hope that helps.

mradcliffe’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Status: Active » Needs review
FileSize
1.12 KB

Patch for 7.x-1.x.

Confirmed behavior in 8.x-1.x already.

mradcliffe’s picture

Status: Needs review » Needs work

Tested with simplytest.me, had some problems.

  • mradcliffe committed 505a22c on 7.x-1.x
    Issue #2251103 by mradcliffe: Fix issue with query and fragment stripped...
mradcliffe’s picture

Status: Needs work » Fixed

I needed to add a new element property to the theme array to fix this. Change record soon.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.