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 (Moderator: korb)    Topic: JComments & YOOtheme Zoo
Pages: [1]   Go Down
  Print  
Author Topic: JComments & YOOtheme Zoo  (Read 6181 times)
0 Members and 1 Guest are viewing this topic.
smart
Administrator
Hero Member
*****

Karma: 81
Offline Offline

Gender: Male
Posts: 1684



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 375 times.)
* elements.zip (1.8 KB - downloaded 359 times.)
« Last Edit: April 09, 2009, 23:26:25 by smart » Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
madwill
Guest
« Reply #1 on: April 17, 2009, 16:50:33 »

Hi

i have completed the simple instructions in my website joomla/zoo integration and in the zoo demo content joomla install,
they both show the possibility to add jcomments in the type editing in backend but both won't show the comment module in the product or category display page in the front-end

Do i need something extra to make the comments show up

i simply want guest costumer to be able to leave comments on purchased products if at all possible, without signin in and some protection agains spambots for sure...

maybe i can add that jcomments works perfectly in a standart content category of joomla, simply wont show up in zoo content

Thx a lot for this component

William

« Last Edit: April 17, 2009, 18:24:45 by madwill » Logged
thomas
Guest
« Reply #2 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
yoyo
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« Reply #3 on: February 13, 2010, 20:08:08 »

Simple instruction of JComments integration into YOOtheme Zoo



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; ?>

Hi,
there is no (more ?) "div class="item" in the file item.php !  Sad
I don't know how to install Jcomments on the zoo extension ? May be because i have only the lite edition ??

Can u help me, please ?
 
Logged
smart
Administrator
Hero Member
*****

Karma: 81
Offline Offline

Gender: Male
Posts: 1684



WWW
« Reply #4 on: February 23, 2010, 02:06:18 »

there is no (more ?) "div class="item" in the file item.php !  Sad
try to add suggested block of code to the end of that file.
Logged

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

Karma: 0
Offline Offline

Posts: 2


« Reply #5 on: March 06, 2010, 23:07:06 »

Sorry but it's not working.
In this previous post :
Quote
I followed the above instructions without understanding that - after having transferred the directory /jcomments inside  /components/com_zoo/elements, from the admin side I had to modify the Zoo type, adding to it not a normal text field named "comments", but  the newly created element: # Web Service  * JComments

The Jcomments element seems to appear in the #Web Service# but in the Lite edition there is no Web service at all : may be it's the problem ?

Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions (Moderator: korb)    Topic: JComments & YOOtheme Zoo
 
Jump to: