Create menu item for Category Blog
Login frontend with Super Admin
Access menu item above.
Button for new article should appear
Button for New Article does not appear
If changing to Category List layout, button appears
Joomla! 3.9.16
Protostar template
Labels |
Removed:
?
|
Priority | Urgent | ⇒ | Medium |
As far as I remember, this has always been the case.
I could easily add this feature here, and it can also be done via an override.
diff --git a/components/com_content/views/category/tmpl/blog.php b/components/com_content/views/category/tmpl/blog.php
index 320fbec..0232a81 100644
--- a/components/com_content/views/category/tmpl/blog.php
+++ b/components/com_content/views/category/tmpl/blog.php
@@ -135,3 +135,8 @@
<?php echo $this->pagination->getPagesLinks(); ?> </div>
<?php endif; ?>
+
+ <?php // Code to add a link to submit an article. ?>
+ <?php if ($this->category->getParams()->get('access-create')) : ?>
+ <?php echo JHtml::_('icon.create', $this->category, $this->category->params); ?>
+ <?php endif; ?>
</div>
I made some hasty investigations yesterday down to version 3.7.4. As far as I saw it was never a feature in blog views and I ended with the question: "Is it a bug that it was forgotten in blog views?". ;-)
OK thanks very much, but before you get too smug about whether this a bug or feature, perhaps acknowledge that it seems rather random that this "feature" would appear only for Category List and not Category Blog. To a user new to Joomla (which I am not), this would certainly seem more bug than feature.
i cannot see a reason why it is there for Category List and not for Category Blog
so more a bug than a feature imho
@infograf768 can you do a pr please ?
but before you get too smug about whether this a bug or feature
Please understand that it's a frustrating waste of time for guys like me to provide a pr and for others to test it if the pr will be refused in the end. Therefore it's better to discuss it and collect input before a production lead decides.
but before you get too smug about whether this a bug or feature
Please understand that it's a frustrating waste of time for guys like me to provide a pr and for others to test it if the pr will be refused in the end. Therefore it's better to discuss it and collect input before a production lead decides.
Understood. But also bear in mind, I go about troubleshooting, creating test sites to reproduce and report. We are encouraged to help...
Just to clarify (doesn't need no more discussion here):
I think you simply misunderstood my comment above ("and I ended with the question: "Is it a bug that it was forgotten in blog views?". ;-) ")
Perhaps my translator translated "smug" in your comment wrongly. For me it felt disrespectful.
Can make PR. We can, and have lived without it since 1.5, but it does cost much to add it.
Remains to decide if we add it as an override to our core templates or by default.
@HLeithner please advise.
Is a bug in my opinion. Please create a PR.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-03-22 08:21:36 |
Closed_By | ⇒ | infograf768 |
infograf768 this created issue #28514 aand will be very unpleasant surprise for joomla 3.9.17 users!
At least make this 2 issues as an option? Couse This will break lyout of many joomla sites if these are not optional So this issue is BC issue.
My personal opinios this New article button in the botom should be removed in joomla 3.9.17
Lock down see #28514 (comment)
Has this ever been there or is this a feature request?