kann ich das mit den 'template settings' ändern?

Bitte alle templatebezogenen Beiträge in diesem Forum veröffentlichen.

kann ich das mit den 'template settings' ändern?

Postby a.cioffari on Sat Jan 17, 2009 17:08

hallo leute

möchte gerne diese teil von ein template entfernen:

<!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>
<!--
phpwcms | free open source content management system
created by Oliver Georgi (oliver at phpwcms dot de) and licensed under GNU/GPL.
phpwcms is copyright 2003-2009 of Oliver Georgi. Extensions are copyright of
their respective owners. Visit project page for details: http://www.phpwcms.org/
//-->
<title>Hotel Bensersiel | Hotel Vier Jahreszeiten am Yachthafen Bensersiel | Bensersiel Hotel</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="content-style-type" content="text/css" />
<script src="template/inc_js/frontend.js" type="text/javascript"></script>

</head>
<body>


will das weg machen, weil in ein artikel template habe ich ein [PHP] include("http://www.xxx.com/index.php?embeded_list"); [/PHP] eingebaut, so:

<!--content start-->
<div id="content">
<!--visual start-->
<div class="visual">
{IMAGE}
<div class="description">
<p>{CAPTION}</p>
</div>
</div>
<!--sidebar start-->
<div class="sidebar">
[TITLE]<h2>{TITLE}</h2>[/TITLE]
<p>{SUMMARY}</p>
<ul class="x">
[PHP] include("http://www.xxx.com/index.php?embeded_list"); [/PHP]
</ul>
</div>
</div>
</div>


und bei der render passiert das:

...
<!--visual start-->
<div class="visual">
<img src="content/images/xxx.jpg" border="0" width="502" height="356" alt="" title="" />
<div class="description">
<p>TEXT</p>
</div>
</div>
<!--sidebar start-->
<div class="sidebar">
<h2>TITLE</h2>

<p>SUMMARY TEXT</p>
<ul class="side">

<!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>
<!--
phpwcms | free open source content management system
created by Oliver Georgi (oliver at phpwcms dot de) and licensed under GNU/GPL.
phpwcms is copyright 2003-2009 of Oliver Georgi. Extensions are copyright of
their respective owners. Visit project page for details: http://www.phpwcms.org/
//-->
<title>TITLE TEXT</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="content-style-type" content="text/css" />
<script src="template/inc_js/frontend.js" type="text/javascript"></script>

</head>
<body>
<li>
<span class="photo">
<img src="content/images/x.jpg" border="0" width="73" height="73" alt="" />
</span>
<span class="text">
<strong><a rel="x" href="index.php">TEXT</a></strong>TEXT
</span>
</li>
<li>
<span class="photo">
<img src="content/images/x.jpg" border="0" width="73" height="73" alt="" />
</span>
<span class="text">
<strong><a rel="x" href="index.php">TEXT</a></strong>TEXT
</span>
</li>
...


beide artikeln habe verschiedene templates, bei der template von der embeded artikeln will wissen ob mit de 'template settings' möglich ist oder gibt ein andere weg?

danke!!!

angelo


ps. diese 'template settings' datei habe ich noch nicht richtig verstanten :D
--------------------------------------
Fugen-jikkou
Action speaks louder than words
User avatar
a.cioffari
 
Posts: 46
Joined: Fri Jun 04, 2004 20:20
Location: Coconut Grove

Re: kann ich das mit den 'template settings' ändern?

Postby DF6IH on Sat Jan 17, 2009 17:41

Das eine ist ein Artikel Template, und kommt ohne Seiten header, das eigentliche Template schiebt sich davor. Einfach nur <div id="content"> {CONTENT} </div> und der Artikel wird über den CONTENT eingerendert.
:idea: :?:
http://www.phpwcms-docu.de/download-dev-versions.phtml --> playing 287
....We are 1.5.0 ...
How to code my own Module? -> http://jgbm.de/phpwcms-tips.phtml (under construction)
User avatar
DF6IH
 
Posts: 2453
Joined: Mon Jan 10, 2005 17:10
Location: Hoffenheim (fast)

Re: kann ich das mit den 'template settings' ändern?

Postby a.cioffari on Sat Jan 17, 2009 18:46

hallo...

Das eine ist ein Artikel Template, und kommt ohne Seiten header, das eigentliche Template schiebt sich davor.

das ist korrekt, aber schau mal... der artikel template hat ein [PHP] include("http://www.xxx.com/index.php?embeded_list"); [/PHP] von eine normale template... diese normale template bring das seiten header das ich weg machen will...

Einfach nur <div id="content"> {CONTENT} </div> und der Artikel wird über den CONTENT eingerendert.

hmmmmmm, habe nicht verstanden... wo soll ich das machen? auf die template von der artikel 'embeded_list'?

bis dann!
--------------------------------------
Fugen-jikkou
Action speaks louder than words
User avatar
a.cioffari
 
Posts: 46
Joined: Fri Jun 04, 2004 20:20
Location: Coconut Grove

Re: kann ich das mit den 'template settings' ändern?

Postby DF6IH on Sat Jan 17, 2009 19:02

Nun ich vermute deine Verfahrenstechnik ist derart revolutionär, dass sie sich mir gänzlich verschließt... !

Aber hier http://www.phpwcms-docu.de/vorlagen_de.phtml findest du die allgemeinen Grundlagen des Seitentemplatings,


Artikeltemplates laufen innerhalb der Spalten, die das Template definiert.

That's the difference ;)


...und eine ganze Seite includieren ist uncool !
http://www.phpwcms-docu.de/download-dev-versions.phtml --> playing 287
....We are 1.5.0 ...
How to code my own Module? -> http://jgbm.de/phpwcms-tips.phtml (under construction)
User avatar
DF6IH
 
Posts: 2453
Joined: Mon Jan 10, 2005 17:10
Location: Hoffenheim (fast)

Re: kann ich das mit den 'template settings' ändern?

Postby claus on Sat Jan 17, 2009 19:11

Es gibt ja auch noch den Content Part "Externer Content" - da wird dann nur der Code zwischen den body-tags reingesaugt... :idea:
The following (and the previous) wouldn't have happened if there had been a GURM!
update process in progress 90% - Please stand by.. don't hit any key. Hold your breath...
User avatar
claus
 
Posts: 2513
Joined: Mon Jan 10, 2005 16:29
Location: germany / outdoor


Return to phpwcms Templates Deutsch

Who is online

Users browsing this forum: Alexa [Bot] and 0 guests