Helix Ultimate Article-View 'override'; expired badge! Topic is solved
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Feb 25, 2015 5:36 pm
Helix Ultimate Article-View 'override'; expired badge!
I'm using a template (Themis) from Joomshaper (Helix Ultimate 2.0.12) that was made for Joomla 3, and was updated to Joomla 4.0.3, but the Overrides apparently were NOT properly updated.
- Main problem: NO Article Details in main article View; 'Expired' is displayed instead)
I read somewhre that function "getDbo()" is deprecated in J4, and I see it's still there in this Override.
- Another problem in Article View: article Navigation at the bottom is somewhat unstyled, or different.
I'm attaching and image to better illustrate, and also both article-default files (Joomla Original + Override) so hopefully someone can help me update it appropriately.
** And yes, I first posted the issue in their forum/help, but no answer to this.
The site is going Live very soon.. So I really appreciate any help!!
Randall
Joomla 4.3.1
Themis template (Joomshaper)
Helix Ultimate 2.0.12
You do not have the required permissions to view the files attached to this post.
- Pavel-ww
- Joomla! Ace
- Posts: 1132
- Joined: Tue Jun 30, 2020 12:17 pm
Re: Helix Ultimate Article-View 'override'; expired badge!
Hi. You can try two ways:
(1)
Download and install VS Code editor on your computer. Download raw Helix Ultimate. Take from there original override default.php and compare with your override default.php inside VS Code.
To make compare in VS Code open both files there, make sure that tab with original file is active, press Ctrl + Shift + P, type "compare", press "File: Compare Active File With..." and select override file.
Then you can easily change code in override file by clicking on arrows one by one, from top to bottom.
Or just try to replace your override default.php by file from raw Helix without making compare in VS Code.
I did not check whether it will work or not. But you can try. Theoretically, this should work.
(2)
Rename default.php in Helix > html folder and use CSS to restore the original appearance from Themis. When update with fix will come you can rename it back and delete CSS
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Feb 25, 2015 5:36 pm
Re: Helix Ultimate Article-View 'override'; expired badge!
Don't know if I understood because I open the downloaded Helix Ultimate 'raw' article-defaul and it only has these lines:
------------------
<?php
/**
* @package Helix Ultimate Framework
* @author JoomShaper https://www joomshaper com
* @copyright Copyright (c) 2010 - 2021 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
defined ('_JEXEC') or die();
require HelixUltimate\Framework\Platform\HTMLOverride::loadTemplate();
-------------------
I assume that I have to compare the 'Joomla 4.3.1' original article-default vs Themis article-default override?
------------------
<?php
/**
* @package Helix Ultimate Framework
* @author JoomShaper https://www joomshaper com
* @copyright Copyright (c) 2010 - 2021 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
defined ('_JEXEC') or die();
require HelixUltimate\Framework\Platform\HTMLOverride::loadTemplate();
-------------------
I assume that I have to compare the 'Joomla 4.3.1' original article-default vs Themis article-default override?
- Pavel-ww
- Joomla! Ace
- Posts: 1132
- Joined: Tue Jun 30, 2020 12:17 pm
Re: Helix Ultimate Article-View 'override'; expired badge!
Hi. Helix Ultimate is supplied with some overrides out of the box. Previously, you could not override this by using standard Joomla override system, because updating the template would be wiped out of all your changes.
To solve this problem, in Helix was created its own override system for such files. Read Helix documentation.
The file you need is here /plugins/system/helixultimate/overrides/com_content/article/default.php
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Feb 25, 2015 5:36 pm
Re: Helix Ultimate Article-View 'override'; expired badge!
Hi Pavel.. Ok, now I understand better.
Thanks so much for your help and pointing me in the right direction..
I'll play around with those files.
I really appreciate it!!
Thanks so much for your help and pointing me in the right direction..
I'll play around with those files.
I really appreciate it!!
- Pavel-ww
- Joomla! Ace
- Posts: 1132
- Joined: Tue Jun 30, 2020 12:17 pm
Re: Helix Ultimate Article-View 'override'; expired badge!
Hi. Glad was to help