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

#   Navigation buttons in shadowbox

##

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

Less More

- Posts: 80
- Thank you received: 8
-
-
-
-

11 years 8 months ago [\#196107](#196107) by [bp54](/forum/user/33970-bp54 "View bp54's Profile")  *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#196107 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")* was created by *[bp54](/forum/user/33970-bp54 "View bp54's Profile")*

-- url of the page with the problem -- : [ luizink-werktuigen.nl/](http://luizink-werktuigen.nl/)
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.5.20
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : n/a

Hi,

I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together.
Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.

Any help would be appreciated.

Regards, Benny.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzU5MzQtbmF2aWdhdGlvbi1idXR0b25zLWluLXNoYWRvd2JveD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) 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)
-

11 years 8 months ago [\#196113](#196113) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#196113 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi,

At this time we have Shadowbox or Mootools, Mootools don't have any navigation arrows, and as you said Shadowbox don't seem to be very adapted for touchscreens..

There is no other integrations, but if you have in mind the name of a good extension allowing swipe navigation we could add the integration with this extension on our Todo list.

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

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

Less More

- Posts: 80
- Thank you received: 8
-
-
-
-

11 years 8 months ago [\#196495](#196495) by [bp54](/forum/user/33970-bp54 "View bp54's Profile")  Replied by *[bp54](/forum/user/33970-bp54 "View bp54's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#196495 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi Xavier,

I did customize the css file plugins/system/shadowbox/shadowbox/examples/build/shadowbox.css in a way that it is easier to navigate on a tablet. On a smartphone however the leftmost button now disappears but that is not an issue for this customer.

Maybe you could do something with Blueimp ([ github.com/blueimp/Gallery](https://github.com/blueimp/Gallery)).
[ www.nterwebdesign.nl/extensions/blueimp-lightbox](http://www.nterwebdesign.nl/extensions/blueimp-lightbox) made a plugin with this blueimp lightbox.

This lightbox is responsive and swipable.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 8 months ago [\#196509](#196509) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#196509 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi,

We've looked at it and the way it is done, it's not easy to integrate with it for our code structure. We'll see if we can done something we it but it doesn't look good (even though the lightbox system itself looks good).
If you find another lightbox gallery system, let us know. If might be easier to integrate than this one.

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

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

Less More

- Posts: 80
- Thank you received: 8
-
-
-
-

11 years 8 months ago [\#196596](#196596) by [bp54](/forum/user/33970-bp54 "View bp54's Profile")  Replied by *[bp54](/forum/user/33970-bp54 "View bp54's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#196596 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Nano Gallery ([ nanogallery.brisbois.fr/#nanogallery/nan...me/72157647149413477](http://nanogallery.brisbois.fr/#nanogallery/nanoGalleryHome/72157647149413477)) is also a great responsive and touch enabled (slidable) gallery. It is also used by Ozio Gallery ([ extensions.joomla.org/extension/ozio-gallery](http://extensions.joomla.org/extension/ozio-gallery)). I run Ozio Gallery on one of my websites and it is a realy great viewer.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzU5MzQtbmF2aWdhdGlvbi1idXR0b25zLWluLXNoYWRvd2JveD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#196600](#196600) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#196600 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi,

The lib is a little bit more compatible with a gallery system even if I'm not sure it will work with the HikaShop system ; specially when you have variants which change dynamically the images.

Some other issue that we could have, is the license of that library :

> For personal, non-profit organizations, or open source projects (without any kind of fee), you may use nanoGALLERY for jQuery for free.
> All other uses require the purchase of a professional license.

If Nano Gallery want to create an integration with the HikaShop image lightbox system ; we can provide all useful details for that, but I don't think that we will integrate (again) some code in HikaShop with a component which have a restrictive license.

Regards,

---

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

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

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

Less More

- Posts: 119
- Thank you received: 6
-
- [](http://www.en-toutes-lettres.fr)
-

11 years 7 months ago [\#198929](#198929) by [tramber91](/forum/user/82-tramber91 "View tramber91's Profile")  Replied by *[tramber91](/forum/user/82-tramber91 "View tramber91's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#198929 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi

I"m trying to integrate rokbox 2 instead of shadow box

i fix the setting to shadowbox external

i simply change line 564 to 568 of popup.php to
Code:

$rel = ' data-rokbox data-rokbox-caption="'.$params['title'].'" '; if(!empty($params['gallery'])) { $rel = ' data-rokbox data-rokbox-caption="'.$params['title'].'" data-rokbox-album="'.str_replace('"','', $params['gallery']).'"';

seems ok but 2 issues

1) I cannot have the title for the caption.(data-rokbox-caption). i have tried also with $title on my code. The image title don't want to load

2) gallery don't want to load on first picture . if i click on one of other picture data-rokbox-album is loaded

test here
[ www.tricotin.tramber9.o2switch.net/index...ls-fantaisie-abakan/](http://www.tricotin.tramber9.o2switch.net/index.php/boutique/produit/3-fils-fantaisie-abakan/)

question: i can overide popup.php ?
This option (rokbox integration) cannot be in the system ?

thanks

Bertrand

---

[ www.en-toutes-lettres.fr/](http://www.en-toutes-lettres.fr/)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzU5MzQtbmF2aWdhdGlvbi1idXR0b25zLWluLXNoYWRvd2JveD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#199030](#199030) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199030 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi,

If you want to use the parameter title ; you have to pass it when you call the function, like the gallery is already passed Code:

echo $this-&gt;popup-&gt;image($html, $img-&gt;origin_url, $id, $attr, array('gallery' =&gt; 'hikashop_main_image'));

In the product page, the first picture is not made to open the gallery ; it does not have any gallery parameter and his code (giving in the $attr) is made to simulate a click on the corresponding thumbnail.

Because the popup helper is an HikaShop helper ; you can override it (like HikaShop classes).
See explanation here : [ www.hikashop.com/forum/product-category-...atermark.html#184987](https://www.hikashop.com/forum/product-category-display/873470-watermark.html#184987)
You will need to do the same thing for "popup" and override just the function "image" to call your custom "imageRokbox" function.

We will modify the popup helper in order to allow plugins to create new types ; so instead of doing an override, you will have your little custom plugin.

Regards,

---

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

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

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

Less More

- Posts: 119
- Thank you received: 6
-
- [](http://www.en-toutes-lettres.fr)
-

11 years 7 months ago [\#199040](#199040) by [tramber91](/forum/user/82-tramber91 "View tramber91's Profile")  Replied by *[tramber91](/forum/user/82-tramber91 "View tramber91's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199040 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

oula, thanks

means in block_img near
Code:

if(empty($variant_name)) { echo $this-&gt;popup-&gt;image($html, $img-&gt;origin_url, $id, $attr, array('gallery' =&gt; 'hikashop_main_image')); } else { echo $this-&gt;popup-&gt;image($html, $img-&gt;origin_url, $id, $attr, array('gallery' =&gt; 'hikashop_main_image_VARIANT_NAME'));

i need to add the title somewhere ?
i'm little bit lost in php sorry

Bertrand

---

[ www.en-toutes-lettres.fr/](http://www.en-toutes-lettres.fr/)

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

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

Less More

- Posts: 80
- Thank you received: 8
-
-
-
-

11 years 7 months ago [\#199046](#199046) by [bp54](/forum/user/33970-bp54 "View bp54's Profile")  Replied by *[bp54](/forum/user/33970-bp54 "View bp54's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199046 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi Bertrand,
I'm very interested in the Rokbox implementation. If it works in Hikashop, would you be so kind to publish a link where i can see the demo and also make a description available in this forum?
Regards, Benny.

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

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

Less More

- Posts: 119
- Thank you received: 6
-
- [](http://www.en-toutes-lettres.fr)
-

11 years 7 months ago [\#199052](#199052) by [tramber91](/forum/user/82-tramber91 "View tramber91's Profile")  Replied by *[tramber91](/forum/user/82-tramber91 "View tramber91's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199052 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Thaks Jérome

the best i can have with rokbox

[ www.tricotin.tramber9.o2switch.net/index...ls-fantaisie-abakan/](http://www.tricotin.tramber9.o2switch.net/index.php/boutique/produit/3-fils-fantaisie-abakan/)

my small modif in popup.php
Code:

if(!$isRel) { $rel = ' data-rokbox '; if(!empty($params['gallery'])) { $rel = ' data-rokbox data-rokbox-album="'.str_replace('"','', $params['gallery']).'"';

i don't succeed to call fonction for titlle ==&gt; in my block_img overide i juste replace title by data-rokbox-caption
Code:

if($img-&gt;success) { $attr = 'data-rokbox-caption="'.$this-&gt;escape(@$image-&gt;file_description).'"'; if (!empty ($this-&gt;element-&gt;images) &amp;&amp; count($this-&gt;element-&gt;images) &gt; 1) { $attr .= ''; } $html = '&lt;img id="hikashop_main_image'.$variant_name.'" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" data-rokbox-caption="'.$this-&gt;escape(@$image-&gt;file_description).'" title="'.$this-&gt;escape(@$image-&gt;file_description).'" alt="'.$this-&gt;escape(@$image-&gt;file_name).'" src="'.$img-&gt;url.'"/&gt;';

and
Code:

$attr = 'data-rokbox-caption="'.$this-&gt;escape(@$image-&gt;file_description).'" onmouseover="return window.localPage.changeImage(this, \'hikashop_main_image'.$variant_name.'\', \''.$img-&gt;url.'\', '.$img-&gt;width.', '.$img-&gt;height.', \''.str_replace("'","\'",@$image-&gt;file_description).'\', \''.str_replace("'","\'",@$image-&gt;file_name).'\');"';

concerning overide, i can wait for your trick !!

i have tested with this file (function image) without success
Code:

&lt;?php defined('_JEXEC') or die('Restricted access'); include_once $originalFile; class hikashopPopupHelperOverride extends hikashopPopupHelper { } class hikashopPopupHelper{ function image($content, $url, $id = null, $attr = '', $params = array()) { $html = ''; $config = hikashop_config(); $popupMode = $config-&gt;get('image_popup_mode', 'mootools'); switch($popupMode) { case 'shadowbox': case 'shadowbox-embbeded': return $this-&gt;imageShadowbox($content, $url, $id, $attr, $params); case 'mootools': default: return $this-&gt;imageMootools($content, $url, $id, $attr, $params); } return $html; } function imageMootools($content, $url, $id = null, $attr = '', $params = array()) { JHtml::_('behavior.modal'); $html = ''; if($content === null) return $html; $isOnclick = (strpos($attr, 'onclick="') !== false); $onClick = ''; if(!$isOnclick) $onClick = ' onclick="SqueezeBox.fromElement(this,{parse:\'rel\'});return false;"'; if(!empty($id)) $id = ' id="'.$id.'"'; else $id = ''; $html = '&lt;a '.$attr.$onClick.$id.' href="'.$url.'" rel="{handler:\'image\'}" target="_blank"&gt;'.$content.'&lt;/a&gt;'; return $html; } function imageShadowbox($content, $url, $id = null, $attr = '', $params = array()) { $html = ''; if($content === null) return $html; static $init = false; if($init === false) { $config = hikashop_config(); $shadowboxMode = $config-&gt;get('image_popup_mode', 'mootools'); $doc = JFactory::getDocument(); if($shadowboxMode != 'shadowbox-embbeded') { $doc-&gt;addStyleSheet('//www.hikashop.com/cdn/shadowbox/shadowbox.css'); $doc-&gt;addScript('//www.hikashop.com/cdn/shadowbox/shadowbox.js'); $doc-&gt;addScriptDeclaration("\r\n".'Shadowbox.init();'."\r\n"); } $doc-&gt;addScriptDeclaration("\r\n".'(function(){ window.Oby.registerAjax("hkContentChanged", function(){ Shadowbox.clearCache(); Shadowbox.setup(); }); })();'."\r\n"); $init = true; } $isRel = (strpos($attr, 'rel="') !== false); $rel = ''; if(!$isRel) { $rel = ' data-rokbox data-rokbox-album="'.str_replace('"','', $params['gallery']).'"'; if(!empty($params['gallery'])) { $rel = ' data-rokbox data-rokbox-album="'.str_replace('"','', $params['gallery']).'"'; } } if(!empty($id)) $id = ' id="'.$id.'"'; else $id = ''; $html = '&lt;a '.$attr.$rel.$id.' href="'.$url.'"&gt;'.$content.'&lt;/a&gt;'; return $html; } function getAttr($attr, $class) { if(empty($attr)) { return 'class="'.$class.'"'; } $attr = ' '.$attr; if(strpos($attr, ' class="') !== false) { $attr = str_replace(' class="', ' class="'.$class.' ', $attr); } elseif(strpos($attr, ' class=\'') !== false) { $attr = str_replace(' class=\'', ' class=\''.$class.' ', $attr); } else { $attr .= ' class="'.$class.'"'; } return trim($attr); } }

grosse bidouille ![:P](/media/kunena/emoticons/14.png ":P")

take care

Bertrand

---

[ www.en-toutes-lettres.fr/](http://www.en-toutes-lettres.fr/)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzU5MzQtbmF2aWdhdGlvbi1idXR0b25zLWluLXNoYWRvd2JveD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#199079](#199079) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199079 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi,

Just put the function image into the class hikashopPopupHelperOverride and you your specific content for rokbox into it.
About the title ; you need to add a new parameter in the array where you can already see the "gallery" parameter.

Regards,

---

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

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

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

Less More

- Posts: 119
- Thank you received: 6
-
- [](http://www.en-toutes-lettres.fr)
-

11 years 7 months ago -  11 years 7 months ago [\#199140](#199140) by [tramber91](/forum/user/82-tramber91 "View tramber91's Profile")  Replied by *[tramber91](/forum/user/82-tramber91 "View tramber91's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199140 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

I try ![:angry:](/media/kunena/emoticons/23.png ":angry:")

My new file, named poppu.php, i have pot in
mytemplate/html/com_hikashop/administrator/helpers
Code:

&lt;?php defined('_JEXEC') or die('Restricted access'); include_once $originalFile; class hikashopPopupHelperOverride extends hikashopPopupHelper { function image($content, $url, $id = null, $attr = '', $params = array()) { $html = ''; if($content === null) return $html; $isRel = (strpos($attr, 'rel="') !== false); $rel = ''; if(!$isRel) { $rel = ' data-rokbox '; if(!empty($params['gallery'])) { $rel = ' data-rokbox data-rokbox-album="'.str_replace('"','', $params['gallery']).'"'; } } if(!empty($id)) $id = ' id="'.$id.'"'; else $id = ''; $html = '&lt;a '.$attr.$rel.$id.' href="'.$url.'"&gt;'.$content.'&lt;/a&gt;'; return $html; } }

without succes

Bertrand

---

[ www.en-toutes-lettres.fr/](http://www.en-toutes-lettres.fr/)

Last edit: 11 years 7 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: code fix

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzU5MzQtbmF2aWdhdGlvbi1idXR0b25zLWluLXNoYWRvd2JveD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#199199](#199199) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199199 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi,

I fixed your code in order to have something which will be executed correctly.

Regards,

---

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

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

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

Less More

- Posts: 119
- Thank you received: 6
-
- [](http://www.en-toutes-lettres.fr)
-

11 years 7 months ago [\#199209](#199209) by [tramber91](/forum/user/82-tramber91 "View tramber91's Profile")  Replied by *[tramber91](/forum/user/82-tramber91 "View tramber91's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199209 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Thanks

I put the new file in the dedicated folder
site_root/templates/rt_nuance/html/com_hikashop/administrator/helpers

[ ![&#91;img](http://i59.tinypic.com/28mllie.png) ](http://i59.tinypic.com/28mllie.png "&#91;img")

but the overide don't want to run ???

[ ![&#91;img](http://i60.tinypic.com/10pd8nt.png) ](http://i60.tinypic.com/10pd8nt.png "&#91;img")

take care

Bertrand

---

[ www.en-toutes-lettres.fr/](http://www.en-toutes-lettres.fr/)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzU5MzQtbmF2aWdhdGlvbi1idXR0b25zLWluLXNoYWRvd2JveD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#199217](#199217) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199217 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi,

The file name should be "popup.override.php" no "popup.php".
I know that is strange but because HikaShop can look for the file in several different places ; we prefered to have a special name which will not be in conflict with the original one.

Regards,

---

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

The following user(s) said Thank You: [tramber91](/forum/user/82-tramber91 "View tramber91's Profile")

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

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

Less More

- Posts: 119
- Thank you received: 6
-
- [](http://www.en-toutes-lettres.fr)
-

11 years 7 months ago -  11 years 7 months ago [\#199362](#199362) by [tramber91](/forum/user/82-tramber91 "View tramber91's Profile")  Replied by *[tramber91](/forum/user/82-tramber91 "View tramber91's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199362 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Effzctively overide running

but :dry: site crash on product view

[ ![&#91;img](http://i60.tinypic.com/2d7zvb8.png) ](http://i60.tinypic.com/2d7zvb8.png "&#91;img")

attached my file

@+

Bertrand

---

[ www.en-toutes-lettres.fr/](http://www.en-toutes-lettres.fr/)

Last edit: 11 years 7 months ago by [tramber91](/forum/user/82-tramber91 "View tramber91's Profile").

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

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

Less More

- Posts: 119
- Thank you received: 6
-
- [](http://www.en-toutes-lettres.fr)
-

11 years 7 months ago [\#199367](#199367) by [tramber91](/forum/user/82-tramber91 "View tramber91's Profile")  Replied by *[tramber91](/forum/user/82-tramber91 "View tramber91's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199367 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Sorry it is ok now :woohoo:

maybe was a question of format all code was on same line

thanks

---

[ www.en-toutes-lettres.fr/](http://www.en-toutes-lettres.fr/)

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

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

Less More

- Posts: 80
- Thank you received: 8
-
-
-
-

11 years 7 months ago [\#199380](#199380) by [bp54](/forum/user/33970-bp54 "View bp54's Profile")  Replied by *[bp54](/forum/user/33970-bp54 "View bp54's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199380 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi Bertrand,

Is it possible for you to make a 'for dummies' description of the steps to take so I can switch to Rokbox also.
Would appreciate this very much.

Regards, Benny

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

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

Less More

- Posts: 119
- Thank you received: 6
-
- [](http://www.en-toutes-lettres.fr)
-

11 years 7 months ago -  11 years 7 months ago [\#199389](#199389) by [tramber91](/forum/user/82-tramber91 "View tramber91's Profile")  Replied by *[tramber91](/forum/user/82-tramber91 "View tramber91's Profile")* on topic *[Navigation buttons in shadowbox](/forum/26-product-category-display/875934-navigation-buttons-in-shadowbox#199389 "-- url of the page with the problem -- :   luizink-werktuigen.nl/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.5.20 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I'm using shadowbox (external) to present my products enlarged. This works great on a normal screen. But in these days touchscreens (tablets and smartphones) are very common. I recently got several complaints that the navigation in the shadowbox is very bad. The navigation buttons and also the close button are too small and/or too close together. Can this be customizes somehow or is there a good alternative? A shadowbox that would also be swipable would be great.  Any help would be appreciated.  Regards, Benny.")*

Hi

**1) Rokbox installed**

**2) Product format div**

**3) modification of view, block image**

[ ![&#91;img](http://i60.tinypic.com/20tot1z.png) ](http://i60.tinypic.com/20tot1z.png "&#91;img")

*This attachment is hidden for guests.
Please log in or register to see it.*

**4) overide of popup.php**
put the file popup.override.php in
site_root/templates/your_template/html/com_hikashop/administrator/helpers

*This attachment is hidden for guests.
Please log in or register to see it.*

that's all

Bertrand

---

[ www.en-toutes-lettres.fr/](http://www.en-toutes-lettres.fr/)

Last edit: 11 years 7 months ago by [tramber91](/forum/user/82-tramber91 "View tramber91's Profile").

The following user(s) said Thank You: [bp54](/forum/user/33970-bp54 "View bp54's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzU5MzQtbmF2aWdhdGlvbi1idXR0b25zLWluLXNoYWRvd2JveD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) 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.133 seconds

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