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 10033 times)
0 Members and 2 Guests are viewing this topic.
smart
Administrator
Hero Member
*****

Karma: 146
Offline Offline

Gender: Male
Posts: 2579



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 675 times.)
* elements.zip (1.8 KB - downloaded 659 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
thomas
Guest
« Reply #1 on: April 26, 2009, 05:34:29 »

 Cheesy Thanks Thanks Thanks smart! What a great job! exactley what I'm looking for! Everything work fine!
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: JComments & YOOtheme Zoo 1.0
 
Jump to: