Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • stefane Friend
    #187376

    Hello,
    I have a little problem again:
    – When viewing the picture wall, on roll-over, displays the contents of my thumbnail especially with a small link “zoom” to see the large picture directly without going into the article and this from the video wall (this is handled by JCE)
    For now all is well.
    – But when I scroll down and the other thumbnails are displayed, the link “zoom” is gone! Do you have any idea why the link is displayed on the first set of thumbnails and not the following?

    Thank you in advance.
    * stef


    1. 2
    2. 1
    Wall Crasher Developer
    #492429

    Hi Stefane,

    JCEMediaBox does not provide to handle ajax content.
    So you must add some javascript after ajax load.

    if(typeof JCEMediaBox != 'undefined') {
    JCEMediaBox.Popup.create($newElems.find('a.jcepopup'));
    }

    You can put this code in templatesja_walljswall.js

    I have updated on your site. Please check again.

    Regards

    stefane Friend
    #492469

    Thank you very much for these changes. It is very enjoyable and pleasant quality support.
    I’m still a little abuse your kindness …
    Photos as thumbnails by default classes had managed by K2 content.
    Only by clicking on a tag pictures as thumbnails, the thumbnails displayed (the selected tag) display formatting and different content. (There are more tags, for example …
    How to have a setting identical form everywhere? I looked in K2 but I have not found anything?


    1. 3
    2. 4
    Wall Crasher Developer
    #492525

    Hi stefane,

    K2 uses many template for each item type.

    The first screenshot is category_item layout, and the second is tag layout.

    You can try to customize those files to make theme look the same.

    /templates/ja_wall/html/com_k2/ja_wall/category_item.php and /templates/ja_wall/html/com_k2/ja_wall/tag.php

    If you just want to include those tags, you can add

    <?php if(
    $this->item->params->get('catItemTags') ||
    $this->item->params->get('catItemAttachments')
    ): ?>
    <!-- Item links -->
    <div class="item-links clearfix">

    <?php if($this->item->params->get('catItemTags') && count($this->item->tags)): ?>
    <!-- Item tags -->
    <div class="item-tags">
    <strong><?php echo JText::_('K2_WALL_TAGGED_UNDER'); ?>: </strong>
    <ul class="catItemTags">
    <?php foreach ($this->item->tags as $tag): ?>
    <li><a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a></li>
    <?php endforeach; ?>
    </ul>
    </div>
    <?php endif; ?>

    </div>
    <!-- //Item links -->
    <?php endif; ?>

    into file: /templates/ja_wall/html/com_k2/ja_wall/tag.php from line 144.

    Hope it helps.

    Regards

    stefane Friend
    #492726

    Thank you very much for the explanation. I tried the change but unfortunately it does not work. For information, my articles and categories using the “ja_wall_showcase” model and it may be why it does not work.
    I still tried to look in the tag.php “ja_wall_showcase” folder but I do not know too much or put this code … Can you enlighten me?
    The idea is to have exactly the same content as in the vignettes that are on the home page or the categories.

    Wall Crasher Developer
    #492757

    Hi stefane,

    For the showcase layout. You need to modify ja_showcase/tag.php

    <?php

    $k2ModelItem = K2Model::getInstance('Item', 'K2Model');
    $item->tags = $k2ModelItem->getItemTags($item->id);
    ?>
    <?php if(count($item->tags)): ?>
    <!-- Item tags -->
    <div class="item-tags">
    <strong><?php echo JText::_('K2_WALL_TAGGED_UNDER'); ?>: </strong>
    <ul class="catItemTags">
    <?php foreach ($item->tags as $tag): ?>
    <li><a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a></li>
    <?php endforeach; ?>
    </ul>
    </div>
    <?php endif; ?>

    Just add the block code above to beneath <!– //Item header –> line (115)

    Regards

    stefane Friend
    #492763

    Hello. Sorry but it does not work.
    I entered the code and nothing happens … :((

    Wall Crasher Developer
    #492778

    Hi stefane ,

    I have check on your site. It is using default tag.php
    I have placed the code, please check again on your site.

    Regards

    stefane Friend
    #492879

    Thank you very much, this is exactly what I wanted!
    Finally, can you tell me the code to put in the file tag.php so I can also add comments and number of views (as in the screenshot)? I will not bother you again, I’ll try to do it myself, but I do not know what code set.
    Thank you in advance.


    1. 15-05-2013-20-05-36
    Wall Crasher Developer
    #492896

    Hi stefane,

    It’s the same block code above.

    The file is /html/com_k2/default/tag.php

    Regards

    stefane Friend
    #493017

    In fact, the above code is already built since you built the file tag.php
    What I try to do is get the same as the screen shot (these are thumbnails that are visible on the home page, for example) with the functions of many commantaires and the number of views.

    Wall Crasher Developer
    #493058

    Hi stefane,

    The default Tag item on JA Wall does not have the same layout as Category Item.

    If you want them have the same layout, you need to copy those code and markup from category-item.php to tag.php.

    Regards

    stefane Friend
    #493078

    Exactly what is the code I have category_item.php copy tag.php?
    I copied all the code category_item.php but I have a blank page.

    stefane Friend
    #493135

    <em>@Wall Crasher 372773 wrote:</em><blockquote>Hi stefane ,

    I have check on your site. It is using default tag.php
    I have placed the code, please check again on your site.

    Regards</blockquote>
    I go back to your statement about tags because I just noticed a problem with tags.
    I put this in context:
    So you’ve made ​​the changes on my request was to have a list of tags on the images called themselves from tags.
    Only once on a page with a tag, I realize that the page contains a lot of other labels that have nothing to do with the tag applied. Moreover, the address bar does not include the other pages such as a URL like “http://www.xxxxxx.com/v2/component/k2/theme/portrait” but rather a URL that like “http://www.xxxxxx.com/v2/” (which mean that the tag was not taken into account I think …)

    stefane Friend
    #493230

    <em>@stefane 373212 wrote:</em><blockquote>I go back to your statement about tags because I just noticed a problem with tags.
    I put this in context:
    So you’ve made ​​the changes on my request was to have a list of tags on the images called themselves from tags.
    Only once on a page with a tag, I realize that the page contains a lot of other labels that have nothing to do with the tag applied. Moreover, the address bar does not include the other pages such as a URL like “http://www.xxxxxx.com/v2/component/k2/theme/portrait” but rather a URL that like “http://www.xxxxxx.com/v2/” (which mean that the tag was not taken into account I think …)</blockquote>
    So, to avoid confusion, I removed the code that you put

Viewing 15 posts - 1 through 15 (of 20 total)

This topic contains 20 replies, has 3 voices, and was last updated by  Wall Crasher 11 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum