Help > Customization

'Name' Box Not Wide Enough

(1/1)

EC-1:
Hello,

The person who usually makes updates to my website has gone AWOL. I want to make a small alteration to my review template, and I would be very grateful if you could offer me some assistance. I am using Joomla version 1.5.23 and Simple Review 3.0.

My website address is:

http://www.elliottcross.com/the-last-archangel/index.php?view=review&cat=2-review&rev=1-gb&option=com_simple_review&Itemid=48

The problem I have is that the text in the 'Name' box of the latest review is too long for the template specifications. Consequently, the latest review does not fit properly onto the title line. How do I extend this title line so all the text fits on one line? Or can I unpublish 'guest' as a category of user, as I do not really need this text to be visible?

My question may have already been answered in a previous post:

http://simple-review.com/forum/index.php/topic,58.0.html

But I'm afraid unfamiliar with coding, etc. Would I need to download a coding plugin?

Thanks in advance for your responses!

NRyan115:
I cannot tell you what changes to make as you will have to decide what fits best with your template - however, I have a suggestion to start with.

First of all, what you are talking about are not reviews, but comments. The page you linked to is a review page with a mostly blank review and the page is filled with user ratings from the comment box. This is important as it determines which template needs to be edited.

Second, it looks like your problem is that the comment template has the name set to be 25% of the width of the page and so any name which is longer than 25% will require two lines. You could think about changing this to a higher number (30%, 40%, etc) or change the design so that the width changes dynamically. Infact there are a few ways to change this and each has benefits and drawbacks.

You will want to edit this file:
<JOOMLAROOT>/components/com_simple_review/templates/<YOURTEMPLATENAME>/commentdisplay/template.php

I am not quite sure what you mean by a coding plugin. Are you asking about a joomla plugin? The file needs to be edited directly, this cannot be done from joomla. It is done with a plain-text editor. Not with WORD. Notepad or textpad, or notepad++, etc. You download the file using FTP or there are also file management joomla extensions. Edit it and then replace it.

If you are looking for someone to teach you PHP or HTML then I'm sorry but that is not for me. However, for a simpl fix you should see a line similar to:

--- Code: ---<th width="25%">
--- End code ---
And the 35% can be increased.

Navigation

[0] Message Index

Go to full version