×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Icons and Smiles shown in one column

Icons and Smiles shown in one column 16 years 3 months ago #2326

  • Jack$on
  • Jack$on's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Try to find solution of issue at forum but don't see any reports.

I have strange problem. Just install JoomlaComment 3.26. Have some small problems with a rights during instalation

error when moving /var/www/tbdSnQ/tbd.in.ua/administrator/components/com_comment/plugin/joscomment.php
TO /var/www/tbdSnQ/tbd.in.ua/plugins/content/joscomment.php
error when moving /var/www/tbdSnQ/tbd.in.ua/administrator/components/com_comment/plugin/joscomment.xml
TO /var/www/tbdSnQ/tbd.in.ua/plugins/content/joscomment.xml
error when moving /var/www/tbdSnQ/tbd.in.ua/administrator/components/com_comment/plugin/josccleancache.php
TO /var/www/tbdSnQ/tbd.in.ua/plugins/system/josccleancache.php
error when moving /var/www/tbdSnQ/tbd.in.ua/administrator/components/com_comment/plugin/josccleancache.xml
TO /var/www/tbdSnQ/tbd.in.ua/plugins/system/josccleancache.xml

But I copy those files manually, so components start work.
But all images -- icons and smiles showed in one row.
here you can see how it is http://tbd.in.ua/index.php/component/content/article/3-newsflash/62-2009-01-26-11-09-12#JOSC_TOP
I try to compare source code with source from Demo site -- it's the same. Try to change templates -- same problem.
But if I remove from source code "class" from TR declaration:
instead of
<tr id='CommentToolbar' class='sectiontableentry2'>
and
<tr class='sectiontableentry1'>
I left
<tr id='CommentToolbar'>
and
<tr>
everything start work in a normal way. May be it can help to find there problem is.

Icons and Smiles shown in one column 16 years 3 months ago #2328

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Did you modify the template? Can you try it with another one?

Icons and Smiles shown in one column 16 years 3 months ago #2329

  • Jack$on
  • Jack$on's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
you mean template of JoomlaComment or template of Joomla?
if first -- no, I just install package, and try to change template from the list.

Icons and Smiles shown in one column 16 years 3 months ago #2331

  • Jack$on
  • Jack$on's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hmmmm...
try to change Joomla template, and with other template everything ok.
It means that I should check templete CSS for class with the same names?

Icons and Smiles shown in one column 16 years 3 months ago #2332

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Yep, I believe that it has something to do with same css classes.

Icons and Smiles shown in one column 16 years 3 months ago #2333

  • Jack$on
  • Jack$on's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
in template files I find this in joomla_css.css:
tr .sectiontableentry1 td, tr .sectiontableentry2 td{
	padding: 5px 3px 5px 3px;
	border-bottom: 1px solid #EEE;
}
 
tr .sectiontableentry2 td{
	background-color: #EEE;
}
 
tr .sectiontableentry1 td a:link, tr .sectiontableentry2 td a:link, 
tr .sectiontableentry1 td a:visited, tr .sectiontableentry2 td a:visited{
	text-decoration: none;
	display:block;
 
}

Icons and Smiles shown in one column 16 years 3 months ago #2338

  • Jack$on
  • Jack$on's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
does I should rename clases in JoomlaComment code?

Icons and Smiles shown in one column 16 years 3 months ago #2345

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Try to change them, yes.

Icons and Smiles shown in one column 16 years 3 months ago #2346

  • Jack$on
  • Jack$on's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Thank you! It's work! :woohoo:
After renaming sectiontableentry1 and classessectiontableentry2 to sectiontableentry1_jc and sectiontableentry2_jc in using CSS file and index.html of using template all prictures shown in row. Perfect! Thank you for help!

One more problem... :blush:
I just find that after JC installation in simple article body text goes out of frame, part of text is unvisible :(.
I thing that it's the same problem with template classes, but can't find which one. If you have any ideas, I'll be very appreciated.

Icons and Smiles shown in one column 16 years 3 months ago #2347

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
open your template.css

find
textarea{
	width: 700px;
	border: none;
	background-color: #EEE;
	padding: 5px;
 
}

change to
textarea{
	width: 590px;
	border: none;
	background-color: #EEE;
	padding: 5px;
 
}

Icons and Smiles shown in one column 16 years 3 months ago #2348

  • Jack$on
  • Jack$on's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
it's work! Thank you very much for your help!
Now I can announce to our community that news commenting are possible.
Again -- thank you for fast and quality help!

Icons and Smiles shown in one column 16 years 3 months ago #2354

  • Jack$on
  • Jack$on's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Small remark to this issue (may be someone will have the same problems).
class sectiontableentry1 appears again then existent comments are shown. it cames from ${postclass} var.
Replace are declared at comment.class.php
I change
$html 		= str_replace('{postclass}', 'sectiontableentry' . $this->_css, $html);
to
$html 		= str_replace('{postclass}', 'sectiontableentry1_jc' . $this->_css, $html);
after that problems was solved again. I hope completely :)

Icons and Smiles shown in one column 16 years 3 months ago #2356

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I will change the class names in 4.1 to sectiontableentry_jc so that such problems don't occur anymore. Thank you very much!

Icons and Smiles shown in one column 16 years 3 months ago #2360

  • Jack$on
  • Jack$on's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
It's me again.
two more issues:
1. another place where I change name of class -- client.js
A new post was also formated wrong (links below a message).

2. I change a name of classes to sectiontableentry_jc1 and sectiontableentry_jc2, because using comment.class afrer processing I receive a names of classes like sectiontableentry1_jc1.
  • Page:
  • 1
Time to create page: 0.212 seconds