Helix Ultimate Article-View 'override'; expired badge! Topic is solved

Everything to do with Joomla! 4.x templates and templating.

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.
Post Reply
tascani
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Feb 25, 2015 5:36 pm

Helix Ultimate Article-View 'override'; expired badge!

Post by tascani » Tue May 23, 2023 9:57 pm

ärticle-override1.jpg
Hello, I'm hoping someone can help me update the Article View "Override".
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.

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1132
Joined: Tue Jun 30, 2020 12:17 pm

Re: Helix Ultimate Article-View 'override'; expired badge!

Post by Pavel-ww » Wed May 24, 2023 8:10 am

tascani wrote:
Tue May 23, 2023 9:57 pm
The site is going Live very soon.. So I really appreciate any help!!
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.
1.jpg
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.

tascani
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Feb 25, 2015 5:36 pm

Re: Helix Ultimate Article-View 'override'; expired badge!

Post by tascani » Wed May 24, 2023 5:04 pm

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?

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1132
Joined: Tue Jun 30, 2020 12:17 pm

Re: Helix Ultimate Article-View 'override'; expired badge!

Post by Pavel-ww » Thu May 25, 2023 8:07 am

tascani wrote:
Wed May 24, 2023 5:04 pm
Don't know if I understood because I open the downloaded Helix Ultimate 'raw' article-defaul and it only has these lines:
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

tascani
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Feb 25, 2015 5:36 pm

Re: Helix Ultimate Article-View 'override'; expired badge!

Post by tascani » Thu May 25, 2023 11:30 pm

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!!

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1132
Joined: Tue Jun 30, 2020 12:17 pm

Re: Helix Ultimate Article-View 'override'; expired badge!

Post by Pavel-ww » Fri May 26, 2023 7:32 am

Hi. Glad was to help


Post Reply

Return to “Templates for Joomla! 4.x”