Welcome to Geeklog, Anonymous Sunday, October 06 2024 @ 10:27 am EDT

Geeklog Forums

autotags VS shortcodes


Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
We can do a lot of things with autotags but what could be the way to realise something like this with autotags?
[tabgroup]
[tab heading="Tab 1"]Tab 1 content goes here...[/tab]
[tab heading="Tab 2"]Tab 2 content goes here...[/tab]
[tab heading="Tab 3"]Tab 3 content goes here...[/tab]
[/tabgroup]


Ben


I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
I use autotags for subsituting html (links, help boxes, etc.) but what you want is a little more complex especially since you have the tab shortcode within the tabgroup shortcode. The only way I could see doing this with autotags would be to use the autotags plugin and create something like:



[tabgroup: ]
[tab: Tab 1]Tab 1 content goes here...[tab-end: ]
[tab: Tab 2]Tab 2 content goes here...[tab-end: ]
[tab: Tab 3]Tab 3 content goes here...[tab-end: ]
[tabgroup-end: ]


One of the Geeklog Core Developers.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
:doh: of course. Sometime 4 eyes are better than 2.

Thanks,

Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

All times are EDT. The time is now 10:27 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content