Web path trigger


(Gjboyd7) #1

Hi

 

I am trying to setup a trigger to automatically change the webpath of an assest to be:

 

2014-03-12/news-story-title

 

The problem is I dont seem to be able to add forward slashes / .  

 

I am currently using a "-" which is not ideal

 

%asset_created%-%asset_name%

 

 

Am I missing something, is there a way to add a "/" into the webpath.

 

Thanks,

Gavin


(David Schoen) #2

Web paths can't contain slashes because they are used to separate different levels of the asset tree.

 

If a slash is genuinely required I think you would need to create a folder for the date and then drop the asset in there (but I don't know if that's feasible with core triggers).