Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 21.05.08, 14:28
Forum Newbie
 
Registriert seit: 25.04.08
Beiträge: 22

"Mehr" ist kein Link


Hallo zusammen,

habe die aktuelle TYPO3 Version und das aktuelle tt_news-Plugin. Im TypoScript habe ich die statischen Vorlagen des Templates inkludiert.
Nun hab ich die ersten News manuell angelegt und habe folgendes Phänomen:
Die 1. News-Seite ist eine Liste, aber der Link "mehr" der einzelnen News ist kein Link. Was mache ich falsch???

Und wieso ist die News-Datumsangabe in Englisch? Standardsprache ist über TypoScript auf Deutsch gesetzt und auch die Deutsche-Extension installiert....



Hier die Seite:
RISKO Versicherungsmakler: Aktuelle_Informationen

Geändert von allmind (26.05.08 um 15:57 Uhr).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #2  
Alt 21.05.08, 15:07
Benutzerbild von jcl
jcl jcl ist offline
Forum Aktivist
 
Registriert seit: 22.07.07
Ort: 73257 Köngen
Alter: 57
Beiträge: 52

Hast du in deinem Template (Standard: tt_news_list.html) den More-Link auch richtig eingetragen, z.B. so:

Code:
<div class="news-list-morelink"><!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###--></div>
Du bekommst nur dann einen Link, wenn der Link_ITEM-Marker gesetzt ist.

Johannes.
__________________
Das Schönste aller Geheimnisse ist, ein Genie zu sein und es als Einziger zu wissen. (Mark Twain)
Typo3 Version 4.1.7rc1 / 4.2.1 - YAML for TemplaVoila 2.1.0
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #3  
Alt 21.05.08, 18:11
Forum Newbie
 
Registriert seit: 25.04.08
Beiträge: 22

Danke für den Tipp.
Aber sowohl über das TS inkludiere ich die Vorlage als auch in den Pluginsettings verweise ich auf EXT:tt_news/pi/tt_news_v2_template.html.
Dort ist der Link-ITEM-Marker auch gesetzt.

Komische Phänomen: Wenn ich die Seite als "verbergen" markiere und mir dann die Preview anzeigen lasse, sind die "Mehr"-Links tatsächlich auch Links.
Ich versteh das nicht........

Gruß,
Alexander
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #4  
Alt 22.05.08, 12:12
Benutzerbild von jcl
jcl jcl ist offline
Forum Aktivist
 
Registriert seit: 22.07.07
Ort: 73257 Köngen
Alter: 57
Beiträge: 52

nur mal so in den Wald gefragt:

Hast du mal den FE-Cache gelöscht?

Hast Du das Template geändert? Dann muss es nämlich wieder neu zugewiesen werden, weil tt_news nicht das Original nimmt sondern sich daraus eine Kopie erstellt und im upload-Ordner (?) ablegt und diese dann verwendet.

Hast du in den Erweiterungsoptionen Deiner LIST-Ansicht die Detailseite angegeben?

Mehr fällt mir im Moment auch nicht ein.

Viel Erfolg!
__________________
Das Schönste aller Geheimnisse ist, ein Genie zu sein und es als Einziger zu wissen. (Mark Twain)
Typo3 Version 4.1.7rc1 / 4.2.1 - YAML for TemplaVoila 2.1.0
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #5  
Alt 24.05.08, 13:56
Forum Newbie
 
Registriert seit: 25.04.08
Beiträge: 22

Cache gelöscht. Keine Verbesserung. Hab das Template mal aus dem Ext-Ordner in meinen Fileadmin-Ordner kopiert und dann über die Plugin-Flexform-Einstellungen dahin gelinkt. Keine Verbesserung.
Habe das Template nicht angefasst. Sieht richtig aus.
Zitat:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<!--
IMPORTANT: The stylesheet link below is only for testing the template file directly in a browser while editing it.
On the website the css styles for tt_news have to be include with the static TS template "default CSS style (tt_news)" or
with an external file (see tt_news/res/tt_news_v2_styles.css) which you include via TypoSript in the "page" object.

-->
<title>new News example template</title>
<link href="res/tt_news_tut_main_stylesheet.css" rel="stylesheet" type="text/css" />
</head>

<body>






<br />
<br />
<br />
<h1>NEWS TEMPLATES</h1>
<h2>EXAMPLE</h2>






<br />
<br />
<br />
<pre>

<strong>Common markers:</strong>
These are substituted in all news item displaying templates:

<em>Markers:</em>
NEWS_UID - ID number (uid) of the news item
NEWS_TITLE - News item title
NEWS_AUTHOR - name of author
NEWS_EMAIL - email of author
NEWS_DATE - date
NEWS_TIME - time
NEWS_AGE - age of news item in minutes, hours, days or years
NEWS_SUBHEADER - subheader, if empty main content is inserted here in LIST and LATEST
NEWS_CONTENT - main content
NEWS_LINKS - news links
NEWS_CATEGORY - news item category
NEWS_CATEGORY_IMAGE - news item category image
NEWS_RELATED - links to related news
NEWS_IMAGE - news item images
NEWS_CATEGORY_ROOTLINE - category rootline

PAGE_UID - Page id of the parent page (pid)
PAGE_TITLE - Title of the parent page of the news item
PAGE_AUTHOR - Page author, if any
PAGE_AUTHOR_EMAIL - Page author email, if any

<em>News Language Markers (see pi/locallang.php:sad:</em>
LATEST_HEADER - header for the LATEST element
GOTOARCHIVE - link to archive page in latest template
ARCHIVE_HEADER - same for AMENU
MORE - more ;-)
TEXT_CAT - text output before categories and category images in LIST view (eg: 'categories:')
TEXT_CAT_LATEST - the same in a shorter form for the LATEST element (eg: 'cat:')
BACK_TO_LIST - link back to list-view in single-view template
ARCHIVE_EMPTY_MSG - no items in archive
SEARCH_EMPTY_MSG - message for empty search results
TEXT_NEWS_AGE - text inserted before the age of the news item


<em>Wrapped Subparts:</em>
LINK_ITEM - link to the news item single display
LINK_PREV - used in the pagebrowser
BROWSE_LINKS - used in the pagebrowser
LINK_NEXT - used in the pagebrowser
</pre>


<br />
<br />
<br />
<br />
<hr />
<br />
<br />
<br />
<h3>TEMPLATE_LATEST</h3>
<em>This is the template for the latest news, typically displayed on a frontpage.</em>
<br />
<br />
<br />
<br />



<!-- ###TEMPLATE_LATEST### begin
This is the template for the latest news, typically displayed on a frontpage
-->
<div class="news-latest-container">
<h2>###LATEST_HEADER###</h2>
<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<!-- ###NEWS### begin
Template for a single item
-->
<div class="news-latest-item">

<span class="news-latest-date"><!--###LINK_ITEM###-->###NEWS_DATE### ###NEWS_TIME###<!--###LINK_ITEM###--></span>
<h3><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h3>
<!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###-->
###NEWS_SUBHEADER###<hr class="clearer" />
###CATWRAP_B### ###TEXT_CAT_LATEST### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE### ###CATWRAP_E###
<div class="news-latest-morelink"><!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###--></div>
</div>

<!-- ###NEWS### end-->
<!-- ###CONTENT### end -->
<div class="news-latest-gotoarchive"><!--###LINK_ARCHIVE###-->###GOTOARCHIVE###<!--###LINK_ARCHIVE###--></div>
</div>
<!-- ###TEMPLATE_LATEST### end -->







<br />
<br />
<br />
<br />
<hr />
<br />
<br />
<br />
<h3>TEMPLATE_LIST</h3>
<em>This is the template for the list of news in the archive or news page or search.</em>
<br />
<br />
<br />
<br />
<!-- ###TEMPLATE_LIST### begin
This is the template for the list of news in the archive or news page or search
-->
<div class="news-list-container">
###NEWS_CATEGORY_ROOTLINE###
<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<!-- ###NEWS### begin
Template for a single item
-->
<div class="news-list-item">
<h3>
<span class="news-list-date">###NEWS_DATE###</span>
<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h3>
<!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###-->
###NEWS_SUBHEADER###
###CATWRAP_B### ###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE### ###CATWRAP_E###
<div class="news-list-morelink"><!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###--></div>

<hr class="clearer" /></div>
<!-- ###NEWS### end-->
<!-- ###CONTENT### end -->
<div class="news-list-browse">###BROWSE_LINKS###</div>
</div>
<!-- ###TEMPLATE_LIST### end -->







<br />
<br />
<br />
<br />
<hr />
<br />
<br />
<br />
<h3>TEMPLATE_SINGLE</h3>
<em>This subpart is used to display single news items</em><br />
<br />
<br />

<!-- ###TEMPLATE_SINGLE### begin
This subpart is used to display single news items
-->

<div class="news-single-item">
###NEWS_CATEGORY_ROOTLINE###
<div class="news-single-timedata">###NEWS_DATE### ###NEWS_TIME### ###TEXT_NEWS_AGE### ###NEWS_AGE###</div>
<h2>###NEWS_TITLE###</h2>
###CATWRAP_B### ###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE### ###CATWRAP_E###
###NEWS_AUTHOR###
###NEWS_SUBHEADER###
###NEWS_IMAGE###
###NEWS_CONTENT###
<hr class="clearer" />
###ADDINFO_WRAP_B###

###TEXT_RELATED###
###NEWS_RELATED###

###TEXT_FILES###
###FILE_LINK###

###TEXT_LINKS###
###NEWS_LINKS###

###TEXT_RELATEDBYCATEGORY###
###NEWS_RELATEDBYCATEGORY###

###ADDINFO_WRAP_E###
###NEWS_SINGLE_PAGEBROWSER###
<div class="news-single-backlink">
<!--###LINK_ITEM###-->###BACK_TO_LIST###<!--###LINK_ITEM###-->
</div>
</div>
<!-- ###TEMPLATE_SINGLE### end -->












<br />
<br /><hr />
<br />
<br />
<br />
<h3>TEMPLATE_SINGLE_RECORDINSERT</h3>
<em>This subpart is used to display single news items with the &quot;Insert Records&quot; content element </em><br />
<br />
<br />

<!-- ###TEMPLATE_SINGLE_RECORDINSERT### begin
This subpart is used to display single news items
-->

<div class="news-single-item">
<div class="news-single-timedata">###NEWS_DATE### ###NEWS_TIME### ###TEXT_NEWS_AGE### ###NEWS_AGE###</div>
<h2>###NEWS_TITLE###</h2>
###CATWRAP_B### ###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE### ###CATWRAP_E###
###NEWS_AUTHOR###



###NEWS_SUBHEADER###

###NEWS_IMAGE###
###NEWS_CONTENT###

###ADDINFO_WRAP_B###

###TEXT_RELATED###
###NEWS_RELATED###

###TEXT_FILES###
###FILE_LINK###

###TEXT_LINKS###
###NEWS_LINKS###

###TEXT_RELATEDBYCATEGORY###
###NEWS_RELATEDBYCATEGORY###
###ADDINFO_WRAP_E###
###COMMENTS###
###NEWS_SINGLE_PAGEBROWSER###
<div class="news-single-backlink">
<!--###LINK_ITEM###-->###BACK_TO_LIST###<!--###LINK_ITEM###-->
</div> </div>
<!-- ###TEMPLATE_SINGLE_RECORDINSERT### end --><br /><hr />
<br />
<br />
<br />
<h3>TEMPLATE_SINGLE_FORUM</h3>
<em>This subpart is used to display single news items with the &quot;Insert Records&quot; content element </em><br />
<br />
<br />

<!-- ###TEMPLATE_SINGLE_FORUM### begin
This subpart is used to display single news items
-->

<div class="news-single-item">
<div class="news-single-timedata">###NEWS_DATE### ###NEWS_TIME### ###TEXT_NEWS_AGE### ###NEWS_AGE###</div>
<h2>###NEWS_TITLE###</h2>
###CATWRAP_B### ###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE### ###CATWRAP_E###
###NEWS_AUTHOR###



###NEWS_SUBHEADER###

###NEWS_IMAGE###
###NEWS_CONTENT###

<div class="news-single-backlink">
<!--###LINK_ITEM###-->###BACK_TO_LIST###<!--###LINK_ITEM###-->
</div> </div>
<!-- ###TEMPLATE_SINGLE_FORUM### end -->












<br />
<br />
<br />
<br />
<hr />
<br />
<br />
<br />
<h3>TEMPLATE_ARCHIVE</h3>
<em>Subpart for the news archive menu.</em><br />
<br />
<br />
<!-- ###TEMPLATE_ARCHIVE### begin
Subpart for the news archive menu
-->
<div class="news-amenu-container">
<h2>###ARCHIVE_HEADER###</h2>
<ul>
<!-- ###CONTENT### begin -->
<!-- ###MENUITEM### begin -->
<li><!--###LINK_ITEM###-->###ARCHIVE_TITLE###: ###ARCHIVE_COUNT### ###ARCHIVE_ITEMS###<!--###LINK_ITEM###--></li>
<!-- ###MENUITEM### end-->
<!-- ###CONTENT### end -->
</ul>
</div>
<!-- ###TEMPLATE_ARCHIVE### end -->


<br />
<br />
<br />
<br />
<hr />
<br />
<br />
<br />
<h3>TEMPLATE_ARCHIVE_NOITEMS</h3>
<em>Shown if the archive has no items!</em><br />
<br />
<br />
<!-- ###TEMPLATE_ARCHIVE_NOITEMS### begin
Shown if the archive has no items!
-->
<div class="news-amenu-container">
<h2>###ARCHIVE_HEADER###</h2>
<ul>
<li>###ARCHIVE_EMPTY_MSG###</li>
</ul>
</div>
<!-- ###TEMPLATE_ARCHIVE_NOITEMS### end -->






<br />
<br />
<br />
<br />
<hr />
<br />
<br />
<br />
<h3>TEMPLATE_SEARCH</h3>
<em>Subpart for the search-form.</em><br />
<br />
<br />

<!-- ###TEMPLATE_SEARCH### begin
Subpart for the search-form
-->
<div class="news-search-form">
<form method="post" action="###FORM_URL###">
<input size="30" maxlength="100" type="text" name="tx_ttnews[swords]" value="###SWORDS###" />
<span class="news-search-form-submit"><input type="submit" name="search" value="###SEARCH_BUTTON###" /></span>
</form></div>
<!-- ###TEMPLATE_SEARCH### end -->

<br />
<hr /><br />
<h3>
this is shown if the search result is empty </h3>
<br />

<!-- ###TEMPLATE_SEARCH_EMPTY### begin -->
<div class="news-search-emptyMsg">###SEARCH_EMPTY_MSG###</div>
<!-- ###TEMPLATE_SEARCH_EMPTY### end -->

<br /><br />
<br />
<hr /><br />
<h3>TEMPLATE_HEADER_LIST</h3>
<em>shows a list of news titles</em><br />

<br />
<!-- ###TEMPLATE_HEADER_LIST### begin -->

<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<!-- ###NEWS### begin
Template for a single item
-->
<div class="news-header-list-container">
<div class="news-header-list-title"> <!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></div>
<div class="news-header-list-time"> ###NEWS_TIME###</div>
<div class="news-header-list-categories">###TEXT_CAT_LATEST### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE###</div>

</div>

<!-- ###NEWS### end-->

<!-- ###CONTENT### end -->
###BROWSE_LINKS###

<!-- ###TEMPLATE_HEADER_LIST### end -->
<br /><br />
<br />
<hr /><br />
<h3>TEMPLATE_CAT_RELATED</h3>
<em>shows a list of related news with the same category</em><br />

<br />
<!-- ###TEMPLATE_CAT_RELATED### begin -->
<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<!-- ###NEWS### begin
Template for a single item
-->
###GW2B###<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--> ###NEWS_TIME### ###GW2E###
<!-- ###NEWS### end-->
<!-- ###CONTENT### end -->
<!-- ###TEMPLATE_CAT_RELATED### end -->

<br />
<br />
<br />




</body>
</html>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #6  
Alt 25.05.08, 12:39
Forum Newbie
 
Registriert seit: 25.04.08
Beiträge: 22
Ausrufezeichen



Ich hab es selbst gelöst:
Ich hatte die Newsseiten nach dem Buch Praxiswissen Typo3 aufgebaut und die Single-View-Seite als hidden unter der News-Liste eingebunden.
Jetzt hab ich die Single-View-Seite sichtbar gemacht - jetzt funktionieren die Links - und die Seite erscheint trotzdem nicht im Menü....

Danke für alle Tipps!
Schöne neue Woche,
Gruß Alex
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Kein Zugriff nach Installation von der Extension "div" homer108 TYPO3 4.x Fragen und Probleme 0 13.07.08 23:05
tt_news "mehr"-Link formatieren oghma TYPO3 4.x Fragen und Probleme 2 27.07.07 12:36
List Ansicht mit Link "mehr" scr1912 News (tt_news, mininews und Co) 2 09.07.07 02:05
"Insert Web Link" und "Insert/Modify Image" zeigen auf das falsche Verzeichnis... MartinW TYPO3 4.x Rich Text Editor 0 25.10.06 20:43
CSS-Wechsel per "Link" oder "Button"!? Kurt51 HTML & CSS 1 13.09.06 11:06


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:20 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0