{writeContent} in several places in the index.tpl

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
martinus
Posts: 11
Joined: Tue Feb 01, 2011 8:53 pm

{writeContent} in several places in the index.tpl

Post by martinus »

Hi

what do i have to do please if i want to insert {writeContent} in several places in the index.tpl with difernt contents?
Is it posible to create something like {writeContent2} ?

I want to include a header with my logo and menu (that includes php code), that works with {writeContent}

But if i want to include now my footer too, i need something like {writeContent2}

How can o do that please?

Regards, Martin
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: {writeContent} in several places in the index.tpl

Post by Thorsten »

Hi,

it's described in our own FAQ: http://faq.phpmyfaq.de/content/11/9/en/ ... ework.html

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
martinus
Posts: 11
Joined: Tue Feb 01, 2011 8:53 pm

Re: {writeContent} in several places in the index.tpl

Post by martinus »

thank you Thorsten. Now i got it. Sorry.
Post Reply