
I'm attempting to set an sql field on an entity to the location of an image inside of XF's data dir at the time when the creation/save process happens but I'm not quite sure how to approach this.
I am able to get the file saved with the proper filename and in the proper place (data://taylorj_blogs/blog_header_image/filenamehere.jpg) where filename is the id of the entity that is/was created.
I've tried placing my code in my saveProcess method as seen below
PHP:
I am able to get the file saved with the proper filename and in the proper place (data://taylorj_blogs/blog_header_image/filenamehere.jpg) where filename is the id of the entity that is/was created.
I've tried placing my code in my saveProcess method as seen below
PHP:
protected function...
You must be registered for see links
You must be registered for see links