Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Link bei News-Artikeln nur wenn $this-text #1987

Closed
ghost opened this issue Nov 29, 2011 · 3 comments
Closed

Link bei News-Artikeln nur wenn $this-text #1987

ghost opened this issue Nov 29, 2011 · 3 comments
Assignees
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Nov 29, 2011

Aktuell wird der "Weiterlesen..." Link nur angezeigt, wenn der Newsartikel tatsächlich mehr Inhalt als einen Teasertext hat. Die Überschrift hingegen wird immer verlinkt. So z.B. im Template "news_latest.tpl"

Momentan:

<h2><?php echo $this->linkHeadline; ?></h2>

Mein Vorschlag:

<?php if ($this->text): ?>
<h2><?php echo $this->linkHeadline; ?></h2>
<?php else: ?>
<h2><?php echo $this->newsHeadline; ?></h2>
<?php endif; ?>

--- Originally created by enemours on May 18th, 2010, at 01:04pm (ID 1987)

@ghost ghost assigned leofeyer Nov 29, 2011
@leofeyer
Copy link
Member

Dasselbe gilt wahrscheinlich auch für Events.

--- Originally created on May 19th, 2010, at 12:13pm

@leofeyer
Copy link
Member

Implementiert in e5885b3.

--- Originally created on May 23rd, 2010, at 04:56pm

@leofeyer
Copy link
Member

--- Originally completed on May 23rd, 2010, at 04:56pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant