[DONE] Template:How do I remove all in "Contact"

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
JohanLM
Posts: 9
Joined: Wed Jan 11, 2006 7:47 pm

[DONE] Template:How do I remove all in "Contact"

Post by JohanLM »

See if I can describe this clearly.

We have 3 columns on every page.
LEFTCOLUMN : Menu/Chooselanguage/Search l CENTERCOLUMN : The page you are currently in. l RIGHTCOLUMN : Top 10 list

To remove one column on all the pages is no problem.
I just go in the index.tpl and remove what I want.

But what if I want people who click the [Contact] link to reach that form to see ONLY the Contactform.
That that specific page do not have a menu and top 10 list, just the boxes in the middle that people use to mail me? Is this possible to remove let say the menu in page only and it still there in every other page?

Like:
CENTERCOLUMN : The page you are currently in.


If so...
What shall I look at?
Last edited by JohanLM on Sat May 06, 2006 12:04 pm, edited 1 time in total.
Thorsten
Posts: 15727
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this is possible if you hack index.php .... but that's a bigger hack...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
JohanLM
Posts: 9
Joined: Wed Jan 11, 2006 7:47 pm

Post by JohanLM »

So this can only be done in the index.php.
The contact.php has nothing to do with it?
I just want to rule that one out to be sure.
Thorsten
Posts: 15727
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

no, because index.php handles the template parsing for index.tpl and contact.php handles the template parsing only for contact.tpl. And indextpl is the border around the other template files.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
JohanLM
Posts: 9
Joined: Wed Jan 11, 2006 7:47 pm

Post by JohanLM »

Ah,

Now I see.
Thanks yet again Thorsten.
Don't sit infront of the screen all day now. ;)
I'm goin out for a beer.

/waves
Post Reply