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.093 seconds
  I still don't believe he can really be human to do all this ! From all of the forums that I've ever participated in this is certainly the one that most encapsulates the feeling of being truly open source where everyone's opinions and contributions can and will shape the development of the service! It's truly awesome! Hope you enjoy cooking and look forward to reading and contributing to any of the editorial work that you proposed too!! Thanks
Gez (audibleid - JED)

Get Started