×

Notice

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

TOPIC: remove possition ccomment-top to the TOP

remove possition ccomment-top to the TOP 8 years 2 months ago #34960

  • tomsson
  • tomsson's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hi

I'am using CComment 5.3.4 and Joomla 3.6.2
In the position ccomment-top I have put HTML module with image but I need to have this HTML module over the ccomment komponent.

Please see the attachment image
Attachments:

remove possition ccomment-top to the TOP 8 years 2 months ago #34973

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey there,
Can I see the site? The ccoment-top position is as the name says normally positioned at the top. I belive after the "comments (7)" text.

Ah wait. So is your form on the top? and comments below?

Well, actually you can do a layout override for this file components\com_comment\templates\default\default.php

And mmove the code:
	<?php if(count($modules)) : ?>
		<div class="ccomment-modules-top">
			<?php
				foreach ($modules as $module) {
					echo JModuleHelper::renderModule($module);
				}
			?>
		</div>
	<?php endif; ?>

right before this line:
<div id="<?php echo $htmlId; ?>" class="ccomment row-fluid"></div>

Regards,
Daniel

remove possition ccomment-top to the TOP 8 years 2 months ago #34976

  • tomsson
  • tomsson's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
THANK YOU so much !!!! :)))))) it works
  • Page:
  • 1
Time to create page: 0.119 seconds