User tests: Successful: Unsuccessful:
Pull Request for Issue #10191. This PR adds a link to the front-end view of a single article in the Article: Edit view. It only works for saved articles (that have an ID) and the links are non-SEF links.
Note as it's a proof-of-concept PR, I did not add a Language String but used the hardcoded label "link to article".
@sanek4life Is this the functionality that you were asking for in issue #10191?
Could you please test it?
Go to Content > Articles > open an article
Go to Content > Articles > open an article, on the bottom right you'll have a non-SEF link to the front-end view of an article.
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Category | ⇒ | Administration Components |
@sanek4life Is this the functionality you were looking for?
btw: I've added the link with a core hack. If this feature is not further developed and added to the Joomla core, then this functionality could be added with a plugin that will add the link to the Article Edit form...
JRoute::_(xxxxx)
doesn't support making URL from admin to site and vice versa.
I tried to change it a while ago to support that, but run into some issues with SEF and the language plugin. See andrepereiradasilva#36
If you want to contribute to try to solve this problems it would be great.
I have tested this item
Link shown as expected.
Looked at this. It lacks the language when language is not set to All and we are in multilang.
The link you should get imho should be similar to the one we get when using the Article button in TinyMCE.
I.e.
<a href="index.php?option=com_content&view=article&id=213&catid=10&lang=en-GB&Itemid=101" hreflang="en">some article title</a>
Status | Pending | ⇒ | Information Required |
Setting this to Information Required as @pe7er needs to improve this PR.
I've created a new PR for this: #10932
@sanek4life and @crommie Could you please test the new PR?
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-06-26 12:31:48 |
Closed_By | ⇒ | zero-24 |
Set to "closed" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/10282
Closing as we have a new PR. Thanks.
@pe7er i test it! it works right!