I'm developing my first Joomla 3.x component (new to OOP) and I need to have full CRUD functionality available from the front end. There is documentation that claims that it is now easy to use the JToolBar in the front end, however the it says you should make a JButtonFrontend class extending JButton.
http://docs.joomla.org/J3.2:Using_the_JToolBar_class_in_the_frontend
Unfortunately, it turns out that JButton is deprecated and I was unable to get the buttons working using the new JToolbarButton class that replaces it. It says to copy over the content of joomla.html.toolbar.button standard.php but that doesn't seem to exist anymore. This toolbar would be really useful for components that need front end CRUD. Has anyone figured out how to do this in Joomla 3.2? I'd love to see some example code!
Does anyone know of a 3.x component doing this that I could look at?
Thanks!
Erik
jimport('joomla.html.toolbar');
Just replace this for:
jimport('cms.html.toolbar');
Erik
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/groups/opt_out.