Announcement

  •  » Requests
  •  » Controlling who sees ratings & a small tweak

#16 2013-06-17 00:41:07

Anonymouse
Member
2013-05-30
12

Re: Controlling who sees ratings & a small tweak

Hi again,

Firstly I'm pleased to say that the contest site is working really well using Piwigo so thanks for the help setting it up! We are getting a lot of comments on our albums and we kind of feel that our visitors might feel "pressured" into leaving a comment after voting but I can't seem to identify the "language" element that controls the "Comment (mandatory)" words of the comment form (attached). We'd like to remove the word "mandatory" if possible.

Thanks!

AM

Offline

 

#17 2013-06-17 16:48:44

pewe
Member
2012-03-16
439

Re: Controlling who sees ratings & a small tweak

Anon

This is found in the file 'picture.tpl' (around line 361 for the Elegant Template for example).

Don't edit the file directly.
Use the Localfiles Editor to create your own custom picture.tpl, copying and pasting the details from the original file, modify them and save as your own. Then replace the picture.tpl for your template with your custom one.

Hope this makes sense.

Offline

 

#18 2013-06-17 17:03:41

Anonymouse
Member
2013-05-30
12

Re: Controlling who sees ratings & a small tweak

Hi Pewe,

I can't find the picture.tpl file you are referring to. I'm using vertical white and can only see the following tpl files in local file editor.

AM

Offline

 

#19 2013-06-17 18:54:48

pewe
Member
2012-03-16
439

Re: Controlling who sees ratings & a small tweak

Sorry Anon - more detail. ( rushed my previous response).

- open the file picture.tpl from the directory 'piwigo/themes/default/template' in a text editor
- in line 361 delete '({'mandatory'|@translate})'
- now copy the complete contents of the file (minus deleted words) to clipboard
- Open Localfiles editor
- go to 'Templates' tab and click 'create new'
- give it a name and paste the content previously copied above, then save the file.
- now go to Administration=>Configuration=>Templates and you'll see your file in the list.
- under the heading 'Original Templates' select 'picture.tpl' from the drop down list alongside your template and 'submit.

(mandatory) will no longer display.

Hope that's a bit clearer.

Last edited by pewe (2013-06-17 23:30:11)

Offline

 

#20 2013-06-17 22:53:39

Anonymouse
Member
2013-05-30
12

Re: Controlling who sees ratings & a small tweak

Thank you again.

Offline

 
  •  » Requests
  •  » Controlling who sees ratings & a small tweak

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact