GetSimple Support Forum

Full Version: Get uploads via template-tag
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there already an implemenation to get user uploads with template tag or an equivalent function?


Maybe something like this:
PHP Code:
<?php get_uploads("foo.png"?>

Perhaps a tag for the uploads is enough?!

I think that would be a great help!
no: see here: http://get-simple.info/wiki/themes:template_tags

you should check the EXTEND and search for a plugin...
It isn't really necessary, just use the global for the gsuploads path
(2013-03-01, 23:40:54)shawn_a Wrote: [ -> ]It isn't really necessary, just use the global for the gsuploads path

Yeh, nice that's what I looked for. Thanks!

`GSUPLOADPATH` and `GSUPLOADSPATH` is undefined, however `GSTHUMBNAILPATH` works.
Is the gsuploads path documented somewhere?

Update
Ok, got it: `GSDATAUPLOADPATH`: https://github.com/GetSimpleCMS/GetSimpl...on.php#L83