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

    Hello,
    I’m not able to figure out how to set the the details view as default in the FEATURED PROJECTS.
    There is 2 filter in this page, on is image and text. and the other one is just image display
    Now it set on the images only so you need to click on each image to view the text.
    I would like to set the filter: image, text.
    please see this here:


    1. filter-view
    Ninja Lead Moderator
    #536038
    okkhalid Friend
    #536172

    Hi, I went through the documents but I could not fine any thing to get the view setting.
    All I want is to have this link to change the view:
    http://www.horizonsolutions.ca/dcl/explore/features-projects

    to: like the image above. thanks

    Ninja Lead Moderator
    #536360

    I have checked directly on your site, I could not see sub-categories in Features Projects category. You need to add those as in our demo, see the screenshot for reference:

    Let me know if it helps.


    1. sub_category
    okkhalid Friend
    #536437

    Hi,
    sorry I think I did not explain it well.
    Let me explain again
    if you visit:
    http://ja-decor.demo.joomlart.com/index.php/en/about/featured-projects

    you will find all the projects are listed as images only AS A DEFAULT

    then if you need to change the view of the page, you need to click on:


    1. d
    Ninja Lead Moderator
    #536665

    Regarding the default view in Feature project section, you can change as follows:

    Open the templates/ja_decor/html/com_content/category/masonry.php file

    Change

    <div class="display-blog">
    <a class="project-grid<?php echo $bloglayout!=1?' active':''?>" href="javascript:void(0)" data-option-value="masonry"><span><i class="fa fa-th-large"></i></span></a>
    <a class="project-list<?php echo $bloglayout==1?' active':''?>" href="javascript:void(0)" data-option-value="straightDown"><i class="fa fa fa-th-list"></i></a>
    </div>

    To

    <div class="display-blog">
    <a class="project-grid<?php echo $bloglayout==1?' active':''?>" href="javascript:void(0)" data-option-value="masonry"><span><i class="fa fa-th-large"></i></span></a>
    <a class="project-list<?php echo $bloglayout!=1?' active':''?>" href="javascript:void(0)" data-option-value="straightDown"><i class="fa fa fa-th-list"></i></a>
    </div>

    Let me know if it helps.

    okkhalid Friend
    #536971

    Hi, the code did not work, 🙁

    Ninja Lead Moderator
    #537059

    <em>@okkhalid 429638 wrote:</em><blockquote>Hi, the code did not work, :(</blockquote>

    I would need to take a closer look at your site, you can pm me admin and FTP credentials of your site, I will help you out.

    okkhalid Friend
    #541134

    Hi,
    Going back to the same issue, is there is any way to make the view default to show the image and the text? thanks

    Ninja Lead Moderator
    #541360

    <em>@okkhalid 435154 wrote:</em><blockquote>Hi,
    Going back to the same issue, is there is any way to make the view default to show the image and the text? thanks</blockquote>

    You can try to do with my solution below

    + Open templates/ja_decor/html/com_content/category/masonry.php file

    Change

    $bloglayout = isset($_COOKIE['blog-layout'])?$_COOKIE['blog-layout'] : '0';

    To

    setcookie('blog-layout','1');
    $bloglayout = isset($_COOKIE['blog-layout'])?$_COOKIE['blog-layout'] : '1';

    + Create templates/ja_decor/css/custom.css file and add new rule


    .grid-list .item.isotope-item{
    height : 300px;
    }

    Let me know if it helps

    hjalte1983 Friend
    #541409

    You don’t need to change any code, this is an option in Mijoshop.
    Go to : Mijoshop > Settings > Press Edit – go to Mijoshop Tab > Default Product Display > change grid/list display

    okkhalid Friend
    #541448

    Hi I got a white page. :(, so I have to remove the code to have the page to work again.

    Ninja Lead Moderator
    #541501

    @okkhalid: I could not access back-end of your site and get error “page not found” when I click the menu items of your site.

    Please fix the error and rollback any code you may have changed and pm me admin login of your site and FTP account. I will help you out.

    okkhalid Friend
    #541634

    I have sent you a message, thank you again

    Ninja Lead Moderator
    #541683

    <em>@okkhalid 435818 wrote:</em><blockquote>I have sent you a message, thank you again</blockquote>

    Yes, I fixed the problem directly on your site as my earlier post. Please clear cache your browser or open Feature Projects with new browser, you will see it loads as in my screenshot


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

This topic contains 20 replies, has 5 voices, and was last updated by  Ninja Lead 10 years, 3 months ago.

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