×

Notice

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

TOPIC: display comments in html format

display comments in html format 10 years 6 months ago #25805

  • asif
  • asif's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
hi
i am new to joomla and i am using cobalt (cck). i have used CCommnents as comment adaptor for cobalt.
can any body guide me how can i display comments on listing page where many article come with there comments.
if i go to article details there comments are displaying properly
but in listing page i need to decode(remove irrelevant tags etc)
i have used
echo JHtml::_('content.prepare', $comment);
but output is something like this "
[quote]this is[/quote]
"
thanks
Attachments:

display comments in html format 10 years 6 months ago #25806

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
What do you mean with display comment, do you want to show a readmore link or what?

Regards,
Daniel

display comments in html format 10 years 6 months ago #25819

  • asif
  • asif's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
hi daniel
i have attached two images in earlier meassage (the one you replied to)
i want to remove bbcode( or convert bbcode to html format)
[quote]this is[/quote]

the above comment should display as quote only showing "this is"
currently it is displaying with bbcode (tags)
thanks
  • Page:
  • 1
Time to create page: 0.117 seconds