Most popular box - move to left side.

You made an own skin or theme for phpMyFAQ. You can share it here with others!

Moderator: Thorsten

Post Reply
TET
Posts: 12
Joined: Wed Jul 11, 2012 10:45 am

Most popular box - move to left side.

Post by TET »

Where can I change the position of e.g. the most popular box? From right to left? If it is possible to move the box, will there be a problems with future updates of pmf?

As an alternative it would also be interesting to know how to create a new "Box" (for example for downloadlinks)
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Most popular box - move to left side.

Post by Thorsten »

Hi,

it would require some PHP modifications to move the box on the left side, that would complicate the update process.

Adding new boxes is easy, it's only HTML, please check the template/default/index.tpl file

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rioz
Posts: 8
Joined: Thu Dec 11, 2014 7:59 am

Re: Most popular box - move to left side.

Post by rioz »

Hi,

Can we shrink the boxes in the right instead of moving them? Actually, the content area in the middle has only ~60% of the whole page which can't maximize information shown in the page.

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

Re: Most popular box - move to left side.

Post by Thorsten »

Hi,

can you show me your idea in a e.g. screenshot?

Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rioz
Posts: 8
Joined: Thu Dec 11, 2014 7:59 am

Re: Most popular box - move to left side.

Post by rioz »

Hi,

Similar to the sample below. To hide and show the "Most Popular" and "Latest" boxes when necessary. The middle content area will expand when both right boxes hide.
http://www.w3schools.com/jquery/tryit.a ... _hide_show

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

Re: Most popular box - move to left side.

Post by Thorsten »

Hi,

that can be done, you can use the code from your example as phpMyFAQ also uses jQuery.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Plastic
Posts: 3
Joined: Mon Feb 23, 2015 11:25 am

Re: Most popular box - move to left side.

Post by Plastic »

Can You explain it better Thorsten? Beacause I don't know how to do this:/
Post Reply