Hello Adam!

I try to make Action in Rule and I see no options in list for newly created publish options?
Like it is to promote content to front page
I checked permissions for administrator, but still no new publish options in list!

Rules 7.x-2.3+6-dev
Custom Publishing Options 7.x-1.x-dev

Mike

Comments

kevinquillen’s picture

Have you cleared cache?

Jarviss’s picture

StatusFileSize
new26.5 KB

Yes I cleared caches, run cron, updated module to today DEV version and still see no extra publish options in Rules Action list.
Permisions are set to authenticated user to allow.
t

Jarviss’s picture

Issue summary: View changes

versions

plazik’s picture

Issue summary: View changes

There is no action. Just one condition.

cravecode’s picture

StatusFileSize
new2.25 KB

I also needed to be able to toggle values for this module via Rules. Attached is a patch that adds a new rules action called "Set a Custom Publishing Option value".

(The patches was written for the 7.x-1.x-dev branch.)

BigEd’s picture

It would have been ideal to have added this to 1.3 any chance of this going into the dev version so it can be used?

kevinquillen’s picture

Assigned: Unassigned » kevinquillen
Status: Active » Fixed

I committed this, and tweaked it some to work. Note that if you setup the event to be 'After saving new content', your final action needs to be Save Entity to save the change that occurs in the action callback. 'Before saving content' does not need this action applied.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.