> I'm trying to implement permissions for a component I write. Which file should hold the actions, access.xml or config.xml?
> grtz
> -- > You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
> To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/24KZz2zXMOcJ.
> To post to this group, send an email to joomla-dev-general@googlegroups.com.
> To unsubscribe from this group, send email to joomla-dev-general+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
> thanks for the reply...
> so I don't need config.xml then? I saw a tutorial which uses config.xml.
> and the joomla hello_world uses both files....
> -- > You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
> To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/5EbW6U0PrnEJ.
> To post to this group, send an email to joomla-dev-general@googlegroups.com.
> To unsubscribe from this group, send email to joomla-dev-general+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
> But i still need to add a fieldset to config.xml then?
> I tried a lot of combinations, but the actions i add in the xml file just won't show up...
> I install the component, then click on 'options' , that's where i should see my custom actions, no?
> -- > You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
> To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/HIM854GEGH0J.
> To post to this group, send an email to joomla-dev-general@googlegroups.com.
> To unsubscribe from this group, send email to joomla-dev-general+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
On Sunday, July 22, 2012 at 13:52, Michael Babker wrote:
> You'll need a fieldset, yes. Look at com_content's config.xml to get an idea what you'll need to do.
> -Michael
> Please pardon any errors, this message was sent from my iPhone.
> On Jul 22, 2012, at 3:38 PM, vinnyboy <vincentna...@hotmail.com (mailto:vincentna...@hotmail.com)> wrote:
> > But i still need to add a fieldset to config.xml then?
> > I tried a lot of combinations, but the actions i add in the xml file just won't show up...
> > I install the component, then click on 'options' , that's where i should see my custom actions, no?
> > -- > > You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
> > To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/HIM854GEGH0J.
> > To post to this group, send an email to joomla-dev-general@googlegroups.com (mailto:joomla-dev-general@googlegroups.com).
> > To unsubscribe from this group, send email to joomla-dev-general+unsubscribe@googlegroups.com (mailto:joomla-dev-general+unsubscribe@googlegroups.com).
> > For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
> -- > You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
> To post to this group, send an email to joomla-dev-general@googlegroups.com.
> To unsubscribe from this group, send email to joomla-dev-general+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
I tried this tutorial (14), and if i add an action there it works fine. however, when i add it from scratch to my own component, there's only 4 actions showing:
I think that when i'm clicking options after installing the component, that i'm not seeing the options of my component, but the options of the installer...
From: vinnyboy Sent: Sunday, July 22, 2012 10:58 PM
To: joomla-dev-general@googlegroups.com Subject: Re: [jgen] Re: ACL: access.xml and config.xml
Hi,
I tried this tutorial (14), and if i add an action there it works fine. however, when i add it from scratch to my own component, there's only 4 actions showing:
-- You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/A3X6PDdzIf8J.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-general+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
Are you sure that the XML is valid?
I've used to get this errors when XML parser could not parse the file.
XML may be quite sensitive and errors may be caused by things you
would never expect (eg. multiline comments).
If you are not using IDE with XML support, search for online XML
validators to check for errors.
On Jul 23, 12:10 am, vinnyboy <vincentna...@hotmail.com> wrote:
> I didn't have a backend yet, which i created now. When i click 'options'
> in the admin section of my component, i get
> 500 - An error has occurred.
> XML file did not load
> any ideas...? the xml files are both in place....
hi,
yes, the xml is valid, this problem is solved. when I click on 'options', I can choose 'denied' for a specific group. however, when i reload, my change is not saved...
--------------------------------------------------
From: "piotr_cz" <pkoniec...@hotmail.com>
Sent: Monday, July 23, 2012 10:11 AM
To: "Joomla! General Development" <joomla-dev-general@googlegroups.com>
Subject: [jgen] Re: ACL: access.xml and config.xml
> Are you sure that the XML is valid?
> I've used to get this errors when XML parser could not parse the file.
> XML may be quite sensitive and errors may be caused by things you
> would never expect (eg. multiline comments).
> If you are not using IDE with XML support, search for online XML
> validators to check for errors.
> On Jul 23, 12:10 am, vinnyboy <vincentna...@hotmail.com> wrote:
>> I didn't have a backend yet, which i created now. When i click 'options'
>> in the admin section of my component, i get
>> 500 - An error has occurred.
>> XML file did not load
>> any ideas...? the xml files are both in place....
> -- > You received this message because you are subscribed to the Google Groups > "Joomla! General Development" group.
> To post to this group, send an email to > joomla-dev-general@googlegroups.com.
> To unsubscribe from this group, send email to > joomla-dev-general+unsubscribe@googlegroups.com.
> For more options, visit this group at > http://groups.google.com/group/joomla-dev-general?hl=en-GB.
Delete both permissions code in both config.xml and access.xml and then try again. Your xml issue could be because of invalid path given or some typing mistake in name in the installer xml file, removing the code and trying will confirm you if the issue has to do with ACL or something else.
On Friday, July 27, 2012 1:36:23 AM UTC+5, vinnyboy wrote:
> hello,
> still didn't get it to work...
> when i add the file access.xml, then i get the error
> 500 - An error has occurred.
> XML file did not load
> Could someone please tell me what i'm doing wrong?
On Saturday, July 28, 2012 11:47:16 AM UTC+2, UZ wrote:
> Delete both permissions code in both config.xml and access.xml and then > try again. Your xml issue could be because of invalid path given or some > typing mistake in name in the installer xml file, removing the code and > trying will confirm you if the issue has to do with ACL or something else.
> On Friday, July 27, 2012 1:36:23 AM UTC+5, vinnyboy wrote: > > hello, > > still didn't get it to work... > > when i add the file access.xml, then i get the error
> > 500 - An error has occurred.
> > XML file did not load
> > Could someone please tell me what i'm doing wrong?
See, that means its not able to find your installer file or maybe some
other xml file that you are mentioning in installer file. Nothing to do
with ACL.
On Sun, Jul 29, 2012 at 8:43 PM, vinnyboy <vincentna...@hotmail.com> wrote:
> the error remains if i make both files empty...
> On Saturday, July 28, 2012 11:47:16 AM UTC+2, UZ wrote:
>> Delete both permissions code in both config.xml and access.xml and then
>> try again. Your xml issue could be because of invalid path given or some
>> typing mistake in name in the installer xml file, removing the code and
>> trying will confirm you if the issue has to do with ACL or something else.
>> On Friday, July 27, 2012 1:36:23 AM UTC+5, vinnyboy wrote:
>> > hello,
>> > still didn't get it to work...
>> > when i add the file access.xml, then i get the error
>> > ** 500 - An error has occurred.
>> > **
>> > XML file did not load
>> > Could someone please tell me what i'm doing wrong?
>> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! General Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-general/-/G_IXebQ7PUQJ.
> To post to this group, send an email to
> joomla-dev-general@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-general+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-general?hl=en-GB.