0

I would like to be able to insert certain elements (tabs, accordion toggles, tooltips etc..) and layout/formatting options (columns and layout dividers, boxes, containers etc..) in nodes using shortcodes like :

[tabs]
    [tab title="Tab Title"]Tab content...[/tab]
    [tab title="Tab Title"]Tab content...[/tab]
    [tab title="Tab Title"]Tab content...[/tab]
[/tabs]

[toggle title="The Question or Title"]The is the answer or content to show...[/toggle]

[one_third]First column of content.[/one_third]
[one_third]Second column of content.[/one_third]
[one_third_last]Last column of content.[/one_third_last]

[tooltip title="Lorem Ipsum Message There"]Lorem Ipsum[/tooltip]

I see that some themes offer this kind of features.

Do i need a custom module ?

  • Ideas, anyone ? – FlashSP May 1 '13 at 11:37
0

For what you're looking to do you'll likely need a custom module. You could install the shortcode module and write an extension module for it using it's API, but you might find that writing your own module to handle shortcodes would give you more flexibility and speed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.