Jump to content

Recommended Posts

Posted

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. 

Posted

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? 

Posted

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

Posted
10 minutes ago, Nathan Explosion said:

Wrong type of button, Marc.

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. 

Posted (edited)
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
Posted
30 minutes ago, Nathan Explosion said:

Wrong type of button, Marc.

It was actually in response to "how do I then put that into the text block?". Which if its something you wish to just click and add, would be done with the editor

  • Recently Browsing   0 members

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