changing client images from a customer web site

Asked by Carl Wharton

We have an online customer web site and we want to allow customers to add or update their images/text automatically through our web site yetzz.co.uk, without having to go through the server layout screen. What PHP files, database tables are involved in doing this programatically? We've noticed that we may have to generate a MD5 key as well as other changes.

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Garner
Solved:
Last query:
Last reply:
Revision history for this message
Best Dan Garner (dangarner) said :
#1

When you say "change" do you mean "add to existing layouts" or do you mean "edit and replace on existing layouts". The proper way to do this would be to try and use the API (search the wiki for API)...

The API is most definitely not complete - but we would be interested in bringing it closer to completion if someone is going to use it.

If you wanted to do this yourself... you would basically need to mimic the changes contained in modules/image.module.php and modules/text.module.php... these all relate to parsing and changing the XML representation of the layout, uploading and saving new files... you don't need to worry about the MD5, you can just clear it and it will auto generate the first time its requested.

Revision history for this message
Carl Wharton (carl-wh) said :
#2

Thanks Dan Garner, that solved my question.