TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 468
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 68
  • Total: 68

how to put icon to TP main menu button

Started by Kimmen, January 18, 2011, 04:21:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kimmen

Link to my site: http://www.efclan.eu
SMF version: SMF2 RC4
TP version: TinyPortal 1.0 RC1
Default Forum Language: English
Theme name and version: Catamosphere by Shine-Art & Smf Personal
Browser Name and Version: Firefox
Mods installed: Aeva Media 1.4c - MCLegendII RC3 3.0 - Member Color Link 3.0.8 - Curve_centered_menu 1.2 - Menu_Icons 1.0 - Custom Buttons / tabs and menus
Related Error messages: Error message here

I have also posted over at SMF about my problems, but days goes by and i dont get support for it, was wondering if someone here was willing to help me. I have installed silk famfamfam icons to my main menu using this MOD: http://www.simplemachines.org/community/index.php?topic=413131.0, but i am missing for the following buttons, since the code is not same. Can you show me how to add a button for TP, AEVA and for Custom buttons?

Tinyportal
'tpadmin' => array(
'title' => 'TinyPortal',
'href' => $scripturl . '?action=tpadmin',
'show' =>  TPcheckAdminAreas(),
'sub_buttons' => array(
),
),


Aeva
// Aeva Media changes
         'media' => array(
            'title' => (isset($txt['aeva_gallery']) ? $txt['aeva_gallery'] : 'Media') . (!allowedTo('aeva_access_unseen') || empty($user_info['aeva_unseen']) || $user_info['aeva_unseen'] == -1 ? '' : ' [<b>' . $user_info['aeva_unseen'] . '</b>]'),
            'href' => $scripturl . '?action=media',
            'show' => allowedTo('aeva_access'),
            'sub_buttons' => !allowedTo('aeva_access_unseen') || empty($user_info['aeva_unseen']) || $user_info['aeva_unseen'] == -1 ? array() : array(
               'aeva_home' => array(
                  'title' => $txt['aeva_home'],
                  'href' => $scripturl . '?action=media',
                  'show' => true,
               ),
               'aeva_unseen' => array(
                  'title' => $txt['aeva_unseen'],
                  'href' => $scripturl . '?action=media;sa=unseen',
                  'show' => true,
                  'is_last' => true,
               ),
            ),
         ),


Custom Buttons / tabs and menus
            'custom1' => array(
                'title' => !empty ($modSettings['label_custombuttons_1']) ? $modSettings['label_custombuttons_1'] : $txt['cb_default_1'],
                'href' => !empty ($modSettings['url_custombuttons_1']) ? $modSettings['url_custombuttons_1'] : $scripturl,
                'show' => $context['allow_custom_button1'] && !empty ($modSettings['enable_custombuttons_1']) ? true : false,
                'sub_buttons' => array(
                    'subbutton1' => array(
                        'title' => !empty ($modSettings['label_subcustombuttons1_1']) ? $modSettings['label_subcustombuttons1_1'] : '',
                        'href' => !empty ($modSettings['url_subcustombuttons1_1']) ? $modSettings['url_subcustombuttons1_1'] : $scripturl,
                        'show' => !empty ($modSettings['label_subcustombuttons1_1']) ? true : false
                        ),



ZarPrime

Kimmen,

You might be able to get some better info and support about how to do this at Bluedevil's site, at this topic --> http://www.bluedevilcustoms.com/index.php/topic,111.0.html

ZarPrime

Kimmen


This website is proudly hosted on Crocweb Cloud Website Hosting.