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

TOPIC:

Flypage Cancel button 09 Nov 2012 14:43 #5167

Can anybody point me to the file that runs the automatic "X Cancel" button on a flypage? I simply want to change it to "Back". Cancel seems a little weird.

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

Re: Flypage Cancel button 09 Nov 2012 19:28 #5196

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
view.html.php :

function displayXxxx() :
// Cancel
JToolBarHelper::cancel('categorie.cancel', "JTOOLBAR_CANCEL");

Second parameter is a language string.
You can create a new language string,
or change this string for all your component, in the language file.

In this case, this is a global native string, so the best is to create a new one.

By the way, the native Toolbar helper is available here :
administrator/includes/toolbar.php

There you can understand better wich parameter correspond to wich button.
Coding is now a piece of cake

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

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

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started