Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Styling the toolbar? 23 Dec 2016 00:43 #14868

Where if anywhere could I set the style of the toolbar, rather than it be determined by the Joomla template?

Please Log in or Create an account to join the conversation.

Styling the toolbar? 17 Mar 2019 00:03 #15681

Hello.
I know that this subject is very old now, but if you still need it...
you can create your own toolbar and add the class you want on the buttons. a bit like this :
<div class="btn-toolbar">
				<div class="btn-group">
				<button type="button" class="btn btn" onclick="return Joomla.submitform('TASK.cancel');">
					<span class="icon-cancel"></span><?php echo JText::_('COMPONENT_JTOOLBAR_CANCEL') ?>
				</button>
					</div>
					<div class="btn-group">
					<button type="button" class="btn btn-success" id="buttonSave" onclick="Joomla.submitbutton('TASK.save')">
						<?php echo JText::_('COMPONENT_JTOOLBAR_SAVE') ?> <i class="icon-arrow-right"></i>
					</button>
				</div>
			</div>
The following user(s) said Thank You: jonathanbell

Please Log in or Create an account to join the conversation.

Styling the toolbar? 16 Aug 2021 04:16 #15858

Hi Nicolas, are you able to help with what would the other task options be? save / save and close / save and new / cancel.

cheers

Please Log in or Create an account to join the conversation.

Styling the toolbar? 08 Nov 2021 08:53 #15880

dear jonathan
sorry for my response time. Lots of work and no time here
You can do this with any of these:
Cancel : TASK.cancel
Save : TASK.apply
save & close : TASK.save
new : TASK.add

you can even create custom tasks

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.057 seconds

I must say that I'm leaps and bounds ahead of where I would have other been with J2.5 with full thanks to the folks on this forum and specifically to Cook so you'll never hear me complaining.
gdpodesta (Forum)  

Get Started