Show categories on homepage?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
jdavis99
Posts: 5
Joined: Tue Feb 02, 2010 4:03 am

Show categories on homepage?

Post by jdavis99 »

Hi,

Is there a way to show the "All Categories" view as the Homepage (instead of the News)?

Also would need the Homepage link in the left menu to point to "All Categories"...

Thanks in advance
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Show categories on homepage?

Post by Thorsten »

Hi,

that's quite easy. Just remove the home link in index.tpla and change the link in the header to index.php?action=show.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jdavis99
Posts: 5
Joined: Tue Feb 02, 2010 4:03 am

Re: Show categories on homepage?

Post by jdavis99 »

Excuse the newbie-ness

1. I'm using the latest version of phpmyFAQ, downloaded two days ago. So to remove the left link menu, would I be removing:

<li class="home">{backToHome}</li>

from columns>leftcolumn>content?


2. With regards to the index.php homepage header link switch, is it this line:

<h1><a title="{header}" href="{faqHome}">{header}</a></h1>

and am I making the link:

<h1><a title="{header}" href="index.php?action=show"</a></h1>

?


Just wanted to run by you before I took down the whole internet/caused a nuclear Armageddon on my browser.

Thanks.

James

(Your support and attention to detail is truly admirable for a 'free' product - a rare mindset on these anonymous intertubes. Thanks for your help - I intend on helping you with your wishlist as soon as I am able.)
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Show categories on homepage?

Post by Thorsten »

Hi,

yes, this should work. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jdavis99
Posts: 5
Joined: Tue Feb 02, 2010 4:03 am

Re: Show categories on homepage?

Post by jdavis99 »

Thanks Thorsten.

1. Worked.

2. After switching that line, for some reason, it still shows:

News
"No news is good news"
Archived news

on the homepage. :roll:

Any ideas?
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Show categories on homepage?

Post by Thorsten »

Hi,

please tell me your FAQ URL. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jdavis99
Posts: 5
Joined: Tue Feb 02, 2010 4:03 am

Re: Show categories on homepage?

Post by jdavis99 »

Hi Thorsten,

I PM'ed it to you (though I'm not quite sure if it got through)

Thanks
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Show categories on homepage?

Post by Thorsten »

Hi,

I forgot something. You have to change occurrences of "main" in index.php to "show" and it should finally work.

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