Zum Inhalt springen

Press Center kein Link bei [mehr]

Erstellt am 29. April 2004 · 8 Antworten · letzte Antwort am 4. November 2009

Tags: Frage

manfredo ·

Hallo,

hab ein Problem mit der Extension "cwt_press_center" und zwar bekomme ich in der LIST oder LATEST Übersicht kein href auf [mehr].
Somit bekomme ich natürlich auch keine Single News angezeigt.

Hat einer Ahnung ob ich da eine Einstellung übersehen habe?

gruß
manfredo

poppsworld.​com ·

Entweder musst du im Constant Editor "Disable links" auf 0 setzen oder du hast den entsprechenden Platzhalter im Template gelöscht...

Grüße aus BB
Lars

Toledow ·

Hallo,
also ich habe genau das gleiche Problem. Komme weder über die Überschrift, noch über [mehr] einen link für die single-Ansicht.
Hatte die Extension frisch installiert und nichts in den templates geändert. "Disable links" ist ebenfalls auf 0.
Also ich hab jetzt schon zeimlich lange rumprobiert, finde aber nichts.

Gibts da noch ne andere Möglickeit, woran das leigen kann?

Gruß,
Thorsten

turbodiesel ·
Toledow schrieb

Hallo,
also ich habe genau das gleiche Problem. Komme weder über die Überschrift, noch über [mehr] einen link für die single-Ansicht.
Hatte die Extension frisch installiert und nichts in den templates geändert. "Disable links" ist ebenfalls auf 0.
Also ich hab jetzt schon zeimlich lange rumprobiert, finde aber nichts.

Gibts da noch ne andere Möglickeit, woran das leigen kann?

Gruß,
Thorsten

Schau mal im Constant Editor, ob bei PID NewsItems auch die pid von der Seite, die das Plugin enthält, eingetragen ist.

Bei mir war das der Grund weshalb es nicht funktioniert hat.

Gruss,
Andy

Toledow ·

Hallo,
jo, vielen Dank, hat geklappt. Also ich hatte in den Constants auf die PID des Ordners und nicht auf die Seite mit List view verlinkt.
Hatte ich in der Anleitung falsch verstanden.

Es geht! coole Sache.

Thorsten

Dade Murphy ·

Hallo,

ich habe dasselbe Problem, jedoch bin ich Typo3 Newbie und habe keine Ahnung welche Constanten ich eingeben muss - in der Dokumentation, Forumssuche und Google habe ich ebenfalls nichts zu cwt_press_center gefunden.

Also folgendes habe ich bisher nach Docu gemacht:

1. Sysordner "presse" erstellt
2. Erweiterte Seite "pressenews" mit Inhalt Plugin "Pressemeldungen", Ausgangspunkt "presse" und Code "LIST" angelegt
3. Erweiterte Seite "pressemedia" mit Inhalt Plugin "Multimediaarchiv", Ausgangspunkt "presse" und Code "LIST" angelegt
4. im Sysordner "presse" einen Datensatz "Pressemeldung" mit Inhalt angelegt.
5. wenn ich auf die Seite "pressenews" gehe, dann wird die Newsmeldung z.T. angezeigt, jedoch ist "[mehr...]" nicht verlinkt. Mediaobjects werden korrekt mit den 4 Icons und jweils (0) angezeigt. Lege ich Mediaobjekte an, dann ändern sich die zahlen hinter den Icons, sind aber nicht verlinkt.
6. für die Seite "pressenews" ein Extensiontemplate angelegt und dort unter Constants folgendes eingetragen:

PIDNewsItems = 393
styles.content.links {
allowTags = table,tbody,thead,tr,td,b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span
}

393 ist die ID von derselben Seite "pressenews" welche das Plugin "Pressemeldungen" enthält.

was habe ich falsch gemacht, warum wird es nicht verlinkt?

vielen Dank für Eure Hilfe,
Gruß,Dade

Mojo ·

Das TS muss ins Constant's Felder der Seite eingefügt werden auf der sich das Plugin befindet

plugin.tx_cwtpresscenter.PIDMediaArchive = Die UID der Seite auf der sich das Plugin für's Medien Archiv befindet
plugin.tx_cwtpresscenter.PIDNewsItems = Die UID der Seite auf der das Plugin für NewsItems drauf ist

und hier alle Optionen:

plugin.tx_cwtpresscenter {
	# cat=Press center//; type=string; label= Absolute path to export folder e.g. typo3temp (Used for copying of files)
    absExportPath = /home/www/web4/html/cm/typo3temp/
    # cat=Press center//; type=string; label= to export folder e.g. typo3temp (Used for linking of files)
    relExportPath = /typo3temp/
	# cat=Press center//; type=string; label= Absolute path to upload folder (Used for copying of files)
    absUploadPath = /home/www/web4/html/cm/uploads/tx_cwtpresscenter/
   	# cat=Press center//; type=string; label= Relative path to upload folder (Used for previews)
    relUploadPath = uploads/tx_cwtpresscenter/
    
    # cat=Press center//; type=int; label= PID MediaArchive: PID of the page containing the media objects plugin
    PIDMediaArchive = 7
    
    # cat=Press center//; type=int; label= PID NewsItems: PID of the page containing the news items plugin (ListView)
    PIDNewsItems = 6    
    
    # cat=Press center//; type=string; label= Themes folder: Themes are located in the folder media. Put you own theme there and insert the name. (e.g. fileadmin/themes/)
    themesFolder = EXT:cwt_press_center/media/
    # cat=Press center//; type=string; label= Theme Name: Put you own theme in the theme folder and insert the name here.
    theme = comic
    
    # cat=Press center//; type=boolean; label= Disable export: Disables the export feature of the extension. If you do not intend to have the export feature, disble it here. It will gain the performance!
    disableExport = 0
    
	# cat=Press center//; type=string; label= Date format: Select, how the format should be displayed.
    dateFormat = %d-%m-%y %H:%M:%S
}

plugin.tx_cwtpresscenter_pi1 {
    listView {
	    # cat=Press center - News items//; type=int; label= ListView - character limit: This amount of characters will be shown in the list
	    contentCharacterLimit = 150

	    # cat=Press center - News items//; type=int; label= ListView - records per page: Number of records per page (used for result browsing)
	    recordsPerPage = 5
	    
	    # cat=Press center - News items//; type=int; label= ListView - maximum pages: Number of pages of results to show (used for result browsing)
	    maxPages = 10
    
    	# cat=Press center - News items//; type=string; label= ListView - order by: This string tells the list view to order the list in the corresponding way. Each field of the database can be inserted. (More than one fiel is possible by separating the fields with a "," e.g. author,date). For manual ordering in the backend enter "sorting"!
		orderBy = sorting
	}

    latestView {
	    # cat=Press center - News items//; type=int; label= LatestView - character limit: This amount of characters will be shown in the list
	    contentCharacterLimit = 150
	
	    # cat=Press center - News items//; type=string; label= LatestView - order by: This string tells the list view to order the list in the corresponding way. Each field of the database can be inserted. (More than one fiel is possible by separating the fields with a "," e.g. author,date). For manual ordering in the backend enter "sorting"!
		orderBy = date DESC	
		
		# cat=Press center - News items//; type=int; label= LatestView - number of records: Number of records per page (used for result browsing)
	    numberOfRecords = 5
	}

    # cat=Press center - News items//; type=boolean; label= Disable mediaobjects: Disables the rendering of mediaobjects.
    disableMediaobjects = 0
	    
    # cat=Press center - News items//; type=boolean; label= Disable links: Disables the rendering of links.
	disableLinks = 0
	    
	# cat=Press center - News items//; type=boolean; label= Disable related news items: Disables the rendering of related news items.
	disableRelated = 1
    
}

plugin.tx_cwtpresscenter_pi2 {
    latestView {
    	# cat=Press center - Media objects//; type=boolean; label= Show latestView after a search: If the latestView is on the same page as the listView, it can be disabled, if a search was done.
	    showAfterSearch = 0
	    
   		# cat=Press center - Media objects//; type=boolean; label= Show latestView in single view: The latestView can be disabled, if the single view of a media object is shown.
		showInSingleView = 0
	    
   	    # cat=Press center - Media objects//; type=int; label= Number of items in the latest view per type   
	    maxLatestRecords = 3
    }
    
    listView {
	    # cat=Press center - Media objects//; type=int; label= Records per page: Number of records per page (used for result browsing)
	    recordsPerPage = 10
	    
   	    # cat=Press center - Media objects//; type=int; label= Maximum pages: Number of pages of results to show (used for result browsing)
	    maxPages = 10
	    
	    # cat=Press center - Media objects//; type=string; label= Order by: This string tells the list view to order the list in the corresponding way. Each field of the database can be inserted. (More than one fiel is possible by separating the fields with a "," e.g. type,title). For manual ordering in the backend enter "sorting"!
		orderBy = uid
	}
	
	searchBox {
		# cat=Press center - Media objects//; type=boolean; label= Show search box in single view: The search box can be disabled, if the single view of a media object is shown.
		showInSingleView = 0

		# cat=Press center - Media objects//; type=boolean; label= Show search box after a search: If the search box is on the same page as the listView, it can be disabled, if a search was done.
		showAfterSearch = 1
	}
}

Die Freaks drücken sich in den Doku's immer so aus das kein normal denkender Mensch mitkommt

bugscout ·

Hi Mojo,

Die Freaks drücken sich in den Doku's immer so aus das kein normal denkender Mensch mitkommt

Also die 18 Seiten des Tutorials sind total gut aufgebaut und verständlich erklärt, nur dass man einfach ein Paar wichtige Sachen vergessen hat, ohne die das Plugin nicht läuft.

Danke für die Erklärungen, die retten mir den Tag!
Walter

Edit:

Allerdings nur bis zum nächsten Problem

Pressemeldung und Multimedia Objekt exportieren erzeugen einen 404.

So wie ich es sehe sind aber noch einige Constants nach, auch sowas mit Path.

Werde ich mir dann mal reintun.

bugscout ·

Hallo

absExportPath = /serverpfad/typo3temp/
relExportPath = /typo3temp/

Die beiden beseitigen den generellen 404 beim Exportieren

Jetzt hab ich noch bei:

1) Pressemeldung exportieren
a)Fehler beim Drucken The page is not configured! [type= 98][]
b)Irgendwer schreibt "Chris & Marty Pressezentrum" in meine Textdateien,
obwohl ich mir sicher bin, dass ich weder Chris noch Marty bin

2) Multimedia Objekt exportieren - es fehlen die Bilder zum Download oder im Zip

absUploadPath = /serverpfad/uploads/tx_cwtpresscenter/
relUploadPath = uploads/tx_cwtpresscenter/

das holt die Bilder

3) ausserdem brauch ich noch sowas wie disableExportRTF = 1

schauen wir mal