10 years ago
9
Topic

Hi,

As said in title i would want a list column where i can display publish state like joomla.

So an icon that can change depending on state, and much better that would be clickable and change status on click !

Get a Book for SEBLOD
693 Posts
rpoy
10 years ago
1
Level 1

Hi Pascal,

In your Content Type, you can add the Article State field, then use a checkbox in the List & Search Type.

If you want an icon, you can use the JGrid plugin. You can see an example in the Feedback Manager:

Feedback Manager - image

Hope that helps,

Randy

10 years ago
0
Level 2

Hi Randy,

Thx it works ok but the button is always disabled ... why this ?

10 years ago
1
Level 1

Also it should be nice to get one more class depending on status.

That should allow to change color of button depending on publish status ...

10 years ago
0
Level 2

I'm still wondering how to make this ...

I've seen there is custom attributes for each options but as usual there is no doc or tooltip so ican't figure how it works (and i made tests).

To be true Seblod continuously drain my motivation to use it more :(

10 years ago
3
Level 1

Two more questions about your example :

  1. How do you set the text "Search in comments" in field Keywords ?
  2. How do you set the edit and delete buttons like this ?
4229 Posts
Kadministrator
10 years ago
2
Level 2

To see how placeholder text is done click on small orange button at the bottom of the screen in the keywords field settings, it has

Custom Attributes 

placeholder="J(Search in comments).."

To see edit and delete buttons go to the List tab of the Feedback manager and check its configurations and links that are made on them.

10 years ago
1
Level 3

Hi Klas,

Thx for help.

Can you also have a look to my previous questions that was :

The status button is always disabled ... why this ?

Also it should be nice to get one more class depending on status. That should allow to change color of button depending on publish status ...

Possible ?

10 years ago
0
Level 4

No answer ?

4229 Posts
Kadministrator
10 years ago
0
Level 1

Hi,

at the moment this are only icons showing state, not buttons. To make them buttons you would need to add some javascript ajax and php code

Get a Book for SEBLOD