How to get File Galleries info from Database?
Hi everyone,
I'm developing a plugin for running an external application and presenting its output in a user-generated page. However, I'm a complete MySQL newbie and an almost-complete PHP newbie also, so I please ask you bear with me on this... :mrgreen:
I've attempted to look into existing PHP code of Tiki to find out exactly how to get the 'filename', 'galleryId', and 'path' fields from the 'tiki_files' table, but I'm fairly confused at this point. I don't know how Tiki goes about to query this information from the MySQL Database. From this information I plan to give it to the external application the 'path' argument as the filename to process from the tiki_files directory (it runs on the same machine).
Where can I find a template-like plugin to do this, or an approximate example? If neither exist, other ideas are of course welcome.
Thanks in advance! 😀