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

I've evaluated lots of other Joomla Component Dev tools such as Shell Manager (J)enesis Danny's Joomla! 1.5 MVC Component Code Generator Marco's Component Maker and I must admit that I love what I see on your site! Lots of potential... Otherwise Great Job and keep up the good work!!!
Clifton (forum)

Get Started