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

#   Hikashop Footer still showing after setting to No

##

- **[fengel](/forum/user/37465-fengel "View fengel's Profile")**
- [![fengel's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37465.jpg)](/forum/user/37465-fengel "View fengel's Profile") Topic Author
- [ Offline](/forum/user/37465-fengel)

Less More

- Posts: 27
- Thank you received: 4
-
-

9 years 3 weeks ago [\#279692](#279692) by [fengel](/forum/user/37465-fengel "View fengel's Profile")  *[Hikashop Footer still showing after setting to No](/forum/3-bug-report/892206-hikashop-footer-still-showing-after-setting-to-no#279692 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.8.0 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Chrome 61  When the show&#95;footer setting is set to &quot;No&quot;, the footer still shows up.  I think it's because the hikashop&#95;footer function is comparing the boolean to -1, when the only possible values are 1 and 0.")* was created by *[fengel](/forum/user/37465-fengel "View fengel's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.8.0
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Chrome 61

When the show_footer setting is set to "No", the footer still shows up.

I think it's because the hikashop_footer function is comparing the boolean to -1, when the only possible values are 1 and 0.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 2 weeks ago [\#279696](#279696) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Hikashop Footer still showing after setting to No](/forum/3-bug-report/892206-hikashop-footer-still-showing-after-setting-to-no#279696 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.8.0 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Chrome 61  When the show&#95;footer setting is set to &quot;No&quot;, the footer still shows up.  I think it's because the hikashop&#95;footer function is comparing the boolean to -1, when the only possible values are 1 and 0.")*

Hello,

I just tested it on my end and it actually worked fine, did you use the "Show footer" option via "Hikashop-&gt;System-&gt;Configuration-&gt;Display" ?

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

- **[fengel](/forum/user/37465-fengel "View fengel's Profile")**
- [![fengel's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37465.jpg)](/forum/user/37465-fengel "View fengel's Profile") Topic Author
- [ Offline](/forum/user/37465-fengel)

Less More

- Posts: 27
- Thank you received: 4
-
-

9 years 2 weeks ago [\#279734](#279734) by [fengel](/forum/user/37465-fengel "View fengel's Profile")  Replied by *[fengel](/forum/user/37465-fengel "View fengel's Profile")* on topic *[Hikashop Footer still showing after setting to No](/forum/3-bug-report/892206-hikashop-footer-still-showing-after-setting-to-no#279734 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.8.0 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Chrome 61  When the show&#95;footer setting is set to &quot;No&quot;, the footer still shows up.  I think it's because the hikashop&#95;footer function is comparing the boolean to -1, when the only possible values are 1 and 0.")*

Yes, that is the setting I used. I checked #__hikashop_config and the setting for show_footer is 0.
I also looked into the Helper class and see that the condition is Code:

if($config-&gt;get('show_footer',true)=='-1') return '';

Just for reference, the footer appears at the bottom of the "hika-content" DIV, in the categories listing view.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 2 weeks ago [\#279763](#279763) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Hikashop Footer still showing after setting to No](/forum/3-bug-report/892206-hikashop-footer-still-showing-after-setting-to-no#279763 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.8.0 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Chrome 61  When the show&#95;footer setting is set to &quot;No&quot;, the footer still shows up.  I think it's because the hikashop&#95;footer function is comparing the boolean to -1, when the only possible values are 1 and 0.")*

Hello,

Note that you also have that line : Code:

if(!$config-&gt;get('show_footer',true)) return $text;

It's actually working fine on my end, so you should probably download the last Hikashop version, install it and test it again. Else using the "display:none;" CSS property will probably do the job.
[ www.hikashop.com/support/documentation/1...the-display.html#css](https://www.hikashop.com/support/documentation/153-customize-the-display.html#css)

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

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

[](#top)
