- Posts: 18
- Thank you received: 1
Settings for "Articles - Newsflash"
-
Jake V
Inactive member - Topic Author
- New Member
Less
More
10 years 7 months ago #38664
by Jake V
Settings for "Articles - Newsflash" was created by Jake V
A module utilizing "Articles - Newsflash" stopped working when I installed the News Portal. With the News Portal it does not display the text at all (and it's not there in an un-seeable font). Also, it displays the date the item was added (which it did not before - I don't want the date created displayed for this).
The module "Wisdom from the Church Fathers" is assigned to "bottom1". In all previous templates this module has had "Number of Articles" set to "1" and the "Order" random.
I tried duplicating the "Latest" module as a fresh start. When I duplicated "Latest" I got "Error SQL=INSERT INTO `j31_modules_menu` (`moduleid`,`menuid`) VALUES ((349,1023))". I was able to the edit the duplicated module to use the sub-category I wanted and save it, but no matter what I did it still showed the same content as the original "Latest". For test purposes I left it in "User1".
Site is byzcath.org.
You can see the original module towards the bottom of the home page under "Wisdom from the Church Fathers".
Many thanks for your guidance!
The module "Wisdom from the Church Fathers" is assigned to "bottom1". In all previous templates this module has had "Number of Articles" set to "1" and the "Order" random.
I tried duplicating the "Latest" module as a fresh start. When I duplicated "Latest" I got "Error SQL=INSERT INTO `j31_modules_menu` (`moduleid`,`menuid`) VALUES ((349,1023))". I was able to the edit the duplicated module to use the sub-category I wanted and save it, but no matter what I did it still showed the same content as the original "Latest". For test purposes I left it in "User1".
Site is byzcath.org.
You can see the original module towards the bottom of the home page under "Wisdom from the Church Fathers".
Many thanks for your guidance!
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 7 months ago #38672
by ivan.milic
Replied by ivan.milic on topic Settings for "Articles - Newsflash"
You are talking about core joomla module or it is 3rd party component?
Please Log in to join the conversation.
-
Jake V
Inactive member - Topic Author
- New Member
Less
More
- Posts: 18
- Thank you received: 1
10 years 7 months ago #38674
by Jake V
Replied by Jake V on topic Settings for "Articles - Newsflash"
Core Joomla.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 7 months ago #38678
by ivan.milic
Replied by ivan.milic on topic Settings for "Articles - Newsflash"
What happens when you rename:
templates\hot_news_portal\html
to
templates\hot_news_portal\_html
temporaly
templates\hot_news_portal\html
to
templates\hot_news_portal\_html
temporaly
Please Log in to join the conversation.
-
Jake V
Inactive member - Topic Author
- New Member
Less
More
- Posts: 18
- Thank you received: 1
10 years 7 months ago #38683
by Jake V
Replied by Jake V on topic Settings for "Articles - Newsflash"
When I rename "templates\hot_news_portal\html" to "templates\hot_news_portal\_html" the following happens:
1. The topmenu2 (dropdown menu) displays incorrectly.
2. The random module still does not display the text, but the date value disappears.
1. The topmenu2 (dropdown menu) displays incorrectly.
2. The random module still does not display the text, but the date value disappears.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 7 months ago #38690
by ivan.milic
Replied by ivan.milic on topic Settings for "Articles - Newsflash"
open:
templates\hot_news_portal\html\mod_articles_news\_item.php
remove this line (~42):
templates\hot_news_portal\html\mod_articles_news\_item.php
remove this line (~42):
Code:
<div class="published"><i class="fa fa-clock-o"></i> <?php echo JText::sprintf( JHTML::_('date',$item->publish_up, JText::_('F d'))); ?>, <?php echo JText::sprintf( JHTML::_('date',$item->publish_up, JText::_('Y'))); ?></div>
Please Log in to join the conversation.
Time to create page: 0.153 seconds