Requests | Blesta

Requests

more options for navigation links

Mohamed Anouar Achoukhy shared this idea 7 years ago
Completed

blesta in v4 hs added the option to set a option of base_uri if the link will have a custom base_uri , it would be great if it was another setting for visibility links , like

'options' => ['visibility' => 'public'] = all vistors

'options' => ['visibility' => 'client'] = only clients

'options' => ['visibility' => 'visitors'] = only visitors

also, we need to remove the limitation of getActions() insertion links, now only the plugins can add/insert one action per category.

Comments (4)

photo
1

the limitation has been removed .

now we need only the visibility ACL . it would perfect to allow plugin insert links that some of them will be publicly and some are only for clients .

photo
1

How do you distinguish between "public" and "visitors"?

photo
1

public = anyone (all)

visitors = only un logged ones . if client is logged in so is excluded .

but we can conform with only two option

'options' => ['visibility' => 'public'] = all vistors 'options' => ['visibility' => 'client'] = only clients

photo
1

I believe this is resolved with the new navigation editor in 5.0. :)