10 years ago
5
Topic

Hi!
I have a registration form, and the bridge enabled to be able to set different user group from registered.
The system creates an article for the user as I set.
Now I would like to have a menu item for the user to edit only that one article on the front.
How can I do that?
Thank you!

Get a Book for SEBLOD
572 Posts
_jrmo
10 years ago
2
Level 1

In Joomla, who does it say is the author of the article that is created? Is it the user?

If so, you can set the permissions on your form to "edit own" for that user group and it will set the right permissions for the user to only be able to edit their own article.

I'm not sure how to create the menu item directly to edit the article that was created. Maybe you have to create a menu item to a list that searches for articles and that uses the userid of the logged in user as a live value. This list will return 1 value which is the article created when the user registered. You can then set the link typo on the field in the list to "form" and when the user clicks on the item it will take them to a form where they can edit the article.

10 years ago
1
Level 2

Hi _jrmo!
The author of the article is the registered user, that is what I want, this is ok.
I have set the permission of the articles to edit own.
I have set the create to denied.
I have set max/author 1.
I have created the menu item for the article form on the front.
With the creation is set to denied, I have no permission to access that view even if I am logged in.
With the creation set to allowed, I have got an empty form and an error message that only one article is allowed. 
So it seems like I do not get to the one article to edit, but I get a form for a new article.
I have also tried to create a menu item for a search to find the articles created by the logged in user. 
I have set the article created by live value to user and configured it to id. This way I get no result. When I delete that field I get all the articles. 
I tried this because I could place a link on the article title so this way I could get to the edition of the article but unfortunately this does not work either.
Thanks! 

10 years ago
0
Level 3

Hi _jrmo!
What I have actually noticed is the seach does not bring up the articles created by the bridge, and those articles cannot be seen in the front.
Have I failed to enable somethig?
Thanks!

143 Posts
Stef
10 years ago
0
Level 1

Hi Milli05,

What i understand in your question, is how create a link, so the user can edit his "custom" profil.

As mentionned by jrmo, you have to set the right on your form. But for the link, as Bridge is enabled, create a new Menu item type, select 'User Manager' > 'Edit User Profile'. That's will drive your user directly to the form edited with his own custom profil. At least work for me under Joomla 3.3.3 with Seblod 3.3.7.

Hope this answers your question....

10 years ago
0
Level 1

Hi!
As my project has a very tight schedule, I had to find another solution. 
I have disabled the bridge as I could not get to the articles created by that in the front end.
I have created a menu item with a search set to find the article with the creator of the logged in user. 
If there is an article there is a button (edit) on the bottom leading to the form. 
If there is no result, the user is redirected to the form where he can create his first and only article. I have used the no_result.php for this. 
I am still wondering how could this be solved with the bridge! 
Thanks!

Get a Book for SEBLOD