Custom Tabs

Custom Tabs 1.6.3

No permission to download
Added option to set if you want the parent tab to be selected when it or its childs are active.
Fixed an issue with Font Awesome not working in tab title.
Made some Template Modification changes to improve compatibility with some custom styles.

Alternative regex method has been removed.
User Variables
Now you can use user variables in title, link & description field. Available variables: {userId}, {username}, {status}, {customTitle}

User Links
Generates current visitor links to different content:

user:profile
user:content
user:threads
user:following
user:followers
New Feature
Custom CSS Class - Allows you to set a custom CSS class for tab links. This can be used to load the links using OverlayTrigger.

Changes
I have added an admin option (enabled by default) to use Template Modifications instead of regex. I hope this change will add support for all styles.

Note
If you get server error logs during the upgrade, don't worry about it, it should be ok after upgrade.
Added HTML support (globally) for tabs and childs so now you can use Font Awesome, image icons, etc.

A bug that caused display problems on tab hover when description was present has been fixed.
Version 1.4.0 comes with the following features:
  1. Phrase support (use phrase:your_phrase as the title)
  2. Tooltip support (set description to display it in a Tooltip when you hover over tab)
  3. Set to display the dropdown on tab hover, instead of hover over arrow
This is a fast update, I hope there will be no bugs. :)
I have added user criteria so that you can have more control over the tab user permissions.

I have added the options to apply inline CSS to change the color and style of the tabs and child links and also open tab/link in new window and nofollow.

The attributes for the main tabs are applied using preg_replace which I don't like but couldn't find a cleaner method so if someone knows a better approach, please let me know.

NOTE: Updating to this version requires re-applying the user group permissions.

Reviews are appreciated. :)

Attachments

  • general.webp
    general.webp
    25.2 KB · Views: 100
  • settings.webp
    settings.webp
    25.2 KB · Views: 99
  • userCriteria.webp
    userCriteria.webp
    44.9 KB · Views: 100
  • tabsDemo.webp
    tabsDemo.webp
    13.2 KB · Views: 97
In 1.2.0 you can choose if child links will inherit parent user group permissions.

Attachments

  • inherit_permissions.webp
    inherit_permissions.webp
    5.6 KB · Views: 132
1.1.3 fixes a bug in the tab CSS class name.
Top Bottom