Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • edd Friend
    #202386

    Hi there,

    I’m trying to add an image gallery to an article and I found that if I dont use the “extra field project layout” the gallery doesn’t work.

    Is there any other way to make work the gallery?

    Thanks

    jooservices Friend
    #553942

    Hi there,
    Would you mind provide some more information. Which gallery system you want to use ?

    Thank you,
    Viet Vu

    edd Friend
    #553943

    Hi jooservices,

    Actually there is a nice gallery in the JA decor template :

    http://ja-decor.demo.joomlart.com/index.php/en/about/featured-projects/83-teen-bedroom-decor

    If you click on the images it is expanded…

    The thing is that when I try to add an image to an article it doesnt work in the same way, I mean: the image doesnt expand.

    So I noticed that for to make work the gallery expanding images I need to use the “extra field project layout” (by the way I dont know where can I modify the “extra field project layout”).

    So I would like to know if it is possible to dissable the “extra field project layout” and use the gallery when I put an image.

    Thanks for your help

    jooservices Friend
    #553946

    Hi there,
    Just apply some code like this


    <img src="images/joomlart/demo/sam-10.jpg" alt="" /><img src="images/joomlart/demo/sam-8.jpg" alt="" /><img src="images/joomlart/demo/sam-9.jpg" alt="" />

    It will automatically convert by template


    <section class="article-content clearfix">
    <div class="article-introtext">
    <?php //echo $this->item->text;
    if($extrafieldsexist){
    echo DecorHelper::photogallery($this->item->text);
    }else{
    echo $this->item->text;
    }
    ?></div>
    </section>


    <?php
    //echo $this->item->introtext;
    echo DecorHelper::photogallery($this->item->introtext);
    ?>

    You can reference quickstart to get more information about it.

    Thank you,
    Viet Vu

    edd Friend
    #553948

    Hi jooservices,

    thanks for your reply…

    Actually is what I always did, I putted the images like you said and it only shows the images one behind the other with no possibility to expand them.

    About the codes you gave me, where do I need to put them? :


    <section class="article-content clearfix">
    <div class="article-introtext">
    <?php //echo $this->item->text;
    if($extrafieldsexist){
    echo DecorHelper::photogallery($this->item->text);
    }else{
    echo $this->item->text;
    }
    ?></div>
    </section>

    Is there any way to use the gallery ?

    All I want is to put the images (using code) and that the images can be expanded… the way you said is the way I’m using and it is not working…

    Thanks a lot

    jooservices Friend
    #554052

    Hi there


    <section class="article-content clearfix">
    <div class="article-introtext">
    <?php //echo $this->item->text;
    if($extrafieldsexist){
    echo DecorHelper::photogallery($this->item->text);
    }else{
    echo $this->item->text;
    }
    ?></div>
    </section>

    This’s explain code about how template process it. not to use 🙂
    Please provide your site access. I’ll try to check it.

    Thank you,
    Viet Vu

    edd Friend
    #554112

    Hi jooservices

    Thanks for your reply, I will use the SimpleImageGallery plugin, it is working fine.

    Thanks anyway 🙂

    jooservices Friend
    #554113

    Hi there,
    oki doki 🙂

    Thank you,
    Viet Vu

    marinaw Friend
    #570572

    Certainly it doesn’t work in articles unless you use extrafields. This ticket was opened on November 2014 and the issue has not been solved by May 2015.

    jooservices Friend
    #570609

    Hi there
    # Please create new topic with your issue detail.
    # Actually it’s required for custom work in this topic.

    Thank you,
    Viet Vu

    jooservices Friend
    #735672

    Hi there
    # Please create new topic with your issue detail.
    # Actually it’s required for custom work in this topic.

    Thank you,
    Viet Vu

    marinaw Friend
    #570613

    I woul have expected this solved in the template files so nobody has to deal with this again. But thank you anyway.

    marinaw Friend
    #735676

    I woul have expected this solved in the template files so nobody has to deal with this again. But thank you anyway.

Viewing 13 posts - 1 through 13 (of 13 total)

This topic contains 13 replies, has 3 voices, and was last updated by  marinaw 8 years, 11 months ago.

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