Extraneous Textarea in Comments Module
trumpy81
Joined: 2004-12-19
Posts: 15 |
Posted: Sun, 2008-11-02 18:08 |
GDay All, I have a minor problem/annoyance with a certain Textarea box in the Comments Module. I don't know how many of you have encountered this problem/annoyance before but It has existed since v2.0 and I continue to see it in v2.3. Whenever someone adds an 'Add Comment' in the 'themes/Blocks to show on photo pages' admin area you get this extraneous textarea: [img]http://vvmc-qrc.org/ExtraTextarea.png[/img] This textarea seems to serve no purpose at all and in my opinion should be removed. To remove it, you'll find the offending code in gallery2/modules/comment/templates/blocks/AddComment.tpl on line 22. If you look at the code it even appears to not be a part of the intended code. Quote:
{* I am wondering if this can be removed from future releases? Regards |
|
Posts: 15
Regards
trumpy81
Posts: 32509
Not quite sure if I understand the issue.
First, please note that not all themes behave the same way.
You could switch to the matrix theme (or another theme) to see if you like its behavior better.
Second, on your screenshot I see a single "add comment" textarea on a photo page. isn't that exactly what you've asked for when adding the "add comment" block to the blocks to be shown on photo pages?
I guess it's all about the theme you're using. Since that theme is usually a little more refined that others, it adds icons for "exif data" and "add comment" at the top instead of cramming all on the screen. I guess you'd expect the theme not to show the textarea by default and just show a "add comment" icon. is that correct?
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 15
GDay All,
valiant, the point is, if you click on the textarea that is displayed directly below the 'Add Comment' link the page will expand into a new form for entering ones comments and the textarea box that was displayed is replaced by a new textarea (different ID) for typing in the message.
The textarea that is displayed directly below the 'Add Comment' link does absolutely nothing, it does not display comments or anything else, in other words it's not supposed to be there.
And because this error is in a module it displays no matter what theme you use.
Fire up Gallery2 and on the theme config, admin page, add an 'Add Comment' block to a photo page, then goto to a photo page and play with it, you'll see exactly what I mean.
This reminds me also, that the 'Add Comment' link does not change the cursor correctly. You get the text bar, instead of a hand cursor. Not a biggie, but for computer illiterate's, which most of my viewers are, it makes it difficult for them to determine the link.
Regards
trumpy81