tmatbcorp VIP
Total posts: 41
20 Jan 2015 17:49

Hello,

When authentified as moderator, we used to have two links for the section Actualités as you can see on this screenshot (with Joomla 2.5.8 and Cobalt 7):

live_site

In english, the links labels are:

  • add
  • unpublished

After clicking on the second link, a third one appears which links to the elements that have been created by the user for the section:

live_site2

Now with Joomla 3.3.6 and Cobalt 8, the second link is not displayed anymore:

dev_site

We cannot find in the section configuration what to set to "Yes" or "No" in order to get the second link back.

Could you please help us?

Thanks. Regards.

Last Modified: 30 Jan 2015


pepperstreet VIP
Total posts: 3,837
21 Jan 2015 07:38

tmatbcorp We cannot find in the section configuration what to set to "Yes" or "No" in order to get the second link back.

Is it really missing in page source or just hidden by a CSS issue?
Do you use a custom markup template or a custom section menu? Maybe something is hidden programatically.

Please, check out...

YourSection -> Tab General Parameters -> Templates -> Parameter MarkUp Layout (hit edit button)

See tab Section Menu. Check related ACL settings for Menu Elements, User Menu etc.


Sergey
Total posts: 13,748
21 Jan 2015 08:20

I think this is becuase you used your old templates from Cobalt 7 and it will not work. You have to create new templates derived from Cobalt 8 supplied templates and then style to new look.

Usualy when people move from J2 to J3 they also change site style at the same time. Especialy the fact that J3 ib Bootstrap based, adds a lot of new possibilities like responsiveness. that would be sad to lose this feature after such a complicated process.


tmatbcorp VIP
Total posts: 41
23 Jan 2015 16:20

Thank you for your reply . I also would like to know where I can change the list of options ( and their labels) for a record ?

selectRecord.PNG


Sergey
Total posts: 13,748
26 Jan 2015 04:26

List of options is different for admin and simple user. User might not have access to any of those options except edit and delete.

You can change labels only in language file I think.


tmatbcorp VIP
Total posts: 41
27 Jan 2015 16:36

Hi,

When authentified in admin mode, we had for Cobalt 7:

old

Displayed options are:

  • Delete
  • Edit
  • Archive
  • Enable comments
  • Unpublish
  • Hide

Now with Cobalt 8, for the same section, we have:

new

Displayed options are:

  • Edit
  • Stop featuring
  • Unpublish
  • Delete

For sections and types, the list of displayed options is coded as $item->controls within templates.

We found how the list is created in /components/com_cobalt/models/record.php, for example:

if(MECAccess::allowEdit($record, $type, $section))
{
    $out[] = sprintf($pattern, Url::edit($record->id . ':' . $record->alias), 'pencil.png', JText::_('CEDIT'), JText::_('CEDIT'));
}

But we cannot find where to set this stuff on the backend.

Could you please tell us where the configuration is in Joomla's backend to select the options to be displayed in this list?

Thanks in advance


Sergey
Total posts: 13,748
28 Jan 2015 08:45

Different elements different options. What menu element in particular?


tmatbcorp VIP
Total posts: 41
28 Jan 2015 12:53

All those elements:

  • Delete
  • Edit
  • Archive
  • Enable comments
  • Unpublish
  • Hide
  • Start / stop featuring

Sergey
Total posts: 13,748
29 Jan 2015 09:10
  • Delete - only if user can delete it. Disallow deletion in type parameters and it is gone
  • Edit - the same
  • Disable allow archive
  • Turn off comments

And so on...

Byt why? Why do tou need to turn them off?


tmatbcorp VIP
Total posts: 41
29 Jan 2015 09:53

Please just read our post from January 27th.

We just want to get back the same options we had on our website with Co7.

We want to :

  • turn featuring off
  • turn archive on
  • turn enable comments on

As we cannot find any option, neither these three nor even delete, unpublish and edit, we ask you to please tell us WHERE it is in type's or section's configuration.

If we go to one type, no tab provides for example the "who can delete" option or any of the options we are looking for.

Could you please provide screenshots with exactly where and how to set these options?


Sergey
Total posts: 13,748
29 Jan 2015 10:12

These parameters for example.

2015-01-29_18-04-15

Also your screenshot looks Cobalt 7 style. I do not know may that is one of the reasons.

  • turn featuring off - you cannot turn it off for admins. Admins will always see it.
  • turn archive on - In cobalt 8 there is no Archive feature.
  • turn enable comments on - It is automaticaly on for all comment adapters that supports this.

tmatbcorp VIP
Total posts: 41
29 Jan 2015 11:05

Thank you for this answer.

We still do not understand something.

Here, for Actualité type, edit, prolong, delete and hide are allowed and prolong is set to 10 days:

type_conf

But here, for a item from Actualité type, prolong and hide are not displayed:

actu_menu

Is that normal?


Sergey
Total posts: 13,748
30 Jan 2015 04:15

tmatbcorp Is that normal?

No it is not normal.

note that prolong option will appear only on articles with exparation date set to earlier than today. Actualy it is only accessible through Expired user menu where user see all expired articles.

I can see hide/unhide button locally. Not sure why it is not there. But note this option is available only for authors. Even if you are admin you will not see hide option on articles you are not an author of.


tmatbcorp VIP
Total posts: 41
30 Jan 2015 09:54

OK i was using an admin who was not an author, that is why I could not see the hide option.

Thanks for your explanations, everything is now understood and working fine.

Powered by Cobalt