Author Topic: Removing image and tmbnail fields  (Read 744 times)

danss2

  • Newbie
  • *
  • Posts: 4
    • View Profile
Removing image and tmbnail fields
« on: March 25, 2012, 02:40:26 AM »
Hi all :D
Either I'm not using correct search phrase, or some other thing, but I can't seamed to find an answer to this question:
how can I remove some fields from review submition form?  In particullar, I'd like to remove "Award", "Thumbnail URL", "Image URL" and "Summary" fields from the form.  Where can I do that?

Thank you  :)

Krossfire

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Removing image and tmbnail fields
« Reply #1 on: March 29, 2012, 06:00:44 PM »
From user review form, or admin panel?
If user review - go to components\com_simple_review\templates\TEMPLATE_NAME\userreview\template.write.html.php
Remove lines:
256 - 258 (award)
275 - 285 (thumbnail)
286 - 295 (image)
296 - 300 (summary a.k.a. blurb)

Also remove line 105 (echo SRHtmlControls::ImageSearch();).

However - I can't assure you this will work - User Reviews doesn't work for me at all (Joomla 2.5, yvBB installed) - but I don't even need those, so I don't care.
 8)

danss2

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Removing image and tmbnail fields
« Reply #2 on: March 30, 2012, 11:06:02 AM »
Krossfire, thank you for your suggestion :-)
I did mean the front end review writing form.
Now, even though your suggestion seams to be straight forward, but for some reason it did not do anything :-(  I mean after I removed those lines - nothing changed...
Do you have any other suggestions to try?  Or if someone else would lke to jump in - welcome :-)

PS - I am too running J2.5 and SimpleReviews work like a champ for me on it :-)  I installed SimpleReviews v 3.0.13

row1

  • SR Sole Developer
  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Sockware
Re: Removing image and tmbnail fields
« Reply #3 on: March 30, 2012, 07:31:09 PM »
Just to confirm, did you apply Krossfire's fix to the default template? Are you using a template that isn't 'default'?
« Last Edit: March 31, 2012, 05:47:55 PM by row1 »
If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!

danss2

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Removing image and tmbnail fields
« Reply #4 on: March 30, 2012, 08:18:22 PM »
I actually tried both ways (backing up that php file and modifying it as well as making a copy of default template, renaming it and uploading back to template folder, modifying php file in that new template, switching every setting in backend to that new template)...

row1

  • SR Sole Developer
  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Sockware
Re: Removing image and tmbnail fields
« Reply #5 on: March 31, 2012, 05:49:08 PM »
It is possible for you to provide a screenshot or a link to the page?
If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!

danss2

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Removing image and tmbnail fields
« Reply #6 on: March 31, 2012, 06:40:08 PM »
Thank you for your support, Row1  :)
I'm not sure what you are expecting to see, accept all default fields.... But, since one has to be logged in to be able to post reviews,  here is the screenshot where I highlited fields, that I'd like to remove - netcomptechnology.com/anush/jupgrade/images/stories/Capture.GIF
« Last Edit: March 31, 2012, 06:42:56 PM by danss2 »