Welcome, Guest
Username: Password: Remember me

TOPIC: Styling the toolbar?

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

  • jonathanbell
  • jonathanbell's Avatar
  • Offline
  • Premium Member
  • Posts: 143
  • Thank you received: 4
  • Karma: 1
Where if anywhere could I set the style of the toolbar, rather than it be determined by the Joomla template?
The administrator has disabled public write access.

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

  • Nicolas
  • Nicolas's Avatar
  • Offline
  • Senior Member
  • Posts: 73
  • Thank you received: 11
  • Karma: 5
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 administrator has disabled public write access.
The following user(s) said Thank You: jonathanbell

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

  • jonathanbell
  • jonathanbell's Avatar
  • Offline
  • Premium Member
  • Posts: 143
  • Thank you received: 4
  • Karma: 1
Hi Nicolas, are you able to help with what would the other task options be? save / save and close / save and new / cancel.

cheers
The administrator has disabled public write access.
Time to create page: 0.070 seconds

Get Started