Headline as a replacement tag available? Überschrift als RT?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
rws
Posts: 9
Joined: Thu 22. Sep 2005, 18:24
Contact:

Headline as a replacement tag available? Überschrift als RT?

Post by rws »

Hola!

I'm using php wcms for just 5 Days - But everyday i'm learning more and more. Anyway, Can you tell the article headline replacement tag?

Ich benutze wcms nun seit 5 Tagen, aber jeden Tag lerne ich mehr und mehr ;-). Trotzdem brauche ich eure Hilfe - Könnt Ihr mir sagen ob es ein Replacement Tag für die Artikel-Überschrift gibt?

I have built a template and used the rt CONTENT - But I want to move the Headline to another place - can you help me or do you know another solution how to move the article headline?

Ich habe ein eigenes Template gebaut und das RT Content benutzt - Aber ich möchte gerne die Überschrift an einem anderen Platz verschieben - Könnt ihr mir helfen oder wisst ihr eine andere Lösung wie man die Überschrift verschieben kann?

thanks in advance!
Vielen Dank im voraus!

chao rene
Last edited by rws on Thu 22. Sep 2005, 19:06, edited 1 time in total.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Re: Article Headline as a replacement tag available?

Post by frold »

rws wrote:Hola!

I have built a template and used the rt CONTENT - But I want to move the Headline to another place - can you help me
nope - or yes - you need to edit the article template but only the articles list template is done - we are waiting on further enhancement of the article template system.. read: http://www.phpwcms.de/forum/viewtopic.php?t=7271
http://www.studmed.dk Portal for doctors and medical students in Denmark
rollo_hh
Posts: 2
Joined: Tue 8. May 2007, 16:11

Post by rollo_hh »

ehm, ist das immernoch so aktuell, daß es auch bei der 1.3.3 Version keine Möglichkeit gibt, die Headline mittels RT anders zu setzen?

there is no Update for the prob in 1.3.3 ?
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

don't mix German/English anymore.

You can always write custom RT to solve your problem - so there is no need to add an additional RT in core code again.

You have multiple possible ways to handle such "problem".

template/inc_script/frontend_render is your friend.

Code: Select all

if(empty($content['article_title'])) {
  $myTitle = $content['struct'][ $aktion[0] ]['acat_name'];
} else {
  $myTitle = $content['article_title'];
}
$content['all'] = str_replace('{MYTITLE}', html_specialchars($myTitle), $content['all']);
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply