Download all Joomla templates including quickstart (demo)only $29
👋 All our products will be compatible with Joomla 6 😎

Forum

Important - Hands Up!

- Please ask using the account with which you made the purchase or download of our products and in its respective category.
- If you bought our products in another market, ask your questions in that market, not here.

* ADD PRODUCT NAME IN START OF SUBJET

Problem with processing content plugins in Goodnews

  • A
  • Aleksej Senior Member
  • Topic Author 2 days 14 hours ago #1
Hello. I'm testing Goodnews 1.2.0 in Joomla 6.0.2 and PHP 8.4.16 on a local server. I'm using your quick start.
I tried the plugins www.aimy-extensions.com/joomla/video-embedder.html and www.joomlashack.com/joomla-extensions/osyoutube/ , but they don't work. If I rename the file /templates/ut_goodnews/html/com_content/article/ublog.php, the plugins work. The problem is probably in the file /templates/ut_goodnews/html/com_content/article/ublog.php.

Please Log in or Create an account to join the conversation.

  • L
  • leoalv Moderator
  • 2 days 13 hours ago #2
Hi, I've reviewed the Aimy Video Embedder documentation, which indicates that it embeds the video directly into the article, not in an event. We haven't added any code cleaner to the Ublog detail view, so it should work.

The only difference between Default and Ublog is that Default displays the text using $this->item->text, while Ublog displays it in two parts because we have an ad module embedded within the text (for better reader engagement). Ublog uses $this->item->introtext and $this->item->fulltext, which are native to Joomla. So, the only thing I can think of is that introtext or fulltext (depending on where you're embedding the video) cleans up the code.

To understand what's happening and what text, introtext, and fulltext are returning, I need access to where you're working.

Regards

Please Log in or Create an account to join the conversation.

  • A
  • Aleksej Senior Member
  • Topic Author 2 days 13 hours ago #3
"The only difference between Default and Ublog is that Default displays the text using..." - I'm not a programmer and won't argue, but it seemed to me that the difference was quite large because:
default.php - 1 KB
ublog.php - 13 KB

"I need access to where you're working." - Yes, of course:
This message contains confidential information


The article "Bold and Beautiful: How to Wear Chunky Jewelry Pieces." The video is at the very end of the article.

Please Log in or Create an account to join the conversation.

  • L
  • leoalv Moderator
  • 2 days 1 hour ago #4
Hello again.
The huge difference in file size is because default.php is just a loader, which loads the file located in the Helix Ultimate plugin, which is 11kb. The Goodnews ublog is larger because, as I mentioned, it includes module positions within the article.
Please just send us the plugins; upload them to WeTransfer and share the link as confidential information. We have a copy of the Goodnews test file, and we'll test it there.
Regards

Please Log in or Create an account to join the conversation.

  • A
  • Aleksej Senior Member
  • Topic Author 2 days 51 minutes ago #5
WeTransfer showed a network error. But here's a link to the plugin files. I simply downloaded them from the developers' websites.
This message contains confidential information

Please Log in or Create an account to join the conversation.

  • A
  • Aleksej Senior Member
  • Topic Author 1 day 14 hours ago #6
I installed a clean Joomla 6.0.2 and your template (not the quick start). Then I updated Joomla to 6.0.3. I found two issues.

1) The "Category Blog" menu item type - the OSYouTube Free plugin works. YouTube videos are displayed. Example: aleksius.site/moda/choloviky/pro-modu-moda-choloviky-5

The "Ublog" menu item type - the OSYouTube Free plugin doesn't work. YouTube videos aren't displayed. Example: aleksius.site/polityka/aziia/chudova-novyna-polityka-aziia-2

2) I installed the UT Articles Pro module, but when I log into the admin panel, the page is broken.





Please help me solve these two issues.
This message contains confidential information

Please Log in or Create an account to join the conversation.

  • A
  • Aleksej Senior Member
  • Topic Author 1 day 14 hours ago #7
3) The UT Articles Carousel and UT Articles Tabs modules are also impossible to configure. The admin panel doesn't work. This problem doesn't exist with the UT Joomstagram module.

Please Log in or Create an account to join the conversation.

  • L
  • leoalv Moderator
  • 1 day 7 hours ago #8
Hello.
I've looked into this, and it turns out that the plugins work with $this->item->text, which is the default way to display article content, and I believe that's correct. It's only for GoodNews, in order to place ads within the text, that we split it into two options: introtext and fulltext.

So, the solution I propose is that you use a Ublog override (which can be selected from the menu item). We can configure this override to work directly with $this->item->text, but without the ad. If you prefer to use the ad space, we can also work with that, but it will incur a microsecond cost (it's not noticeable unless it's a news site like CNN or BBC).

Please let us know which solution you prefer: with or without ad space.
Regards

Please Log in or Create an account to join the conversation.

  • L
  • leoalv Moderator
  • 1 day 2 hours ago #9
Regarding the modules, we've already fixed it on your site and released new versions that include the changes, please update.
Regards

Please Log in or Create an account to join the conversation.

  • A
  • Aleksej Senior Member
  • Topic Author 1 day 1 hour ago #10

Hello.
I've looked into this, and it turns out that the plugins work with $this->item->text, which is the default way to display article content, and I believe that's correct. It's only for GoodNews, in order to place ads within the text, that we split it into two options: introtext and fulltext.

So, the solution I propose is that you use a Ublog override (which can be selected from the menu item). We can configure this override to work directly with $this->item->text, but without the ad. If you prefer to use the ad space, we can also work with that, but it will incur a microsecond cost (it's not noticeable unless it's a news site like CNN or BBC).

Please let us know which solution you prefer: with or without ad space.
Regards
 

I don't need advertising inside the article. What should I do to make the Ublog menu item type and the OSYouTube Free plugin work?

Please Log in or Create an account to join the conversation.

  • A
  • Aleksej Senior Member
  • Topic Author 1 day 1 hour ago #11

Regarding the modules, we've already fixed it on your site and released new versions that include the changes, please update.

I have an active Joomla Gold subscription and UTAddons. But I can't download the new versions of UT Articles Pro, UT Articles Tabs, and UT Articles Carousel. Do you have subscriptions for all your paid extensions? Purchasing them individually isn't very cost-effective.

Please Log in or Create an account to join the conversation.

  • L
  • leoalv Moderator
  • 15 hours 24 minutes ago #12
Hello, this time we will send you the modules, but please write to us in the chat, because the confidential fields are not visible to users.

Please Log in or Create an account to join the conversation.

  • L
  • leoalv Moderator
  • 15 hours 14 minutes ago #13
For Ublog, you need to make a copy of ../articles/ublog.php and name it ublog2.php. Then, in ublog2.php, change lines 187 to 195 to:
Code:
<div class="articleBody clearfix" itemprop="articleBody">      <?php echo $this->item->text; ?>  </div>
Then, when you create menu items, select Ublog2 in the Layout field, because it's Ublog by default. This will solve your problem and prevent it from being overwritten during updates.
Regards
The following user(s) said Thank You: Aleksej

Please Log in or Create an account to join the conversation.

  • A
  • Aleksej Senior Member
  • Topic Author 14 hours 15 minutes ago #14
Thank you. The updated UT Articles Pro module is working. What you wrote for Ublog2 also helped. Thank you. All questions are closed.

Please Log in or Create an account to join the conversation.

77,415+
Happy customers guarantee our Templates and Extensions

Secure Payment

Use your cards with Paypal.

 
 
 
 
 
 
 
Â