Page 1 of 1

Image uploaded by??

Posted: 15 Jan 2012, 17:32
by _Jo_
Hi,
i use the phoca Gallery modul under joomla 1.7.
It works fine......but
how can i (and other users) see who has the image uploaded!?? :x

Thanx

Re: Image uploaded by??

Posted: 16 Jan 2012, 17:53
by hondapants
there is a column "uploaded by" in the "images" section in the control panel - does that help?

Re: Image uploaded by??

Posted: 16 Jan 2012, 17:58
by _Jo_
hondapants wrote:there is a column "uploaded by" in the "images" section in the control panel - does that help?
yes, but how can we see that?? That can i only see aas Admin- right??
I will it see in the Gallery please!

Thanx

Re: Image uploaded by??

Posted: 16 Jan 2012, 20:11
by Jan
Hi, uploaded by is displayed in overlib, this can be customized in the code and displaying can be set to other place.

Jan

Re: Image uploaded by??

Posted: 17 Jan 2012, 21:48
by _Jo_
Jan wrote:Hi, uploaded by is displayed in overlib, this can be customized in the code and displaying can be set to other place.

Jan
ok, how can i see here (Frontend from Gallery) the uploader?? :o What i have to do?? Thanx

Image

Re: Image uploaded by??

Posted: 17 Jan 2012, 22:21
by icatian
you have to customize the php file of your view:
com_phocagallery>views>categories>tmpl>default.php for the categories view
com_phocagallery>views>detail>tmpl>default.php for the detail view

try to add this code:

Code: Select all

echo '<div><span style="float:right;">uploaded by <a href="/control-panel/userprofile/'.$this->item->userid.'">'.$this->item->username.'</a></span></div>';
this could be implemented in a next release for phocagallery maybe, anyway it works for me! :)

Re: Image uploaded by??

Posted: 17 Jan 2012, 22:56
by _Jo_
icatian wrote:you have to customize the php file of your view:
com_phocagallery>views>categories>tmpl>default.php for the categories view
com_phocagallery>views>detail>tmpl>default.php for the detail view

try to add this code:

Code: Select all

echo '<div><span style="float:right;">uploaded by <a href="/control-panel/userprofile/'.$this->item->userid.'">'.$this->item->username.'</a></span></div>';
this could be implemented in a next release for phocagallery maybe, anyway it works for me! :)
oh fine- thanx! :)
on which Position i have to add it??

Thx

Re: Image uploaded by??

Posted: 18 Jan 2012, 00:36
by icatian
i don't know where you want to display it!
Then just try putting it in the middle of the php, then you'll find the div for you...

Re: Image uploaded by??

Posted: 18 Jan 2012, 22:35
by _Jo_
icatian wrote:i don't know where you want to display it!
Then just try putting it in the middle of the php, then you'll find the div for you...
Hi,
thanx for answers!
here looks- that will be great! :twisted:
Image

Re: Image uploaded by??

Posted: 19 Jan 2012, 17:40
by Jan
Hi, you can use description for this, see demo here:
https://www.phoca.cz/templatedemo/phoca- ... escription

Jan