Thanks Per Yngve,
I added &tmpl=component to the url. I edited this line in mod_articles_latest>tmpl>default.php
from:
Code:
<a href="<?php echo $item->link; ?>" class="announcements<?php echo $params->get('moduleclass_sfx'); ?>">
to:
Code:
<a href="<?php echo $item->link; ?>&tmpl=component" class="announcements<?php echo $params->get('moduleclass_sfx'); ?>">
and I got page not found after clicking on the headlines on the home page. My urls changed from:
Code:
http://mydomain.com/80-announcements/72-announcement-test-2.html
to:
Code:
http://mydomain.com/80-announcements/72-announcement-test-2.html&tmpl=component
I think I made a mistake somewhere, or maybe what you meant was not adding the &tmpl=component to this line in this page.
I do have a component.php file in my template. I looked at the documentation but didn't figure out what to add to my code in index.php
This is what I have in my index.php for the latest news module:
Code:
<?php if ($this->countModules('Announcements')): ?>
<div id="announcements">
<jdoc:include type="modules" name="Announcements" title="Announcements" />
</div>
<?php endif; ?>
I have attached two screenshots. The first one shows the location of the latest news modules items on the home page. The second one shows the detail page when you click on any of the headlines. As you see in the second screenshot, the title of the articles still show at the bottom of the article blurb, that's what I am trying to get rid of.
Thanks for your help.
Marz