[phpBB Debug] PHP Warning: in file [ROOT]/ext/tas2580/seourls/event/listener.php on line 213: Undefined array key "FORUM_NAME"
keine Ausgabe bei REX_ARTICLE - REDAXO Forum
Hallo,

Wir haben in letzter Zeit festgestellt, dass die Kommunikation via Slack viel schneller und zielführender ist als ein Beitrag im Forum. Aufgrund der neuen und besseren Möglichkeiten der Kommunikation haben wir uns entschlossen das Forum nur noch als Archiv zur Verfügung zu stellen. Somit bleibt es weiterhin möglich hier nach Lösungen zu suchen. Neue Beiträge können nicht mehr erstellt werden.

Wir empfehlen, für deine Fragen/Probleme Slack zu nutzen. Dort sind viele kompetente Benutzer aktiv und beantworten jegliche Fragen, gerne auch von REDAXO-Anfängern! Slack wird von uns sehr intensiv und meistens "rund um die Uhr" benutzt :-)
Selbst einladen kannst Du dich hier: https://redaxo.org/slack/
Alomaman
Beiträge: 4
Registriert: 17. Jul 2012, 23:02

keine Ausgabe bei REX_ARTICLE

22. Feb 2014, 19:11

Moin Moin REDAXO-Community
Ich bin neu hier und habe folgendes Problem:
Ich habe ein Zweispaltiges-CSS-Template mit 6 Text Bereichen, die ich alle einzeln ansprechen möchte.
In jedem Text Bereich soll also ein anderen Betrag / Text angezeigt werden.
Wie füge ich die Funktionen jetzt richtig ins Template ein? Vielleicht so?
--- mit REX_ARTICLE, <?php print $this->getArticle(1);?>,  REX_ARTICLE[ctype=1] ---
Der Contentberich sieht aktuell so aus:
Schon einmal vielen Dank für eure Hilfe und Tipps im voraus

Code: Alles auswählen

<div id="mainarea">
	<div id="contentarea">
		<h2>WELCOME</h2>
		<div class="content">
		CELESTIAL  is a CSS template that is free and fully standards compliant. <a href="http://www.free-css-templates.com/">Free CSS Templates</a> designed this template. <br/>
          <br/>
          This template is allowed for all uses, including commercial use, as it is released under the Creative Commons Attributions 2.5 license. The only stipulation to the use of this free template is that the links appearing in the footer remain intact. Beyond that, simply enjoy and have fun with it!
		</div>
		
		<h2>WHAT WE DO?</h2>	
		<div class="content">
		Lorem ipsum dolor sit amet, consectetur. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.	
		</div>
	</div>
	
	<div id="sidebar">
		<div class="sidebarheader">NEWS</div>
		<div class="content">
		<div class="newsdate">12/02/2008</div>
		Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
		<br/><br/>
		<div class="newsdate">12/02/2008</div>
		Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
		</div>
	
		<div class="sidebarheader">TESTIMONIALS</div>
		<div class="content">
		Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
		<br/><strong>Joe Bloggs</strong><br/><br/>
		Loboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
		<br/><strong>Joe Bloggs</strong>	
		</div>
	</div></div> 

Benutzeravatar
webghost
Beiträge: 266
Registriert: 6. Okt 2010, 20:10
Kontaktdaten: Website

Re: keine Ausgabe bei REX_ARTICLE

23. Feb 2014, 20:40

Dann willst Du das wohl über ctypes umsetzen. Dann im Template an den entsprechenden Stellen
REX_ARTICLE[ctype=1]
REX_ARTICLE[ctype=2]
REX_ARTICLE[ctype=3]
REX_ARTICLE[ctype=4]
REX_ARTICLE[ctype=5]
REX_ARTICLE[ctype=6]

überleg Dir aber mal ob Du das nicht lieber in einem Modul machen möchtest. wäre dann wesentlich einfacher Artikel zu erstellen/bearbeiten.

Alomaman
Beiträge: 4
Registriert: 17. Jul 2012, 23:02

Re: keine Ausgabe bei REX_ARTICLE

3. Mär 2014, 00:14

Moin Moin REDAXO-Community
Ich habe vor eine kleine Info Seite mit 6 Text Bereichen zu machen und möchte darin schnell Änderungen vornehmen können. Aktuell wird auf zwei Seiten das CSS Template „CELESTIAL“ von http://www.free-css-templates.com/css-templates/7 genutzt.
Wie binde ich jetzt am Besten die Texte ins Template ein?
Kann ich die Texte/ Bereiche über Module einbinden und wie mache ich das dann in meinem Fall am besten?
Außerdem ich habe einen Bereich, wo unter der Überschrift ein zentriertes Bild eingebaut ist, darunter folgt dann Text und dieser Bereich wird nie geändert. Wie würde Ihr vorgehen um das Bild direkt ins Template einfügen?
Schon einmal vielen Dank für eure Hilfe und Tipps im voraus

Zurück zu „Allgemeines [R4]“