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

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started