I have problems getting this plugin to work... Im guessing it does what I want it to do (if it would do what it should do)... which is, I want to add 1 more "field" to my picture information on the right side of my picture pages...
you know you have, "created on", "posted on", "author".. etc.. well I want a new one for my pictures...
I installed this addon and well this is the only information I get:
-----------------------------------------------------------------
Lets add 3 information in the pictures
These 3 are noted INFO1 information, INFO2, INFO3
To replace INFO1, INFO2, INFO3
To do this in your local language (with the help of LocalFiles Editor you must add:
$ Lang ['addinfo_info1'] = 'name do you want for infos1';
$ Lang ['addinfo_info2'] = 'name do you want for infos2';
$ Lang ['addinfo_info3'] = 'name do you want for infos3'
-----------------------------------------------------------------
Now I noticed 3 new text fields to add info about a picture on the picture details page... however what I type there doesn't get displayed on the picture page... then I figured I needed to add the line to my picture.tpl file and so I added:
$Lang ['addinfo_info1'] = 'my new field';
This just added that line literally to my right side column instead of "looking up the value I entered on the pic detail page)
I then tried:
$Lang {'addinfo_info1'} = 'my new field';
But that didn't work either.... anyone who uses this plugin knows how to actually use it ? (they should show an example or something on the plugin page.. seems Im just left to try and "figure it out" :( )
Hi :-)
1/
Go to Administration -> Configuration -> Options -> tab 'Display'
on bloc 'Photo properties'
Posted on Must be checked
2/
Go to Administration -> Plugins -> Manage
active [extension by Piwigo Team] LocalFiles Editor
3/
Go to Administration -> Plugin -> LocalFiles Editor -> Tab local langue
Paste
<?php
$ Lang ['addinfo_info1'] = 'name do you want for infos1';
$ Lang ['addinfo_info2'] = 'name do you want for infos2';
$ Lang ['addinfo_info3'] = 'name do you want for infos3';
?>
4/
Go on page photo
edit
You ca add your info
Offline
Can you do that was not dependent on the field "Posted on", but the dependence on the field "Created on"?
Konve wrote:
Can you do that was not dependent on the field "Posted on", but the dependence on the field "Created on"?
on file initpicture.php
Remplace line 14 and 35 datepost by datecreate
(in Administration -> Tools -> Maintenance -> Purge compiled templates)
Offline
Excellent!
Thank you!!
Offline
My situation (simple in russian :) )
1) Fields with names INFO and info's data are strayed and shifted to the left
2) names are not a bold
Q: it's my problem only?
Or my theme (Kardon)?
Offline
I thinks it's theme;
Can tou give me link (private if you want
Offline
Link to my example?
http://www.filpersona.ru/picture.php?/412/category
Offline
OR
Maybe you personally would be more pleasing to behold this link
:)
http://www.filpersona.ru/picture.php?/359/category/18
French Hero
General Pouyade Pierre
Offline
Hey
Well my problem is still not fixed :( Im just not getting it to work , what am I doing wrong ?
This is what I did:
1. Download "locafiles editor" from here:
http://piwigo.org/ext/extension_view.php?eid=144
2. Uploaded the content of the zip to my "'plugin" folder on my server
Note: I noticed this version is for 2.3 and not 2.4... I don't see any newer so I guess it works on 2.4...
3. Went to my languages tab, chose my language that I use and added the 3 lines to the (empty) file and saved. I did have to remove the space between the $ and Lang for it to work, otherwise it gave me "syntax error".
4. Enabled the "posted on" field for my pictures
5. Added the info I wanted on the detail information page of the picture into INFO1.
6. Went to the picture in question, it still had an actual date on the "posted on" field... not what I entered...
If Igive you temp admin access, could you fix it for me ? I really can't get this to work :(
Konve wrote:
OR
Maybe you personally would be more pleasing to behold this link
:)
http://www.filpersona.ru/picture.php?/359/category/18
French Hero
General Pouyade Pierre
My Antivirus dont like your site :-(
Can you test with this file -> http://piwigo.org/dev/browser/extension … ?rev=16977
Offline
Jeroen wrote:
1. Download "locafiles editor" from here:
http://piwigo.org/ext/extension_view.php?eid=144
Take plugin in piwigo 2.4.1
Offline
Jeroen wrote:
If Igive you temp admin access, could you fix it for me ? I really can't get this to work :(
ok if you want
My e-mail is my login with @piwigo.org
Offline
email sent :)