Jump to content


ryanscherler

Member Since 04 Feb 2011
Offline Last Active Feb 07 2013 05:23 PM
-----

Topics I've Started

Image tags being encoded on save

05 February 2013 - 09:54 PM

We just recently moved a ProcessWire site to our dev server and for some reason when we save a given page with an image placed in the WYSIWYG - on 'save' it seems to be encoding and adding backslashes to the image attributes as follows (HTML):

 

<p><img src="\&quot;/site/assets/files/1039/500x200.gif\&quot;" width="\&quot;500\&quot;" height="\&quot;200\&quot;" alt="\&quot;\&quot;" /></p>

 

Any ideas on a config / setting possibly making this happen?


Sort Images via API (outside PW admin)

03 July 2012 - 01:55 AM

I was wondering if it's possible to sort user images via the API. I have added an 'images' custom field to the user template and am creating an outside login for artists (users with PW role 'artist') to edit their profile. This involves allowing them to upload images into their 'gallery' and sort them (via drag-n-drop) once uploaded. I was hoping there was some sort of 'sort' field that I could update via the API, but no luck there. I looked into how the admin allows this functionality and it's a bit over my head digging in the images field module. Any help would be greatly appreciated!

- Ryan

Users Dropdown Menu

03 June 2012 - 04:06 PM

Does anybody know if there is a module / fieldtype to generate a dropdown menu for a specified list of users for a given 'role'. This would be handy to assign a page specifically to a user. This would be handy when using the API on an external form (e.g. a non-CMS user) could list/edit/update their related page(s).