Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: JComments & YOOtheme Zoo 1.0
Pages: [1]   Go Down
  Print  
Author Topic: JComments & YOOtheme Zoo 1.0  (Read 13402 times)
0 Members and 1 Guest are viewing this topic.
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« on: April 09, 2009, 21:42:30 »

Simple instruction of JComments integration into YOOtheme Zoo

1. Download attached files

2. Extract com_zoo.plugin.zip  and put com_zoo.plugin.php to folder: /components/com_jcomments/plugins/

3. Extract all files from elements.zip  to folder /administrator/components/com_zoo/elements/

4. Open your Zoo template (/components/com_zoo/templates/your_template_name/item.php) and insert in block <div class="item"> following code (if ommited):
Quote

         <?php if (isset($elements['comments'])) : ?>
         <div id="comments" class="comments"><?php echo $elements['comments']->render(ZOO_VIEW_ITEM); ?></div>
         <?php endif; ?>

For example in /components/com_zoo/templates/article/item.php this looks like:
Quote

      <div class="item">
         . . . . .
         <?php if (isset($elements['comments'])) : ?>
         <div id="comments" class="comments"><?php echo $elements['comments']->render(ZOO_VIEW_ITEM); ?></div>
         <?php endif; ?>
      </div>

5. Go to administration panel -> Zoo -> Types, select your type and press Edit. Then add JComments element and configure fields:

   - Name   -  comments
   - Label          -  JComments
   - Description    -  
   - Display        -  On item view
And save changes

* com_zoo.plugin.zip (0.85 KB - downloaded 853 times.)
* elements.zip (1.8 KB - downloaded 835 times.)
« Last Edit: August 21, 2010, 17:33:14 by smart » Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Sarthet
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #1 on: March 15, 2012, 07:07:02 »

Could you please update files? As they don't fit joomla 2.5 Zoo component (cookbook)
Logged
intered
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« Reply #2 on: April 28, 2012, 16:19:58 »

Could you please update files? As they don't fit joomla 2.5 Zoo component (cookbook)

yes please! Looking for an plugin for Zoo also!
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: JComments & YOOtheme Zoo 1.0
 
Jump to: