Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten Ansicht
  #1  
Alt 10.03.08, 09:23
Forum Newbie
 
Registriert seit: 27.11.07
Beiträge: 13
Doppelte Anzeige der News

Hallo,

ich habe vor ein paar Tagen eine komplette T3-Website zur Pflege übernommen. Jetzt ist mir aufgefallen, dass die News in der Detailansicht immer doppelt angezeigt werden.
Ich hab von tt_news ehrlich gesagt überhaupt keinen Plan und damit noch nie gearbeitet.
Könnte mir da jemand weiterhelfen, bzw. welche Infos braucht Ihr dafür.

Danke schon mal im Voraus.
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 10.03.08, 09:52
Benutzerbild von josDesign
TYPO3 Forum Team
Administrator
 
Registriert seit: 24.07.06
Alter: 23
Beiträge: 1.695
josDesign eine Nachricht über Skype™ schicken

Sind vielleicht 2 News-Plugins auf der Single-Ansicht eingetragen? Oder ist das Template nicht ganz iO?
__________________
Bitte markiere Deinen Thread als Gelöst, wenn er es ist! Wie geht das? Hast Du ihn eventl. selbst gelöst? Dann lass uns an der Lösung teilhaben!
Das Anzeigen von Typoscript in Beiträgen steuern
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 10.03.08, 09:59
Forum Newbie
 
Registriert seit: 27.11.07
Beiträge: 13

Also sehen kann ich die Plugin-Tabelle nur einmal. Was das Template angeht, meinsz Du dieses hier?

HTML-Code:
<!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> <title>News example template</title> </head> <body> <h1>NEWS TEMPLATES</h1> <h2>EXAMPLE</h2> <br /> <br /> <br /> <pre> <strong>Global markers, as set up in TypoScript:</strong>
These are substituted throughout the whole template.

<em>Markers:</em>
GW1B / GW1E - wrap for news headers in single view
GW2B / GW2E - wrap for more-links and the pagebrowser
GW3B / GW3E - wrap for headers in latest and amenu templates

GC1 - first alternating color
GC2 - second alternating color
GC3 - color for headers in latest and amenu templates
GC4 - bgcolor for items in list view


<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 - the 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
LINK_NEXT
</pre> <br /><br /><br /><br /><hr /> <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><img src="fileadmin/gz/gfx/basics/gzas_screen_17.jpg"></div> <!-- ###CONTENT### begin
          This is the part of the template substituted with the list of news: 
    --> <!-- ###NEWS### begin 
            Template for a single item 
        --> <div id="newscontainer1"> <div id="news1"><img src="fileadmin/gz/gfx/basics/pfeil.jpg"><b>###NEWS_DATE###</b>&nbsp;<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></div> <div id="news2"><div id="newsimage">###NEWS_IMAGE###</div>&nbsp;<div id="newstext">###NEWS_SUBHEADER###</div><br /> <!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###--></div> </div> <!-- ###NEWS### end--> <!-- ###NEWS_1### begin 
            Template for an alternative item 
        --> <div id="newscontainer1"> <div id="news1"><img src="fileadmin/gz/gfx/basics/pfeil.jpg"><b>###NEWS_DATE###</b>&nbsp;<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></div> <div id="news2"><div id="newsimage">###NEWS_IMAGE###</div>&nbsp;<div id="newstext">###NEWS_SUBHEADER###</div><br /> <!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###--></div> </div> <!-- ###NEWS_1### end--> <!-- ###CONTENT###  end --> <!-- ###TEMPLATE_LATEST### end --> <br /><br /><br /><br /><hr /> <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
--> <!-- ###CONTENT### begin
          This is the part of the template substituted with the list of news: 
    --> <!-- ###NEWS### begin 
            Template for a single item 
        --> <div id="newscontainer1"> <div id="news3"><img src="fileadmin/gz/gfx/basics/pfeil.jpg"><b>###NEWS_DATE###</b>&nbsp;<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></div> <div id="news4">###NEWS_SUBHEADER###<br /> <!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###--></div> </div> <!-- ###NEWS### end--> <!-- ###NEWS_1### begin 
            Template for an alternative item in single view 
        --> <div id="newscontainer1"> <div id="news3"><img src="fileadmin/gz/gfx/basics/pfeil.jpg"><b>###NEWS_DATE###</b>&nbsp;<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></div> <div id="news4">###NEWS_SUBHEADER###<br /> <!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###--></div> </div> <!-- ###NEWS_1### end--> <!-- ###CONTENT###  end -->
    
        ###LINK_PREV### ###BROWSE_LINKS### ###LINK_NEXT###



<!-- ###TEMPLATE_LIST### end --> <br /><br /><br /><br /><hr /> <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
--> <h1>###NEWS_TITLE###</h1> <div id="extdate">###NEWS_DATE###</div><br />
            ###NEWS_SUBHEADER### <br />
            
            ###NEWS_IMAGE### 
            ###NEWS_CONTENT### <br />
            
            ###TEXT_LINKS###<br />
            ###NEWS_LINKS###<br />
            
            ###TEXT_RELATED###<br />
            ###NEWS_RELATED###
            <br />
            ###TEXT_FILES###<br />
            ###FILE_LINK###
             <div id="exttext"><!--###LINK_ITEM###--> ###BACK_TO_LIST### <!--###LINK_ITEM###--> </div> <!-- ###TEMPLATE_SINGLE### end --> <br /><br /><br /><br /><hr /> <br /> <h3>TEMPLATE_SINGLE_RECORDINSERT</h3> <em>this is used if news-items  are displayed  with the 'insert records' content element </em><br /> <br /> <!-- ###TEMPLATE_SINGLE_RECORDINSERT### begin
    This subpart is used to display single news items with the content element 'insert records'
--> <table border="0" cellspacing="0" cellpadding="1" width="98%"> <tr> <td valign="top">
            ###NEWS_TITLE###<br />
            ###GW2B### ###NEWS_DATE### ###NEWS_TIME### <br />
            ###TEXT_NEWS_AGE### ###NEWS_AGE### ###GW2E###<br /> <img alt="" src="clear.gif" width="1" height="5" /><br />
            ###GW2B### ###NEWS_AUTHOR### <br />
            ###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE######GW2E###<br />
            
            
            ###GW1B### ###NEWS_SUBHEADER### <br />
            
            ###NEWS_IMAGE### 
            ###NEWS_CONTENT### <br />
            
            ###TEXT_LINKS###<br />
            ###NEWS_LINKS###<br />
            
            ###TEXT_RELATED###<br />
            ###NEWS_RELATED###
            <br />
            ###TEXT_FILES###<br />
            ###FILE_LINK###
            ###GW1E###<br /> </td> </tr> </table> <!-- ###TEMPLATE_SINGLE_RECORDINSERT### end --> <br /><br /><br /><br /><hr /><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
--> <table cellpadding="4" cellspacing="1" border="0" width="1"> <tr bgcolor="###GC3###"> <td valign="bottom">###GW3B### ###ARCHIVE_HEADER######GW3E###</td> </tr> <!-- ###CONTENT### begin
          This is the part of the template substituted with the list of items: 
    --> <!-- ###MENUITEM### begin 
            Template for a single item 
        --> <tr> <td bgcolor="###GC2###" valign="top" nowrap="nowrap">
                ###GW2B###<!--###LINK_ITEM###-->###ARCHIVE_TITLE###<!--###LINK_ITEM###--> - (###ARCHIVE_COUNT### ###ARCHIVE_ITEMS###)###GW2E###</td> </tr> <!-- ###MENUITEM### end--> <!-- ###MENUITEM_1### begin 
            Template for a single item with alternative bgcolor 
        --> <tr> <td bgcolor="###GC1###" valign="top" nowrap="nowrap">
                ###GW2B###<!--###LINK_ITEM###-->###ARCHIVE_TITLE###<!--###LINK_ITEM###--> - (###ARCHIVE_COUNT### ###ARCHIVE_ITEMS###)###GW2E###</td> </tr> <!-- ###MENUITEM_1### end--> <!-- ###CONTENT###  end --> <tr> <td><img alt="" src="clear.gif" width="150" height="1" /></td> </tr> </table> <!-- ###TEMPLATE_ARCHIVE### end --> <br /><br /><br /><br /><hr /><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!
--> <table cellpadding="4" cellspacing="1" border="0" width="1"> <tr bgcolor="###GC3###"> <td valign="bottom">###GW3B### ###ARCHIVE_HEADER######GW3E###</td> </tr> <tr> <td bgcolor="###GC2###" valign="top">###GW2B### ###ARCHIVE_EMPTY_MSG### ###GW2E###</td> </tr> <tr> <td><img alt="" src="clear.gif" width="150" height="1" /></td> </tr> </table> <!-- ###TEMPLATE_ARCHIVE_NOITEMS### end --> <br /><br /><br /><br /><hr /><br /> <h3>TEMPLATE_SEARCH</h3> <em>Subpart for the search-form.</em><br /> <br /> <br /> <!-- ###TEMPLATE_SEARCH### begin
    Subpart for the search-form
--> <table border="0" cellpadding="4" cellspacing="1"> <tr> <td><form method="post" action="###FORM_URL###"> <input size="30" maxlength="100" type="text" name="tx_ttnews[swords]" value="###SWORDS###" /> <input type="submit" name="search" value="###SEARCH_BUTTON###" /> </form></td> </tr> </table> <!-- ###TEMPLATE_SEARCH### end --> <br /><br /><br /><br /><hr /><br /> <h3>TEMPLATE_SEARCH_EMPTY</h3> <em>this is shown if the search result is empty</em><br /> <br /> <!-- ###TEMPLATE_SEARCH_EMPTY### begin --> <table border="0" cellpadding="4" cellspacing="1"> <tr> <td>###GW2B### ###SEARCH_EMPTY_MSG### ###GW2E###</td> </tr> </table> <!-- ###TEMPLATE_SEARCH_EMPTY### end --> <br /><br /><br /><br /><hr /><br /> <h3>TEMPLATE_HEADER_LIST</h3> <em>shows a list of news titles</em><br /> <br /> <!-- ###TEMPLATE_HEADER_LIST### begin --> <table cellpadding="4" cellspacing="1" border="0" width="98%"> <!-- ###CONTENT### begin
          This is the part of the template substituted with the list of news: 
    --> <!-- ###NEWS### begin 
            Template for a single item 
        --> <tr bgcolor="###GC1###"> <td valign="top">
                    ###GW1B### <!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--> ###GW1E###<br /> 
                    ###GW2B### ###NEWS_TIME### 
                    ###TEXT_CAT_LATEST### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE###
                    ###GW2E###
                </td> </tr> <!-- ###NEWS### end--> <!-- ###NEWS_1### begin 
            Template for an alternative item in single view 
        --> <tr bgcolor="###GC2###"> <td valign="top">
                    ###GW1B### <!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--> ###GW1E###<br /> 
                    ###GW2B### ###NEWS_TIME### 
                    ###TEXT_CAT_LATEST### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE###
                    ###GW2E###
                </td> </tr> <!-- ###NEWS_1### end--> <!-- ###CONTENT###  end --> <tr> <td align="center" colspan="3">###GW2B### ###BROWSE_LINKS### ###GW2E###</td> </tr> </table> <!-- ###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 
        -->
        ###GW3B###<!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--> ###NEWS_TIME### ###GW3E###
        <!-- ###NEWS### end--> <!-- ###CONTENT###  end --> <!-- ###TEMPLATE_CAT_RELATED### end --> <br /> <br /> <br /> </body> </html>
Ich hab mir da mal Hilfszeichen zum Überprüfen reingesetzt.
Es wird definitiv 2 mal der Single-Bereich angezeigt.

edit:
Ich hab mal in der DB nachgeschaut. Da steht wirklich jeder Datensatz 2 mal drin. Seltsamerweise wird wenn ich einen davon lösche, der Andere im Frontend immer noch doppelt angezeigt.

Geändert von tarcom (10.03.08 um 10:21 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
  #4  
Alt 18.03.08, 18:31
Forum Newbie
 
Registriert seit: 18.03.08
Ort: Frankfurt
Beiträge: 46
gelöst?

Hi tarcom

hast du das problem gelöst?
ich habe das gleiche und kann es mir nicht erklären?!

vielen dank
gruß
chainsaw
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 19.03.08, 08:00
Forum Newbie
 
Registriert seit: 27.11.07
Beiträge: 13

Nee leider nicht. Und viel mehr Ahnung als ich scheinen hier die Meisten auch nicht zu haben.
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 19.03.08, 08:32
Benutzerbild von just2b  
Registriert seit: 03.11.04
Alter: 25
Beiträge: 2.034

vi3elleicht noch cache löschen..

und ich denke hier haben einige sehr viel ahnung, nur es fehlen hier doch einige informationen
__________________
TYPO3 3.7./3.8.X/4.0.X/4.1.1
just2b.com | Google Maps | SmoothGallery | Das grösste werbefreie TYPO3 Forum typo3.net | Content-Management-Systeme mit TYPO3 & RedDot
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
  #7  
Alt 19.03.08, 19:42
Benutzerbild von Cybersmog
TYPO3 Forum Team
Moderator
 
Registriert seit: 24.02.06
Alter: 31
Beiträge: 1.690

Könnte das Problem damit zusamenhängen: 0007181: tt_news and MySQL 5+ - TYPO3 bugtracker ?
Rupi hat gestern eine neue Version von tt_news veröffentlicht (2.5.2).

Gruß
Peter
__________________
Erstes TYPO3camp in München vom 29.-31. August 2008. Die Anmeldung ist ab sofort offen! Mehr Infos: typo3camp-munich.mixxt.de

An eagle soars, but a weasel never gets sucked into a jet engine!
TYPO3 schreibt sich TYPO3!
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
  #8  
Alt 20.03.08, 14:52
Forum Newbie
 
Registriert seit: 18.03.08
Ort: Frankfurt
Beiträge: 46
Daumen hoch

hi.

also bei mir funktioniert es nun.
ich hatte auf der single-view seite folgende plugins installiert:
- news (single)
- guestbook (list)
- guestbook (form)

somit erschien zweimal der news eintrag plus gästebucheinträge plus gästebuch-formular.

jetzt hab eich einfach das newsplugin von der seite genommen - und siehe da ...
es wird alles wie gewünschtz angezeigt.
hatte mich an die timtab-doku gehalten und daher kam ich erst später drauf.

gruß
chainsaw
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


Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
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 anzufügen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

vB 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
Anzeige von News breavemen News (tt_news, mininews und Co) 25 31.08.07 19:27
FCE erstellt - doppelte Anzeige bei neues Inhaltselement rosieres TemplaVoila 1 13.07.07 15:57
sr_feuser_register doppelte Anzeige des Registrierungsformulars ?! TB-303 TYPO3 4.x FE-User 3 26.01.07 16:19
keien Anzeige der News chillipowder News (tt_news, mininews und Co) 1 05.01.07 21:35
keine Anzeige von News noolei News (tt_news, mininews und Co) 2 03.04.06 20:31


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:02 Uhr.


Powered by vBulletin® Version 3.6.8 Patch Level 2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Template-Modifikationen durch TMS