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

#   Where is the fuction setLayout ();

##

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

Less More

- Posts: 14
- Thank you received: 0
-
-

11 years 9 months ago [\#187999](#187999) by [willylord](/forum/user/31332-willylord "View willylord's Profile")  *[Where is the fuction setLayout ();](/forum/26-product-category-display/874487-where-is-the-fuction-setlayout#187999 "-- HikaShop version -- : 2.2.3 -- Joomla version -- : 2.5  I need to check the function that loads images variants of the characteristics at the time of loading the product page.  In the override code, I found this function:  $ this-&gt; row = &amp; $ this-&gt; element; $ this-&gt; setLayout ('show&#95;block&#95;img'); echo $ this-&gt; loadTemplate ();  but I can not find where it is done this loop. I need to edit it, because I want to prevent it from being carried preload all images.")* was created by *[willylord](/forum/user/31332-willylord "View willylord's Profile")*

-- HikaShop version -- : 2.2.3
-- Joomla version -- : 2.5

I need to check the function that loads images variants of the characteristics at the time of loading the product page.

In the override code, I found this function:

$ this-&gt; row = &amp; $ this-&gt; element;
$ this-&gt; setLayout ('show_block_img');
echo $ this-&gt; loadTemplate ();

but I can not find where it is done this loop.
I need to edit it, because I want to prevent it from being carried preload all images.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzQ0ODctd2hlcmUtaXMtdGhlLWZ1Y3Rpb24tc2V0bGF5b3V0P3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 9 months ago [\#188000](#188000) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Where is the fuction setLayout ();](/forum/26-product-category-display/874487-where-is-the-fuction-setlayout#188000 "-- HikaShop version -- : 2.2.3 -- Joomla version -- : 2.5  I need to check the function that loads images variants of the characteristics at the time of loading the product page.  In the override code, I found this function:  $ this-&gt; row = &amp; $ this-&gt; element; $ this-&gt; setLayout ('show&#95;block&#95;img'); echo $ this-&gt; loadTemplate ();  but I can not find where it is done this loop. I need to edit it, because I want to prevent it from being carried preload all images.")*

Hi,

For the setLayout, function see JView (J2.5) and JViewLegacy (J3.3)
[ api.joomla.org/cms-3/classes/JViewLegacy.html](https://api.joomla.org/cms-3/classes/JViewLegacy.html)

Regards,

---

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

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

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

[](#top)
