[Skip to main content](#vessel-content)

#   triggering rokbox instead of squeezebox for notice

##

- **[Ortix](/forum/user/12608-ortix "View Ortix's Profile")**
- [![Ortix's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12608-ortix "View Ortix's Profile") Topic Author
- [ Offline](/forum/user/12608-ortix)

Less More

- Posts: 73
- Thank you received: 1
-
-

13 years 3 weeks ago -  13 years 3 weeks ago [\#126684](#126684) by [Ortix](/forum/user/12608-ortix "View Ortix's Profile")  *[triggering rokbox instead of squeezebox for notice](/forum/31-development/862601-triggering-rokbox-instead-of-squeezebox-for-notice#126684 "I'm running hikashop 1.6 business on joomla 2.5. I'm trying to replace squeezebox with rokbox. I got the trigger links all set up, but I don't know how to actually trigger them. If i run the following in firebug console it works fine:  However when triggered through ?popup=1 the sbox overlay appears but the popupbox doesn't.  I already added hikashop&#95;popup&#95;js&#95;render($url) to the override and replaced two lines with the line above. However the sbox overlay still appears. Where is that event fired? I looked in the JS file in the media folder but I can't find it there.  Help would be greatly appreciated  EDIT: Somewhat offtopic,  but in the popup the background color is gray. That's because of the template i'm using. It's using the body background color. However I want the entire popup to be white. I can't just change the body color in the CSS, and I can't do &quot;iframe body {}&quot; since that violates the same-origin policy.. Any ideas?")* was created by *[Ortix](/forum/user/12608-ortix "View Ortix's Profile")*

I'm running hikashop 1.6 business on joomla 2.5. I'm trying to replace squeezebox with rokbox.
I got the trigger links all set up, but I don't know how to actually trigger them. If i run the following in firebug console it works fine: Code:

$("#hikashop_notice_box_trigger_link").find("a").get(0).click();

However when triggered through ?popup=1 the sbox overlay appears but the popupbox doesn't.

I already added
hikashop_popup_js_render($url)
to the override and replaced two lines with the line above. However the sbox overlay still appears. Where is that event fired? I looked in the JS file in the media folder but I can't find it there.

Help would be greatly appreciated

EDIT:
Somewhat offtopic,

but in the popup the background color is gray. That's because of the template i'm using. It's using the body background color. However I want the entire popup to be white. I can't just change the body color in the CSS, and I can't do "iframe body {}" since that violates the same-origin policy.. Any ideas?

Last edit: 13 years 3 weeks ago by [Ortix](/forum/user/12608-ortix "View Ortix's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MjYwMS10cmlnZ2VyaW5nLXJva2JveC1pbnN0ZWFkLW9mLXNxdWVlemVib3gtZm9yLW5vdGljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 3 weeks ago [\#126734](#126734) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[triggering rokbox instead of squeezebox for notice](/forum/31-development/862601-triggering-rokbox-instead-of-squeezebox-for-notice#126734 "I'm running hikashop 1.6 business on joomla 2.5. I'm trying to replace squeezebox with rokbox. I got the trigger links all set up, but I don't know how to actually trigger them. If i run the following in firebug console it works fine:  However when triggered through ?popup=1 the sbox overlay appears but the popupbox doesn't.  I already added hikashop&#95;popup&#95;js&#95;render($url) to the override and replaced two lines with the line above. However the sbox overlay still appears. Where is that event fired? I looked in the JS file in the media folder but I can't find it there.  Help would be greatly appreciated  EDIT: Somewhat offtopic,  but in the popup the background color is gray. That's because of the template i'm using. It's using the body background color. However I want the entire popup to be white. I can't just change the body color in the CSS, and I can't do &quot;iframe body {}&quot; since that violates the same-origin policy.. Any ideas?")*

Hi,

HikaShop 1.6 does not have the same improvements for the popup than HikaShop 2.2 have.

I don't know how you want to integrate rokbox but for most I know, you would have to touch at the HikaShop core in order to change how the popup are displayed in HikaShop.
With HikaShop 2.0 we externalize the popups in a helper, it allow us to have a single entry for all popup and change how they are made (so can use mootools popup or jquery bootstrap modals).

Squeebox uses the class "modal" in order to find which link it has to "listen" for opening his popups.

It will be difficult to help you on HikaShop 1.6.0, this version has more than one year old and HikaShop changed a lot. So we can know how to do it in HikaShop 2.2 but it won't work with HikaShop 1.6.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [Ortix](/forum/user/12608-ortix "View Ortix's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MjYwMS10cmlnZ2VyaW5nLXJva2JveC1pbnN0ZWFkLW9mLXNxdWVlemVib3gtZm9yLW5vdGljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Ortix](/forum/user/12608-ortix "View Ortix's Profile")**
- [![Ortix's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12608-ortix "View Ortix's Profile") Topic Author
- [ Offline](/forum/user/12608-ortix)

Less More

- Posts: 73
- Thank you received: 1
-
-

13 years 3 weeks ago [\#126849](#126849) by [Ortix](/forum/user/12608-ortix "View Ortix's Profile")  Replied by *[Ortix](/forum/user/12608-ortix "View Ortix's Profile")* on topic *[triggering rokbox instead of squeezebox for notice](/forum/31-development/862601-triggering-rokbox-instead-of-squeezebox-for-notice#126849 "I'm running hikashop 1.6 business on joomla 2.5. I'm trying to replace squeezebox with rokbox. I got the trigger links all set up, but I don't know how to actually trigger them. If i run the following in firebug console it works fine:  However when triggered through ?popup=1 the sbox overlay appears but the popupbox doesn't.  I already added hikashop&#95;popup&#95;js&#95;render($url) to the override and replaced two lines with the line above. However the sbox overlay still appears. Where is that event fired? I looked in the JS file in the media folder but I can't find it there.  Help would be greatly appreciated  EDIT: Somewhat offtopic,  but in the popup the background color is gray. That's because of the template i'm using. It's using the body background color. However I want the entire popup to be white. I can't just change the body color in the CSS, and I can't do &quot;iframe body {}&quot; since that violates the same-origin policy.. Any ideas?")*

thank you for your answer. We will look into upgrading hikashop in the near future.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MjYwMS10cmlnZ2VyaW5nLXJva2JveC1pbnN0ZWFkLW9mLXNxdWVlemVib3gtZm9yLW5vdGljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[teubernet](/forum/user/28697-teubernet "View teubernet's Profile")**
- [![teubernet's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28697-teubernet "View teubernet's Profile")
- [ Offline](/forum/user/28697-teubernet)

Less More

- Posts: 9
- Thank you received: 0
-
-

13 years 1 day ago -  13 years 23 hours ago [\#130038](#130038) by [teubernet](/forum/user/28697-teubernet "View teubernet's Profile")  Replied by *[teubernet](/forum/user/28697-teubernet "View teubernet's Profile")* on topic *[triggering rokbox instead of squeezebox for notice](/forum/31-development/862601-triggering-rokbox-instead-of-squeezebox-for-notice#130038 "I'm running hikashop 1.6 business on joomla 2.5. I'm trying to replace squeezebox with rokbox. I got the trigger links all set up, but I don't know how to actually trigger them. If i run the following in firebug console it works fine:  However when triggered through ?popup=1 the sbox overlay appears but the popupbox doesn't.  I already added hikashop&#95;popup&#95;js&#95;render($url) to the override and replaced two lines with the line above. However the sbox overlay still appears. Where is that event fired? I looked in the JS file in the media folder but I can't find it there.  Help would be greatly appreciated  EDIT: Somewhat offtopic,  but in the popup the background color is gray. That's because of the template i'm using. It's using the body background color. However I want the entire popup to be white. I can't just change the body color in the CSS, and I can't do &quot;iframe body {}&quot; since that violates the same-origin policy.. Any ideas?")*

And how does it work in Hika Shop 2.2.2, I want to use rokbox for all popups, so I have the same style of popups on the whole site.

Best regards

Christian

Last edit: 13 years 23 hours ago by [teubernet](/forum/user/28697-teubernet "View teubernet's Profile"). Reason: Additional Informations

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MjYwMS10cmlnZ2VyaW5nLXJva2JveC1pbnN0ZWFkLW9mLXNxdWVlemVib3gtZm9yLW5vdGljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 22 hours ago [\#130058](#130058) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[triggering rokbox instead of squeezebox for notice](/forum/31-development/862601-triggering-rokbox-instead-of-squeezebox-for-notice#130058 "I'm running hikashop 1.6 business on joomla 2.5. I'm trying to replace squeezebox with rokbox. I got the trigger links all set up, but I don't know how to actually trigger them. If i run the following in firebug console it works fine:  However when triggered through ?popup=1 the sbox overlay appears but the popupbox doesn't.  I already added hikashop&#95;popup&#95;js&#95;render($url) to the override and replaced two lines with the line above. However the sbox overlay still appears. Where is that event fired? I looked in the JS file in the media folder but I can't find it there.  Help would be greatly appreciated  EDIT: Somewhat offtopic,  but in the popup the background color is gray. That's because of the template i'm using. It's using the body background color. However I want the entire popup to be white. I can't just change the body color in the CSS, and I can't do &quot;iframe body {}&quot; since that violates the same-origin policy.. Any ideas?")*

Hi,

In HikaShop 2.2.2, we centralized the popups in the helper popup.
So by modifying/overriding one single file it is possible to change (nearly) all popups in HikaShop.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MjYwMS10cmlnZ2VyaW5nLXJva2JveC1pbnN0ZWFkLW9mLXNxdWVlemVib3gtZm9yLW5vdGljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[teubernet](/forum/user/28697-teubernet "View teubernet's Profile")**
- [![teubernet's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28697-teubernet "View teubernet's Profile")
- [ Offline](/forum/user/28697-teubernet)

Less More

- Posts: 9
- Thank you received: 0
-
-

13 years 22 hours ago [\#130062](#130062) by [teubernet](/forum/user/28697-teubernet "View teubernet's Profile")  Replied by *[teubernet](/forum/user/28697-teubernet "View teubernet's Profile")* on topic *[triggering rokbox instead of squeezebox for notice](/forum/31-development/862601-triggering-rokbox-instead-of-squeezebox-for-notice#130062 "I'm running hikashop 1.6 business on joomla 2.5. I'm trying to replace squeezebox with rokbox. I got the trigger links all set up, but I don't know how to actually trigger them. If i run the following in firebug console it works fine:  However when triggered through ?popup=1 the sbox overlay appears but the popupbox doesn't.  I already added hikashop&#95;popup&#95;js&#95;render($url) to the override and replaced two lines with the line above. However the sbox overlay still appears. Where is that event fired? I looked in the JS file in the media folder but I can't find it there.  Help would be greatly appreciated  EDIT: Somewhat offtopic,  but in the popup the background color is gray. That's because of the template i'm using. It's using the body background color. However I want the entire popup to be white. I can't just change the body color in the CSS, and I can't do &quot;iframe body {}&quot; since that violates the same-origin policy.. Any ideas?")*

And which file is it?

best regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MjYwMS10cmlnZ2VyaW5nLXJva2JveC1pbnN0ZWFkLW9mLXNxdWVlemVib3gtZm9yLW5vdGljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 20 hours ago [\#130085](#130085) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[triggering rokbox instead of squeezebox for notice](/forum/31-development/862601-triggering-rokbox-instead-of-squeezebox-for-notice#130085 "I'm running hikashop 1.6 business on joomla 2.5. I'm trying to replace squeezebox with rokbox. I got the trigger links all set up, but I don't know how to actually trigger them. If i run the following in firebug console it works fine:  However when triggered through ?popup=1 the sbox overlay appears but the popupbox doesn't.  I already added hikashop&#95;popup&#95;js&#95;render($url) to the override and replaced two lines with the line above. However the sbox overlay still appears. Where is that event fired? I looked in the JS file in the media folder but I can't find it there.  Help would be greatly appreciated  EDIT: Somewhat offtopic,  but in the popup the background color is gray. That's because of the template i'm using. It's using the body background color. However I want the entire popup to be white. I can't just change the body color in the CSS, and I can't do &quot;iframe body {}&quot; since that violates the same-origin policy.. Any ideas?")*

Hi,

The file is as Jerome said the helper popup.
"administrator/components/com_hikashop/helpers/popup.php"

Be careful if you edit directly the popup.php file, the changes will be lost when updating.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MjYwMS10cmlnZ2VyaW5nLXJva2JveC1pbnN0ZWFkLW9mLXNxdWVlemVib3gtZm9yLW5vdGljZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.114 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
