Critical explanation display BUG (I.E. & Mozilla)

Hi all. I am not able to view trac, but i hope this bug will help a lot. I created a custom membership type in D7 Beta and when user goes to Upgrade membership (Available membership types area), by pressing the Info (Explanation) icon it gets tricky, as follows:

In I.E. pressing on membership type info icon it is opening a popup with the wrong URL http://www.domain.com/modules/explanation.php?explain=membership&type=5 displaying "Profile not available for view"

In Mozilla when pressing on the same icon/button, it is showing the right URL http://www.domain.com/explanation.php?explain=membership&type=5 .

I don't know why in I.E. it has to add the /modules/ string in the URL, which is actually the wrong link.

Please let me know if fixed, and if there's a solution, due to being unable to view Trac. Thank

Quote · 15 Oct 2009

http://www.boonex.com/trac/dolphin/ticket/1314

Rules → http://www.boonex.com/terms
Quote · 16 Oct 2009

Thank you. And the solution? I dont have access to Trac :)

Quote · 16 Oct 2009

Update: the solution is in /modules/boonex/membership/templates/base/available.html

on lines 12 and 19

find: onclick="javascript: window.open('explanation.php?explain=membership&type=__id__'

replace with onclick="javascript: window.open('<bx_url_root />explanation.php?explain=membership&type=__id__'

Cool

Quote · 16 Oct 2009

Same wrong link happens to Shopping cart: (http://www.domain.com/m/payment/cart/)

Membership item to purchase is linking to homepage instead of item description/explanation of the item.

This is on line 30 from modules/boonex/payment/templates/base/cart.hml

<a href="__item_url__">__item_title__</a>(__item_quantity__) - __item_price__ __vendor_currency_code__

I guess there is no such function as __item_url__ or is misconfigured.

Same happens to seller's name link (__vendor_url__) . Same case, it is pointing to site homepage too.  Please check that too

Quote · 16 Oct 2009

http://www.boonex.com/trac/dolphin/ticket/1314

And AlexT, the modification in Trac is still wrong. On line 12 and 19 :

onclick="javascript: window.open('__url_root__explanation.php?explain=membership&type=__id__'

should be :

onclick="javascript: window.open('<bx_url_root />explanation.php?explain=membership&type=__id__'

Then it will work. For me with string __url_root__ gave me error. Cheer

Quote · 16 Oct 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.