The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Get uploads via template-tag - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7) +--- Thread: Get uploads via template-tag (/showthread.php?tid=4399) |
Get uploads via template-tag - yck.art - 2013-03-01 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! RE: Get uploads via template-tag - Connie - 2013-03-01 no: see here: http://get-simple.info/wiki/themes:template_tags you should check the EXTEND and search for a plugin... RE: Get uploads via template-tag - shawn_a - 2013-03-01 It isn't really necessary, just use the global for the gsuploads path RE: Get uploads via template-tag - yck.art - 2013-03-02 (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/GetSimpleCMS/blob/master/admin/inc/common.php#L83 |