Welcome, Guest
Username: Password: Remember me

TOPIC: Flypage Cancel button

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.
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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
The administrator has disabled public write access.
Time to create page: 0.056 seconds

Get Started