News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Different styling depending on access level

Started by Drax658, 23.08.2024 14:15:45

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Drax658

Is it possible to modify download list (whith all the files from one category) so it displays the files differently depending on access level? For example I have 10 files, 1 file with the access level for registered users amd 9 with access level for super users. I would like to make the list so when super user is seenig those 10 files, the list elements of 9 files look different (have different backgroudn for example).

Thank You
  •  

ColinM

Hi
There is a possible way which requires the professional version of the Regular Labs Rereplacer and adding custom CSS to the Head of section of your sitecode.
Details are given in https://www.youtube.com/watch?v=dMpRm0PeXZw
However it would be much better to add it as a suggestion for jD in the future.  Will leave that for you.

Colin
Colin M
  •  

Drax658

Thank You for Your answer Colin,

I've watched the video and I uderstad that You can change the CSS depending on logged in user access level which would change the styling of all downloads. I want to change styling only for those downloads that require super user access.



I want to achieve effect simillar to the image. In the image all light elements are downloads that are accessible for registered access level, while the gray ones are super user access level. The idea behind this is that I want to leave a "history" of files in category. Long story short - light elements are the current donloads and the gray are out dated but still visible for SU, as an history "overview"
  •  

ColinM

Hi
Sounds a usefull and helpful idea.
What is shown depends on the View Access Level - That is the Access parameter when creating/editting a Download.
You can create/modify Access levels in Users -Access levels
Each Access Levell may have several User Groups. 
For example the default setting for Registered viiew is UGs Manager, Registered and Super Users

Think of View Access as what you can see and User Groups as what you can do

Colin

Colin M
  •