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 » Thu Jul 12, 2012 10:57 am

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: 14491
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Most popular box - move to left side.

Post by Thorsten » Sat Jul 14, 2012 4:06 pm

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 » Wed Feb 04, 2015 8:10 am

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: 14491
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Most popular box - move to left side.

Post by Thorsten » Wed Feb 04, 2015 6:56 pm

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 » Thu Feb 05, 2015 9:21 am

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: 14491
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Most popular box - move to left side.

Post by Thorsten » Sat Feb 07, 2015 10:23 am

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 » Mon Feb 23, 2015 11:29 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest