Information

Information 1.2

No permission to download
Compatible XF 1.x versions
  1. 1.2
  2. 1.3
  3. 1.4
  4. 1.5
Description:

Creates an Information tab menu system.

Live example:

http://www.southbayriders.com/forums/

(Example of Information tab)

pic001.webp


Features:
  • Tab highlights when selected.
  • Tab has Quick Links drop-down button.
  • Menu items shown in sub-navigation bar.
  • Breadcrumb shows current path.
  • Ability to add sub-menus.
  • Simple template system.
Installation:
  1. Download information_v1.1.zip and unzip it
  2. Upload the Andy directory to your server, the correct location is library/Andy
  3. From your Admin Control Panel, go to the Install Add-on page
  4. Upload the addon-Information_v1.1.xml file
  5. Click the Install Add-on button
How to add additional links:
  1. Edit the andy_information template.
  2. Edit the andy_information_quick_links template.
How to add optional sub-menu:

1. Edit the library/Andy/Information/Information.php file and add the "public function actionExample()" code.

PHP:
<?php

class Andy_Information_ControllerPublic_Information extends XenForo_ControllerPublic_Abstract
{
    public function actionIndex()
    {
        // send to template
        return $this->responseView('Andy_Information_ViewPublic_Information', 'andy_information');
    }

    public function actionExample()
    {
        // send to template
        return $this->responseView('Andy_Information_ViewPublic_Information', 'andy_example');
    }
}

2. The actionExample code will call a link like this:
Code:
http://www.site.com/information/example/

3. You will also need to create the andy_example template.

Sending a donation:

If you like this add-on, please consider sending a small donation.

https://www.paypal.me/andybajka

Thank you.
Author
AndyB
Downloads
100
Views
1,165
First release
Last update

Ratings

5.00 star(s) 1 ratings

More resources from AndyB

Latest updates

  1. See description

    On Jan 1, 2016 version 1.2 of this add-on was released to address an exploitable SQL injection...
  2. See description

    Information v1.2 changes: Now using prepared statements.
  3. See description

    Information v1.1 changes: Corrected some CSS so support dark styles better.

Latest reviews

Great add-on from Andy!
Top Bottom