- Posts: 18
- Thank you received: 1
Settings for "Articles - Newsflash"
-
Jake V
Inactive member -
Topic Author
- New Member
-
Less
More
10 years 11 months ago #38696
by Jake V
Replied by Jake V on topic Settings for "Articles - Newsflash"
Thank you.
Removing line 42 did not change anything.
Here is the entire code of _item:
I should have noted that the random part works. Each time you re-load the page the title of the article changes. Only the text of the article never appears. You can see this at the home page at the bottom left at byzcath.org.
Thanks again.
Removing line 42 did not change anything.
Here is the entire code of _item:
Code:
<?php
/**
* @package Joomla.Site
* @subpackage
mod_articles_news
* @copyright Copyright (C) 2005 - 2013 Open
Source Matters, Inc. All rights reserved.
* @license
GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
$images = json_decode
($item->images);
$item_heading = $params->get('item_heading',
'h4');
?>
<?php if (!$params->get('intro_only')) :
echo
$item->afterDisplayTitle;
endif; ?>
<?php echo $item-
>beforeDisplayContent; ?>
<?php if($images->image_intro) { ?>
<a
href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute
($item->slug, $item->catid, $item->language)); ?>"><img src="<?php
echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo
htmlspecialchars($images->image_intro_alt); ?>"/></a>
<?php } ?>
<?
php if ($params->get('item_title')) : ?>
<<?php echo
$item_heading; ?> class="newsflash-title<?php echo $params->get
('moduleclass_sfx'); ?>">
<?php if ($params->get
('link_titles') && $item->link != '') : ?>
<a
href="<?php echo $item->link;?>">
<?php echo
$item->title;?></a>
<?php else : ?>
<?php echo $item-
>title; ?>
<?php endif; ?>
</<?php echo $item_heading; ?>>
<?
php endif; ?>
<?php //echo $item->introtext; ?>
<div class="item-
separator"></div>
<?php if (isset($item->link) && $item->readmore
!= 0 && $params->get('readmore')) :
echo '<a class="readmore"
href="'.$item->link.'">'.$item->linkText.'</a>';
endif; ?>
I should have noted that the random part works. Each time you re-load the page the title of the article changes. Only the text of the article never appears. You can see this at the home page at the bottom left at byzcath.org.
Thanks again.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 11 months ago #38711
by ivan.milic
Replied by ivan.milic on topic Settings for "Articles - Newsflash"
Do that then in:
templates\hot_news_portal\html\mod_articles_popular\default.php
templates\hot_news_portal\html\mod_articles_popular\default.php
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 11 months ago #38717
by Jake V
Replied by Jake V on topic Settings for "Articles - Newsflash"
Thanks.
I made the update.
No change.
I made the update.
No change.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 11 months ago #38728
by ivan.milic
Replied by ivan.milic on topic Settings for "Articles - Newsflash"
Rename
templates\hot_news_portal\html\mod_articles_popular
templates\hot_news_portal\html\mod_articles_news
templates\hot_news_portal\html\mod_articles_popular
templates\hot_news_portal\html\mod_articles_news
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 11 months ago #38739
by Jake V
Replied by Jake V on topic Settings for "Articles - Newsflash"
The current names of those directories are already:
templates\hot_news_portal\html\mod_articles_popular
templates\hot_news_portal\html\mod_articles_news
Exactly what do you want re-named? And what do you want it (them) renamed to?
And do I leave line 42 out or do I add it back in?
Thank you.
templates\hot_news_portal\html\mod_articles_popular
templates\hot_news_portal\html\mod_articles_news
Exactly what do you want re-named? And what do you want it (them) renamed to?
And do I leave line 42 out or do I add it back in?
Thank you.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 11 months ago #38758
by ivan.milic
Replied by ivan.milic on topic Settings for "Articles - Newsflash"
Im trying to find out which one you are using. Renaming folder would deactivate layout
Please Log in to join the conversation.
Time to create page: 0.108 seconds