Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get uploads via template-tag
#1
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!
Reply
#2
no: see here: http://get-simple.info/wiki/themes:template_tags

you should check the EXTEND and search for a plugin...
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
It isn't really necessary, just use the global for the gsuploads path
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#4
(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
Reply




Users browsing this thread: 1 Guest(s)