Hi Rob,
What do you mean by back-end/front-end editor? = back-end/front-end view?
I myself struggle with the category dropdowns though not within the
content component . I can't find any good flexibility. I'm not sure if
Bootstrap is the problem but so far any disabled category vanish from
the list. Someone with an idea?
For your view I would 1) try to just override the frontend view template
(layout). You may want to include other fields not available in the
front-end edit layout. 2) Use of the beloved plug ins to manipulate the
article edit form. You may have to make sure the plug in only handles
"your" layout! or 3) as it's tricky to override JForm fields directly in
the layout I guess an own model extending the article model could be
used to manipulate the JForm object.
There was a bug for manipulating "form fields with options" introduced
in 2.5.x I reported it but have not checked if it has bin corrected.
Might give an idea.
Ove
Rob Sykes skrev 30.11.2012 14:43:
> Hi folks,
> In my User Article Manager extension
>
http://extensions.joomla.org/extensions/news-production/content-submission/18412
> users have the ability to create new articles from the front end
> (using what ever editor has been set in the back end) using the same
> mechanism as the standard Create New Article Joomla menu item - ie
> user is sent to
> http://<website>/index.php/component/content/?task=article.add
> <http://%3Cwebsite%3E/index.php/component/content/?task=article.add>...
> Is it possible to add parameters to the URL to
> 1) select a given category for the article (and initially display it
> in the category dropdown)
> 2) force the editor to only recognise a given category (ignoring all
> others)
> I'm guessing that 1) is possible as the back-end article editor will
> use the filters to pre-populate a new article but I'm not sure that 2)
> is possible.
> Perhaps it may be better to fire up an instance of the editor
> programmatically (but I really haven't a clue about doing this) and
> overriding the category drop down that way
> Cheers
> Rob
> --
> 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/-/xzgTBEP-l78J.
> To post to this group, send an email to
>
joomla-de...@googlegroups.com.
> To unsubscribe from this group, send email to
>
joomla-dev-gene...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/joomla-dev-general?hl=en-GB.