• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Mehrere Bereiche in einem Template pflegbar machen
PostPosted: Sun Aug 05, 2007 4:30 pm 
Offline
Forum Members
Forum Members

Joined: Wed Feb 15, 2006 6:54 pm
Posts: 112
Ich möchte gerne mehr als nur den einen {content} Bereich in meinem Template pflegbar machen - Wie ist das realisierbar?


Top
 Profile  
 
 Post subject: Re: Mehrere Bereiche in einem Template pflegbar machen
PostPosted: Sun Aug 05, 2007 4:41 pm 
danyduck wrote:
Ich möchte gerne mehr als nur den einen {content} Bereich in meinem Template pflegbar machen - Wie ist das realisierbar?


wenn du uns sagst, was genau du vorhast - und was du mit content-bereich speziell meinst, ist es einfacher, dir zu sagen, wie das realisierbar ist  ;)


Top
  
 
 Post subject: Re: Mehrere Bereiche in einem Template pflegbar machen
PostPosted: Sun Aug 05, 2007 4:45 pm 
Offline
Forum Members
Forum Members

Joined: Wed Feb 15, 2006 6:54 pm
Posts: 112
Indem ich doch den Tag {content} an die entsprechende Stelle in meinem Template setze, ist dies doch dort pflegbar. Ich möchte aber nicht nur einen pflegbaren Bereich sondern mehrere... also plump gesagt mehre funktionierende {content} Tags. Zum Beispiel einen für eine Überschrift in einem markierten Bereich auf der Inhaltsseite und einen für den Text...


Top
 Profile  
 
 Post subject: Re: Mehrere Bereiche in einem Template pflegbar machen
PostPosted: Sun Aug 05, 2007 4:56 pm 
ach so. das meinst du.
die lösung ist ganz simple  ;)

schau mal in der admin unter TAGS ->content

Quote:
# (optional)block - Allows you to have more than one content block per page. When multiple content tags are put on a template, that number of edit boxes will be displayed when the page is edited.

Example:

{content block="Second Content Block"}

Now, when you edit a page there will a textarea called "Second Content Block".


hilft dir das weiter?

du kannst also mit {content block} so viele content-bereiche einfügen, wie du magst.
im wysiwig-editor sind sind dann separat pflegbar.

im template sähe das dann ungefähr so aus:

Code:
<!-- start content -->
   <div id="content">

      <!-- start sidebar -->
      <div id="sidebar" class="hascontent">
         {content block='Sidebar'}
      </div>
      <!-- end sidebar -->

      <!-- start maincontent -->
      <div id="main">
      <noscript>
      <div class="noflash">Zur vollständigen Darstellung dieser Seite benötigen Sie aktiviertes Javascript und das Adobe-Flash-Player-Plugin.<br />
Download: <a href="http://www.adobe.com/de/products/flashplayer/" target="_blank" title="Flash-Player herunterladen">http://www.adobe.com/de/products/flashplayer/</a> <br /><br /><br /></div></noscript>
         {content} <br />
       
      <hr class="accessibility" />
      </div>
     <!-- end maincontent -->

   </div>
   <!-- end content -->


Top
  
 
 Post subject: Re: Mehrere Bereiche in einem Template pflegbar machen
PostPosted: Sun Aug 05, 2007 5:07 pm 
Offline
Forum Members
Forum Members

Joined: Wed Feb 15, 2006 6:54 pm
Posts: 112
Wunderbar! Danke! Genau das habe ich gesucht.  :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting