No submit new article icon appears at blog category.
Moderator: ooffick
Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
-
- Joomla! Enthusiast
- Posts: 221
- Joined: Sat May 31, 2008 12:15 am
- Location: Yokohama, Japan
- Contact:
No submit new article icon appears at blog category.
Joomla ver.RC1(Version 1.6.0)
PHP Built On: FreeBSD www1186.sakura.ne.jp 7.1-RELEASE-p15 FreeBSD 7.1-RELEASE-p15 #10
Database Version: 5.1.51-log
Database Collation: utf8_general_ci
PHP Version: 5.2.14
Web Server: Apache/1.3.42 (Unix) mod_ssl/2.8.31 OpenSSL/0.9.8e
WebServer to PHP Interface: cgi
Joomla! Version: Joomla! 1.6.0 RC1 [ Onward ] 14-Dec-2010 23:00 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 GTB7.1
Bug Description:
A submit-article-icon does not appear when a category is the blog category.
When I change the blog category into the category list, the submit-article-icon does appear in the page.
Steps to replicate:
1) Create a new category A and assign to A-menu in Main Menu.
2) Create a new user-group C under a Group-parent: registered.
3) Create a new user B as a registered user and assign to C user-group.
4) Go to the new category A and set Category permissions on C user-group as follows: New Setting (All action items set inherited to allowed)
5) Done.
I would like user B (registered member status) to create, delete, edit, edit-state, edit own at a particular menu category.
PHP Built On: FreeBSD www1186.sakura.ne.jp 7.1-RELEASE-p15 FreeBSD 7.1-RELEASE-p15 #10
Database Version: 5.1.51-log
Database Collation: utf8_general_ci
PHP Version: 5.2.14
Web Server: Apache/1.3.42 (Unix) mod_ssl/2.8.31 OpenSSL/0.9.8e
WebServer to PHP Interface: cgi
Joomla! Version: Joomla! 1.6.0 RC1 [ Onward ] 14-Dec-2010 23:00 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 GTB7.1
Bug Description:
A submit-article-icon does not appear when a category is the blog category.
When I change the blog category into the category list, the submit-article-icon does appear in the page.
Steps to replicate:
1) Create a new category A and assign to A-menu in Main Menu.
2) Create a new user-group C under a Group-parent: registered.
3) Create a new user B as a registered user and assign to C user-group.
4) Go to the new category A and set Category permissions on C user-group as follows: New Setting (All action items set inherited to allowed)
5) Done.
I would like user B (registered member status) to create, delete, edit, edit-state, edit own at a particular menu category.
-
- Joomla! Enthusiast
- Posts: 221
- Joined: Sat May 31, 2008 12:15 am
- Location: Yokohama, Japan
- Contact:
Re: No submit new article icon appears at blog category.
I tried the same thing at Author status and I got the same result in Joomla1.5.22
So, this is parts of Joomla specifications, I assume.
the submit-article-icon does not appear in the blog category page when you log in as the author, but in table category list it does appear.
So, this is parts of Joomla specifications, I assume.
the submit-article-icon does not appear in the blog category page when you log in as the author, but in table category list it does appear.
- mcsmom
- Joomla! Exemplar
- Posts: 7897
- Joined: Thu Aug 18, 2005 8:43 pm
- Location: New York
- Contact:
Re: No submit new article icon appears at blog category.
Correct. that is the standard, the submit new is on the list layouts. You could add it with an override if desired.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon May 21, 2012 8:44 pm
Re: No submit new article icon appears at blog category.
mcsmom, (or anyone)
Can you tell me how to "add it with an override if desired."? I *really* would like to have that link present in blog layout, but cannot find any information on how to do it. Thanks!
Can you tell me how to "add it with an override if desired."? I *really* would like to have that link present in blog layout, but cannot find any information on how to do it. Thanks!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Jun 06, 2013 8:12 am
Re: No submit new article icon appears at blog category.
I have the opposite problem: My client wants a category list, but they don't want the 'new' button for new article. How do I get rid of it or make it so that only they can add articles? Because right now everybody can add a new article. I've allready tried to change the permission of 'public' but that didn't help.
Please tell me step by step how to fix this.
Thanks.
Please tell me step by step how to fix this.
Thanks.
-
- Joomla! Apprentice
- Posts: 33
- Joined: Thu Apr 26, 2007 4:19 pm
Re: No submit new article icon appears at blog category.
There are a couple ways to do what you are asking...Hexagor wrote:I have the opposite problem: My client wants a category list, but they don't want the 'new' button for new article. How do I get rid of it or make it so that only they can add articles? Because right now everybody can add a new article. I've allready tried to change the permission of 'public' but that didn't help.
Please tell me step by step how to fix this.
Thanks.
Remove Icon With An Override
Copy The File
Copy the default.php file:
Code: Select all
/components/com_content/views/category/tmpl/default.php
Code: Select all
/templates/<yourTemplate>/html/com_content/category/default.php
Edit The Copied File
Around Line 26, you should see and comment out the following:
Code: Select all
<?php if ($this->access->canEdit || $this->access->canEditOwn) :
echo JHTML::_('icon.create', $this->category , $this->params, $this->access);
endif; ?>
Dynamically Remove Icon With Core "Hack" *
Edit The XML File
Open the following file with your favorite text editor
Code: Select all
components/com_content/views/category/tmpl/default.xml
Code: Select all
<param name="show_new_icon" type="radio" default="1" label="Show New Icon" description="Show/Hide the new article icon">
<option value="0">Hide</option>
<option value="1">Show</option>
</param>
Edit The PHP File
Open the following file with your favorite text editor **:
Code: Select all
components/com_content/views/category/tmpl/default.php
Code: Select all
<?php if ($this->access->canEdit || $this->access->canEditOwn) :
echo JHTML::_('icon.create', $this->category , $this->params, $this->access);
endif; ?>
Code: Select all
<?php if ($this->params->get('show_new_icon')) : ?>
<?php if ($this->access->canEdit || $this->access->canEditOwn) :
echo JHTML::_('icon.create', $this->category , $this->params, $this->access);
endif; ?>
<?php endif; ?>
* (NOTE: Core "hacks" have the potential to be overwritten upon Joomla upgrades/updates.)
** (NOTE: If your template has a "default.php" file in the "/templates/<yourTemplate>/html/com_content/category/default.php" location, you will need to edit this file, since it overrides the core Joomla file.)
- mcsmom
- Joomla! Exemplar
- Posts: 7897
- Joined: Thu Aug 18, 2005 8:43 pm
- Location: New York
- Contact:
Re: No submit new article icon appears at blog category.
Are you saying the public can submit and article? That is actually specifically blocked by the code and the public should never see a create new icon. Can you please explain more about what you are seeing?
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Jul 31, 2013 8:53 pm
Re: No submit new article icon appears at blog category.
I found a very simple fix for hidding the "NEW" button in J2.5. Just go to Global Configuration>Permissions and here set in Public - Create Field to Denied. Works for me!