Image uploaded by??

Phoca Gallery - image gallery extension
_Jo_
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 15 Jan 2012, 17:24

Image uploaded by??

Post 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
hondapants
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jan 2012, 17:14

Re: Image uploaded by??

Post by hondapants »

there is a column "uploaded by" in the "images" section in the control panel - does that help?
_Jo_
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 15 Jan 2012, 17:24

Re: Image uploaded by??

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image uploaded by??

Post 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
If you find Phoca extensions useful, please support the project
_Jo_
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 15 Jan 2012, 17:24

Re: Image uploaded by??

Post 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
icatian
Phoca Member
Phoca Member
Posts: 19
Joined: 02 Nov 2011, 16:41

Re: Image uploaded by??

Post 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! :)
_Jo_
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 15 Jan 2012, 17:24

Re: Image uploaded by??

Post 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
icatian
Phoca Member
Phoca Member
Posts: 19
Joined: 02 Nov 2011, 16:41

Re: Image uploaded by??

Post 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...
_Jo_
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 15 Jan 2012, 17:24

Re: Image uploaded by??

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image uploaded by??

Post by Jan »

Hi, you can use description for this, see demo here:
https://www.phoca.cz/templatedemo/phoca- ... escription

Jan
If you find Phoca extensions useful, please support the project
Post Reply