Search
Other Articles Anywhere questions
Forum

Edit button in Joomla 4 loads default template

Thomas Venugopal's Avatar Thomas Venugopal
In Joomla 4 the edit button generated buy [edit] loads the editor in the default template instead of the template assigned to the page with the edit button. In Joomla 3 it was the expected behavior: edit button keeps the current template.

Is this a change or is this an issue?
Peter van Westen's Avatar Peter van Westen ADMIN
Do you get the correct template when using the edit button in the article itself?
Please post a rating at the Joomla! Extensions Directory
Thomas Venugopal's Avatar Thomas Venugopal
Yes, then the template stays at the current template (public view).
Peter van Westen's Avatar Peter van Westen ADMIN
Seems to work like expected for me on my test site.

Can you give me (super) admin and (s)ftp access so I can take a look?
And tell me on what url I can see/reproduce the issue.
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Thomas Venugopal's Avatar Thomas Venugopal
You can test it here:

Confidential information:
(hidden)


Thank you for checking.
Peter van Westen's Avatar Peter van Westen ADMIN
So what is the url to the article itself?
For instance to: LP0012
Please post a rating at the Joomla! Extensions Directory
Thomas Venugopal's Avatar Thomas Venugopal
Eg:
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
So, as you can see, the article edit page is using the template that is active on that article.
You would see the same thing if you edit the article on the frontend using the Joomla edit link.
Please post a rating at the Joomla! Extensions Directory
Thomas Venugopal's Avatar Thomas Venugopal
Yeah, but currently - that's the reason I added the link to the live site - it's another behavior. In my opinion, it would be correct to load the editor in the template I'm initiating the edit. That's how it is in Joomla 3. You can see that behavior on the live site:

Confidential information:
(hidden)



Back to my initial question: Is this a change by Joomla 4, by the editor button in Joomla 4 or is this an issue? I like it better the way it worked in Joomla 3 because the team colleague can stay in his private editor environment with all the menus he needs.
Peter van Westen's Avatar Peter van Westen ADMIN
There is no difference in how Articles Anywhere gets the edit URL.
It also includes the return URL (base64 encoded), so that when you click on save/cancel, it can return to that previous page.

If your edit form is not doing that, it is down to that edit form.
And the template assignment is completely outside the scope and responsibility of Articles Anywhere.

So the issues you are facing with this are either down to changes in Joomla, or the template.
Please post a rating at the Joomla! Extensions Directory
Thomas Venugopal's Avatar Thomas Venugopal
Ok, thank you for the information.
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription