Jump to content


Photo
- - - - -

iBlog Pro 3 - Adding additional feature boxes on home page.


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 keriev

keriev

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 02 November 2009 - 06:38 PM

Am looking to add a few more feature boxes to the homepage. I was able to do this through html within the php file. I am hoping to be able to use the admin function for updating them. Where do I start? Is there a place where the number of feature boxes is determined? Thanks.

#2 arpowers

arpowers

    Founder

  • Administrators
  • 3271 posts

Posted 02 November 2009 - 09:47 PM

which version of iBP are you using?

The number of feature boxes is determined by a function called :

Please Login or Register to see this Hidden Content


the way it works is that the features are all called and set up using arrays, which make them dynamic.

Theoretically, you can accomplish what you're looking for by adding 'indexes' to the 'get_default_fboxes()' array.

Then you will need to modify template_fboxes.php (as of iBP 3.5.1) to accomplish what you want as far as layout is concerned