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.087 seconds

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started