News hide

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
innoforce
Posts: 8
Joined: Wed Oct 06, 2010 2:10 pm

News hide

Post by innoforce »

Hello, is it possible to hide the news?

Thank you in advance.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: News hide

Post by Thorsten »

Hi,

just remove it from the template file.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
innoforce
Posts: 8
Joined: Wed Oct 06, 2010 2:10 pm

Re: News hide

Post by innoforce »

I delete the News.tpl file from the Template/Default directory but in the Home-Site there is still standing "News" ?
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: News hide

Post by Thorsten »

Hi,

please check main.tpl as well.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
innoforce
Posts: 8
Joined: Wed Oct 06, 2010 2:10 pm

Re: News hide

Post by innoforce »

Thorsten wrote:Hi,

please check main.tpl as well.

bye
Thorsten

Ich habe einfach im Main.php File, den News-Teil auskommentiert. Jetzt sieht man nur noch ein "{writeContent} " http://www.innoforce.ch/phpMyFAQ/
Wenn ich das auch noch wegbekomme, passt das glaub soweit. Könnten Sie mir sagen in welchem File ich das wegbekomme.

OK, das hat auch geklappt. Einfach im Template/Index.tpl File diese Zeile auskommentiert.


Vielen Dank für die Hilfe Thorsten!
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: News hide

Post by Thorsten »

Hi,

keine Ursache! :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
innoforce
Posts: 8
Joined: Wed Oct 06, 2010 2:10 pm

Re: News hide

Post by innoforce »

Thorsten wrote:Hi,

keine Ursache! :-)

bye
Thorsten
Hab doch noch ein kleines Problem. Wenn ich das "{writeContent}" auskommentiere, dann sieht man die Beiträge nicht mehr.

Wie mache ich das, dass bei der Homeseite das {writeContent} nicht steht und die Beiträge ganz normal angezeigt werden?
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: News hide

Post by Thorsten »

Hi,

du musst auch die main.tpl bearbeiten, da sind die News der Startseite drin.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply