YOOtheme Pro is here! The best WordPress and Joomla theme. Learn more

4 Answers

1

Avatar michael.maass Support answered

Server is ok (in the same server I have another website where sticky option and uikit works perfectly: http://landing-page-efficace.it/consigli-landing-page/ ) and I need to fix the problem in these conditions.
[...]
Now I will migrate widgetkit from 1 to 2, but are you sure the problem could be the wk?)

When troubleshooting any unknowns should be eliminated first of all. And updating all softwares is a sane measure anyway.

But taking a closer look at the site you now linked to (where the sticky works) and comparing it to the failing version I don't think Widgetkit is the cause.

On http://landing-page-efficace.it/consigli-landing-page/ the "Sticky" component is explictly loaded in the head:

<script src="/templates/yoo_avanti/warp/vendor/uikit/js/components/sticky.js"></script>

On your Joomla 2.5 site it is not. I am not sure why.

Please try and carefully follow these steps:

  • Access your site's root via FTP.

  • Navigate into your custom style's folder:
    templates/yoo_stage/styles/iceblue

  • Unless you have already done so, create a new folder layouts (mind the plural!) inside your style's folder:
    templates/yoo_stage/styles/iceblue/layouts

  • Copy the file
    templates/yoo_stage/layouts/theme.config.php to
    templates/yoo_stage/styles/iceblue/layouts/theme.config.php

  • Use a text editor capable of UTF-8 encoding to open
    templates/yoo_stage/styles/iceblue/layouts/theme.config.php
    and fully replace the content by exactly the following:

    <?php  
    require(__DIR__.'/../../../layouts/theme.config.php');  
    // Load the Sticky component's JavaScript file:  
    $this['asset']->addFile('js', 'warp:vendor/uikit/js/components/sticky.js');
    
  • Save and close the file.

Reload the page in the frontend and test the result.

Thank you


Further reading:

Edited

0

Avatar michael.maass Support answered

As rule: Whenever there is an issue, make sure to apply all pending updates of all the software you use. To make sure that your issue is not caused by something that already has been taken care of you have to use the most recent versions available.

Please update your Widgetkit 1.4.3 to the current version — 1.5.9 at the time being.
(The "Joomla 3.x Extension" package is still compatible to Joomla 2.5.28.)

Please bear in mind that Joomla 2.5.x has officially reached "end of life" a long time ago (on December 31, 2014) and is no longer maintained and not supported anymore by the Joomla developers.

The Warp 7 template "Stage" was the last one to come in a Joomla 2.5 compatible version. All newer templates only work with Joomla 3.x. YOOtheme still provides Joomla 2.5.x packages for Widgetkit 1.5.x and some older templates but these are meant for maintenance purposes only.

If there are further issues — they will come rather sooner than later — I would strongly recommend you consider a migration to Joomla 3.x.

Similar for your webserver's PHP 5.5.31. Please make sure your webserver runs on PHP 5.6 or higher, preferably 7.x.
All PHP versions lower than PHP 5.6 have officially reached end of life.
They are not maintained anymore, and to be considered "vulnerable".

Thank you


Further reading:

0

Avatar stefano.rigazio answered

Hi Michael, you touch the point :)

FuturaImmagine is a website in Joomla 2.5 but I can't update it for now, so I have choose the latest theme for J 2.5.

Server is ok (in the same server I have another website where sticky option and uikit works perfectly: http://landing-page-efficace.it/consigli-landing-page/ ) and I need to fix the problem in these conditions.

Now I will migrate widgetkit from 1 to 2, but are you sure the problem could be the wk?)

Thank you!

Know someone who can answer? Share a link to this question via email or twitter.