Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Tutorial problem: Developing MVC Component for Joomla!2.5
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 49 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
TDZWeb  
View profile  
 More options Aug 6 2012, 4:47 pm
From: TDZWeb <webmas...@tdzwebdesign.no>
Date: Mon, 6 Aug 2012 13:47:48 -0700 (PDT)
Local: Mon, Aug 6 2012 4:47 pm
Subject: Tutorial problem: Developing MVC Component for Joomla!2.5

I have done this tutorial up to part 14:  
http://docs.joomla.org/Developing_a_Model-View-Controller_(MVC)_Compo...

Adding ACL to the Helloworld view fails because the class
HelloWorldViewHelloWorld (extends JView) does not have the method 'canDo'
defined. The application exits when trying to add or edit a message and
gives an undefined method notice and then fatal undefined property of that
method as the view calls the get method: 'if
($this->canDo->get('core.admin')):' and so on ( in the
admin/views/tmpl/edit.php file, line 59)

The tutorial is massive compared to my skill level so I have no idea where
the class acquires this method. I think it it supposed to pick it up
automagically, but I pretty much feel like I am stumbling around in the
dark at the moment. While this is certainly one way to learn, I would
prefer if someone in the know took a look.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Swapnil Shah  
View profile  
 More options Aug 6 2012, 4:56 pm
From: Swapnil Shah <swapnilsha...@gmail.com>
Date: Mon, 6 Aug 2012 16:56:27 -0400
Local: Mon, Aug 6 2012 4:56 pm
Subject: Re: [jgen] Tutorial problem: Developing MVC Component for Joomla!2.5

Hey,

Hang in there! Follow the entire tutorial before trying out the little tid bit.

There is a section in there, where you add a function to your helper. This function is what retrieves the actions you "canDo".

ACL takes a little bit to wrap your head around.

There are a lot of different parts. Which have to come together.

Regards,

Neil
Sent from my iPhone

On Aug 6, 2012, at 4:47 PM, TDZWeb <webmas...@tdzwebdesign.no> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 7 2012, 1:19 am
From: Herman Peeren <herman.pee...@gmail.com>
Date: Mon, 6 Aug 2012 22:19:14 -0700 (PDT)
Local: Tues, Aug 7 2012 1:19 am
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

Apologies: when I look at the code you are right: $this->canDo *should be a
property* of the HelloWorldViewHelloWorld-view in *
admin/views/helloworld/view.html.php* *which is not the case*! For $canDo
now only is a local variable in the addToolBar()-method in that class:$canDo
= HelloWorldHelper::getActions($this->item->id);. If you want to use that
in the template too, then you'll have to assign that variable as a property
to that view-class: $this->canDo = $canDo;. It is wrong in the tutorial
(probably the use in the template-file is added later) and I'll correct it.

Some remarks about adding that variable:

   - I'll now just add $this->canDo = $canDo; just under :$canDo =HelloWorldHelper
   ::getActions($this->item->id);. That is the smallest change to
   accomplish this.
   - But if we add a property to that class, we better do that on the same
   spot as where the other properties are added: under "Assign the Data" in
   the display()-method. If we add $this->canDo =  HelloWorldHelper::
   getActions($this->item->id); in the display()-method, then in the
   addToolBar()-method we should leave out $canDo = etc. and change all
   $canDo to $this->canDo.
   - to make it nicer we should "declare" all properties at the top of the
   class, in this case as private or protected, make them null and do
   assignments like that as much as possible in a constructor. Then you can
   immediately see what properties are used. Declaring variables is also the
   preferred coding style in Joomla!; see:
   http://developer.joomla.org/coding-standards.html 3.7 and 3.8.5.

So, thank you for reporting this bug in the example-code and keep up your
courage: if you made it 'till nr. 14, you've accomplished quite a lot.

Cheers,
Herman


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 7 2012, 1:37 am
From: Herman Peeren <herman.pee...@gmail.com>
Date: Mon, 6 Aug 2012 22:37:12 -0700 (PDT)
Local: Tues, Aug 7 2012 1:37 am
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

Added to the Wiki: $this->canDo = $canDo; //for later use in the edit-form in
the addToolBar()-method of that singular view. So now it should work. See
remarks above however for more torough solutions. Also: the plural-view
(HelloWorld*s*) is left unchanged.

Some days ago there also was a question about assigning properties to a
view-class (what we used to do with AssignRef() for PHP4-compatibility).
I'll walk through the tutorial to make it more in line with the preferred
Joomla! coding style: declaring variables etc.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TDZWeb  
View profile  
 More options Aug 7 2012, 3:11 am
From: TDZWeb <webmas...@tdzwebdesign.no>
Date: Tue, 7 Aug 2012 00:11:24 -0700 (PDT)
Local: Tues, Aug 7 2012 3:11 am
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

Thank you very much! I must admit the MVC component looks daunting so to
have a working Helloworld template will be invaluable to me.

If you are cleaning up you might notice some deprecated raiseErrors and I
am curious about how you replace them. Personally I was just going to use
PHP trigger_error instead of throwing exceptions "manually".

kl. 07:37:12 UTC+2 tirsdag 7. august 2012 skrev Herman Peeren følgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 7 2012, 3:49 am
From: Herman Peeren <herman.pee...@gmail.com>
Date: Tue, 7 Aug 2012 00:49:13 -0700 (PDT)
Local: Tues, Aug 7 2012 3:49 am
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

On Tuesday, 7 August 2012 09:11:24 UTC+2, TDZWeb wrote:

> If you are cleaning up you might notice some deprecated raiseErrors and I
> am curious about how you replace them. Personally I was just going to use
> PHP trigger_error instead of throwing exceptions "manually".

Yep, deprecated stuff like JError should be removed from the examples. The
tutorial should not show old habits that you have to get rid of later...

JError was used for both logging errors and stopping execution of the
program. You now should use JLog for logging and plain PHP for stopping the
program or retrieving what has gone wrong. The rest of the story is the
transition between the old way and the new one, but that should not be of
any concern for this series of tutorials, I think.
Also see:

   -
   http://docs.joomla.org/Exceptions_and_Logging_in_Joomla_1.7_and_Jooml...
   - http://forum.joomla.org/viewtopic.php?f=642&t=664690
   - https://groups.google.com/forum/?fromgroups#!topic/joomla-dev-general...
   (ahhh, that's you asking this question...).

BTW: if you have any suggestions of where to change the tutoprial, they are
very welcome. You have just been playing around with it, so I bet you came
across several things others would overlook. It is also very* easy to
contribute to the Wiki: just create an account (top right) and go ahead*.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TDZWeb  
View profile  
 More options Aug 8 2012, 12:35 pm
From: TDZWeb <webmas...@tdzwebdesign.no>
Date: Wed, 8 Aug 2012 09:35:25 -0700 (PDT)
Local: Wed, Aug 8 2012 12:35 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

This still did not work. The error is gone (canDo does now exist), but the
access rules for the individual message does not appear (also the
translation string for the rules pane is missing). With a little debugging
I traced the problem back to the HelloWorldTableHelloWorld::bind function.
The rules are never bound it seems. I don't know why. Could be a problem
with the model or the way assets are handled. Given my limited knowledge it
will take quite a bit of time for me to solve this puzzle.

On a side note, it was not possible to edit or delete categories. I fixed
this by adding the following section to the admin/access.xml file (I peeked
at com_contacts).

<section name="category">
  <action name="core.create" title="JACTION_CREATE"
description="COM_CATEGORIES_ACCESS_CREATE_DESC" />
  <action name="core.delete" title="JACTION_DELETE"
description="COM_CATEGORIES_ACCESS_DELETE_DESC" />
  <action name="core.edit" title="JACTION_EDIT"
description="COM_CATEGORIES_ACCESS_EDIT_DESC" />
  <action name="core.edit.state" title="JACTION_EDITSTATE"
description="COM_CATEGORIES_ACCESS_EDITSTATE_DESC" />
  <action name="core.edit.own" title="JACTION_EDITOWN"
description="COM_CATEGORIES_ACCESS_EDITOWN_DESC" />
</section>

At least now all the functions of the component itself seems to work. I can
add, edit and delete all the parts.

kl. 09:49:13 UTC+2 tirsdag 7. august 2012 skrev Herman Peeren følgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 8 2012, 12:51 pm
From: Herman Peeren <herman.pee...@gmail.com>
Date: Wed, 8 Aug 2012 09:51:34 -0700 (PDT)
Local: Wed, Aug 8 2012 12:51 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

Mmm, sorry; what a mess. I'll put up a site and a github-repository with a *working
*demo of all the stages of this tutorial. For this is counterproductive.
Thanx anyway for digging in this so far. You probably learned a lot from
that... I'll keep you informed via this list and we'll get there.

Ciao,
Herman


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 8 2012, 1:32 pm
From: Herman Peeren <herman.pee...@gmail.com>
Date: Wed, 8 Aug 2012 10:32:33 -0700 (PDT)
Local: Wed, Aug 8 2012 1:32 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

Did you give the right rights to the user in the backend? For (as you
probably understand but to be clear about it) the lines you see in
access.xml are not the rights themselves, but only give the *possibility *to
couple rights for certain actions on certain assets to usergroups. After
that the rights still have to be set. Will mention that in the tutorial too.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TDZWeb  
View profile  
 More options Aug 8 2012, 1:36 pm
From: TDZWeb <webmas...@tdzwebdesign.no>
Date: Wed, 8 Aug 2012 10:36:51 -0700 (PDT)
Local: Wed, Aug 8 2012 1:36 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

Yeah I am logged in as Superuser. I checked now to be sure and I have all
rights to the component. The rghts themselves does not seem to be a
problem. As I said I can add, edit and delete messages and categories now.
The bugs now seems to be more of a cosmetic nature.

kl. 19:32:33 UTC+2 onsdag 8. august 2012 skrev Herman Peeren følgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 8 2012, 1:54 pm
From: Herman Peeren <herman.pee...@gmail.com>
Date: Wed, 8 Aug 2012 10:54:31 -0700 (PDT)
Local: Wed, Aug 8 2012 1:54 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

Did you have to reinstall after you reworked the component?  For I thought
those access-rules are written to the database only once on installation
(not sure). Just a detail.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TDZWeb  
View profile  
 More options Aug 8 2012, 2:43 pm
From: TDZWeb <webmas...@tdzwebdesign.no>
Date: Wed, 8 Aug 2012 11:43:00 -0700 (PDT)
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

I uninstall and reinstall every time I encounter a problem. I have not
tried to start from a new joomla install yet, but I just checked after an
uninstall that the helloworld table and both the categories and assets gets
wiped so every reinstall should be a clean slate.

I think right now I have a functionally working component, but the access
rules for the individual messages do not display. Maybe its just a glitch
in the the tmpl/edit.php template.

kl. 19:54:31 UTC+2 onsdag 8. august 2012 skrev Herman Peeren følgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 8 2012, 3:26 pm
From: Herman Peeren <herman.pee...@gmail.com>
Date: Wed, 8 Aug 2012 12:26:39 -0700 (PDT)
Local: Wed, Aug 8 2012 3:26 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

Are you (even as superuser) part of the "Special" Viewing Access Level?
See http://docs.joomla.org/Access_Control_List/1.6-2.5/Tutorial


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TDZWeb  
View profile  
 More options Aug 8 2012, 3:42 pm
From: TDZWeb <webmas...@tdzwebdesign.no>
Date: Wed, 8 Aug 2012 12:42:43 -0700 (PDT)
Local: Wed, Aug 8 2012 3:42 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

Yes, the joomla install is a pretty clean 2.5.6 install. I have only
installed a language (Norwegian, nb_NO) and of course HelloWorld (over and
over). Just so we are clear. The actual access levels seem to work, they
only do not display in the edit view:

<https://lh4.googleusercontent.com/-czT13FY97Ls/UCLBLELVHTI/AAAAAAAAAB...>

kl. 21:26:39 UTC+2 onsdag 8. august 2012 skrev Herman Peeren følgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TDZWeb  
View profile  
 More options Aug 8 2012, 6:27 pm
From: TDZWeb <webmas...@tdzwebdesign.no>
Date: Wed, 8 Aug 2012 15:27:20 -0700 (PDT)
Local: Wed, Aug 8 2012 6:27 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

I figured it out. In *admin/views/helloworld/tmpl/edit.php*, the problem
was that there was no 'rules' field in the form referenced by the lines:

<?php echo $this->form->getLabel('rules'); ?>
<?php echo $this->form->getInput('rules'); ?>

I added the following field to the *admin/models/forms/helloworld.xml*(this time by peeking at com_content's article MVC):

<fieldset name="rules" label="COM_HELLOWORLD_FIELDSET_RULES">
<field name="rules" type="rules" label="JFIELD_RULES_LABEL"
translate_label="false" class="inputbox" filter="rules"
component="com_helloworld"
section="message" validate="rules" />
</fieldset>

Right now it seems like I have a complete working helloworld component. I
have not done the update server thing, but will play around a little bit
with it. Maybe later this week I will set up versioning in eclipse and see
if I cant make a tag for each step and then see if I can go through the
steps just using the update server functionality.

kl. 21:42:43 UTC+2 onsdag 8. august 2012 skrev TDZWeb følgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options Aug 8 2012, 9:37 pm
From: elin <elin.war...@gmail.com>
Date: Wed, 8 Aug 2012 18:37:21 -0700 (PDT)
Local: Wed, Aug 8 2012 9:37 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

As has been discussed recently on a number of lists there is currently a
real problem any time you attempt to use ACL without using com_categories
as an intermediary between the component items and the component itself.
The cascade
global
component global
component category
item

works exactly as expected just by having asset_id, making sure you extend
jaccess properly to do your naming it will all work fantastically ... it's
really easy. However if you miss any of those steps things get more
complex.  There has been a merge to the platform to fix some of this and
make it work correctly in the absence of categories but i don't think it is
in the current 2.5.

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TDZWeb  
View profile  
 More options Aug 9 2012, 12:28 am
From: TDZWeb <webmas...@tdzwebdesign.no>
Date: Wed, 8 Aug 2012 21:28:54 -0700 (PDT)
Local: Thurs, Aug 9 2012 12:28 am
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

Are you saying the #_helloworld table is incomplete? There is no *asset_id* (or
*access* for that mater) column in the table.

kl. 03:37:21 UTC+2 torsdag 9. august 2012 skrev elin følgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 9 2012, 4:07 pm
From: Herman Peeren <herman.pee...@gmail.com>
Date: Thu, 9 Aug 2012 13:07:05 -0700 (PDT)
Local: Thurs, Aug 9 2012 4:07 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

On Thursday, 9 August 2012 06:28:54 UTC+2, TDZWeb wrote:

> Are you saying the #_helloworld table is incomplete? There is no *asset_id
> * (or *access* for that mater) column in the table.

No, I don't think the asset_id is necessary to control the rights on an
item: the item is identified by the id in the #_helloworld-table. But it
could be that that is not working well in case we would not have used
categories. I think we  just have to play around a bit more with this ACL
and then add some practical hints and recipes to this Wiki-article how to
use it in your own component. That is to say; how to use it at this moment
in the CMS. For the whole ACL could change quite a bit in the future, I
guess. But as Joomla! 2.5 is to stay around for a while (without big
API-changes, so with the current ACL) it will be good to have some
practical and working examples and best practices in the Wiki.

The code in this Wiki-article nr. 14 is mainly copied from the code in
com_content and it looks like it has not been thoroughly tested in a
working example component. Often developers start taking a core-component
and add some fields.

For more info about the discussion Elin is referring to, see a.o.:
https://groups.google.com/forum/?fromgroups#!topic/joomla-dev-platfor...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 9 2012, 4:10 pm
From: Herman Peeren <herman.pee...@gmail.com>
Date: Thu, 9 Aug 2012 13:10:39 -0700 (PDT)
Local: Thurs, Aug 9 2012 4:10 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

Great! This is a good contribution to use to improve the Wiki-information.
Thank you!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Swapnil Shah  
View profile  
 More options Aug 9 2012, 4:12 pm
From: Swapnil Shah <swapnilsha...@gmail.com>
Date: Thu, 9 Aug 2012 16:12:15 -0400
Local: Thurs, Aug 9 2012 4:12 pm
Subject: Re: [jgen] Tutorial problem: Developing MVC Component for Joomla!2.5

I am sorry asset_id is necessary if you wish to implement item level ACL.

I like the idea of recipies on wiki of how to add ACL to your component. I
 still fumbling around with it since I don't wish to use categories. There
are rid bits of information scattered everywhere. Wiki has the most
information, when I finish my component and understand it, I will try to
write up a wiki on it.

--
Sent from Gmail Mobile

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 9 2012, 4:22 pm
From: Herman Peeren <herman.pee...@gmail.com>
Date: Thu, 9 Aug 2012 13:22:06 -0700 (PDT)
Local: Thurs, Aug 9 2012 4:22 pm
Subject: Re: [jgen] Tutorial problem: Developing MVC Component for Joomla!2.5

On Thursday, 9 August 2012 22:12:15 UTC+2, Neil wrote:

> I am sorry asset_id is necessary if you wish to implement item level ACL.

Interesting. But where is it used in JAccess?

I'll play around a bit with this to see if I can show you a working example
without an asset_id. If that is not possible, then indeed the asset_id is
necessary (and is it me who will say "sorry").

I'm very interested in your code too.

Cheers,
Herman


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TDZWeb  
View profile  
 More options Aug 9 2012, 4:33 pm
From: TDZWeb <webmas...@tdzwebdesign.no>
Date: Thu, 9 Aug 2012 13:33:02 -0700 (PDT)
Local: Thurs, Aug 9 2012 4:33 pm
Subject: Re: [jgen] Tutorial problem: Developing MVC Component for Joomla!2.5

I just added an *asset_id* column to the* #_helloworld* table, reinstalled
and the system started using it by itself once you start changing and
adding things. I imagine using a direct lookup via *asset_id* will have
performance benefits over manually constructing the unique asset names.

kl. 22:22:06 UTC+2 torsdag 9. august 2012 skrev Herman Peeren følgende:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options Aug 9 2012, 9:17 pm
From: elin <elin.war...@gmail.com>
Date: Thu, 9 Aug 2012 18:17:30 -0700 (PDT)
Local: Thurs, Aug 9 2012 9:17 pm
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

The need for asset_id is pretty well documented in general, it is the key
element of acl.  

If you don't want to use categories you need to apply the patch for JAccess
that has been applied to the platform and you could also read the related
items on the platform list and this list.

https://github.com/joomla/joomla-platform/pull/1416

https://groups.google.com/forum/?fromgroups#!topic/joomla-dev-platfor...

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 10 2012, 2:14 am
From: Herman Peeren <herman.pee...@gmail.com>
Date: Thu, 9 Aug 2012 23:14:24 -0700 (PDT)
Local: Fri, Aug 10 2012 2:14 am
Subject: Re: [jgen] Tutorial problem: Developing MVC Component for Joomla!2.5

I'll add the asset_id column to the wiki too.

Sorry, I thought it was only there for performance benefits. Still not
clear to me if it also worked without the asset_id (and have the unique
asset names manually constructed). I'll still play around with that to get
that crystal clear. Will report that here.

Herman
**


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herman Peeren  
View profile  
 More options Aug 10 2012, 2:18 am
From: Herman Peeren <herman.pee...@gmail.com>
Date: Thu, 9 Aug 2012 23:18:20 -0700 (PDT)
Local: Fri, Aug 10 2012 2:18 am
Subject: Re: Tutorial problem: Developing MVC Component for Joomla!2.5

On Friday, 10 August 2012 03:17:30 UTC+2, elin wrote:

> The need for asset_id is pretty well documented in general, it is the key
> element of acl.  

Thanks. Will add something about it to this Wiki-page. Links to that
documentation is welcome, however; maybe I overlooked something.

On Friday, 10 August 2012 03:17:30 UTC+2, elin wrote:

> If you don't want to use categories you need to apply the patch for
> JAccess that has been applied to the platform and you could also read the
> related items on the platform list and this list.

> https://github.com/joomla/joomla-platform/pull/1416

> https://groups.google.com/forum/?fromgroups#!topic/joomla-dev-platfor...<https://groups.google.com/forum/?fromgroups#%21topic/joomla-dev-platf...>

OK, I will also make a summary of that on this Wiki-page.

Herman


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 49   Newer >
« Back to Discussions « Newer topic     Older topic »