Jump to content

Adding Buttons within a text block


EvanDC

Recommended Posts

Hi there, 

Is it possible to add a button to a text block (using the rich text WYSIWYG editor or other)? By that I mean one of the standard system buttons to make it stand out from the text and look like the rest of the site. 

Thanks. 

Link to comment
Share on other sites

Thanks @opentype ... I'm really sorry for being a bit dim here. Could you give me some pointers on how to manually create the custom HTML for this? Do I edit the template somewhere? And once I've created the custom HTML ... how do I then put that into the text block? 

Link to comment
Share on other sites

Wrong type of button, Marc.

Do the following to be able to add a button to Editor content...

  1. Ensure that your group has the 'Can edit HTML?' setting enabled
  2. In the Editor, you'll now have a 'Source' button - click it to edit the source html of the content
  3. Here's the code for a button that is actually a URL link
<a class="ipsButton ipsButton_medium ipsButton_important" href="URL">BUTTON</a>

Sizes/styles here

Link to comment
Share on other sites

2 minutes ago, opentype said:

Not necessarily. I was also thinking of adding an editor button to create these types of button. Can just be set up once and then it can be used without messing with the source code every time. 

Oh, that would be the logical progression from there yes. But you still need to know what needs to put in hence my provision of how to do it in the Editor first of all.

Edited by Nathan Explosion
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...