Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • joachim funk Friend
    #193999

    Hi!

    I want to show the images of the sub-categories in the “List-all-categories”-Layout of the parent category, but not in the (sub-)category-blog itself. The problem is, that Fixel doesn’t use the normal joomla-category-image, that can be selected in the options of the category – Fixel uses an image, which is embedded with an <img src/> in the desdcription of the category.

    a) I want the image in the categories-overview:

    b) I don’t want the same image in the category-blog:

    Has someone an idea to fix this problem?

    Thanks!


    1. yes
    2. no
    Ninja Lead Moderator
    #519643

    We have customized the view layout of Category Blog in JA Fixel template. If you wish to show as Category Blog of default Joomla, you can follow steps below:

    + Go to templates/ja_fixel/html/com_content/category path

    + Rename blog.php and blog_item.php to blog_bk.php and blog_item_bk.php

    Hope that helps.

    joachim funk Friend
    #519673

    Thanks for your help – but I like the Fixel-Layout 🙂

    I tried a quick-and-dirty-way and added the following code to my custom.css – tests will follow, but it seems to work:

    .category-desc img {
    display:none;
    }

    holzlchr Friend
    #519727

    Hi Joachim
    Great to meet someone who asks my questions one day in advance.
    What about your quick-and-dirty-hack ? Did it work ?
    I couldn’t find the custom.css in ja_fixel/css/. Where is thi file ?
    Christian

    <em>@joachim funk 407451 wrote:</em><blockquote>Thanks for your help – but I like the Fixel-Layout 🙂

    I tried a quick-and-dirty-way and added the following code to my custom.css – tests will follow, but it seems to work:

    .category-desc img {
    display:none;
    }

    </blockquote>

    Ninja Lead Moderator
    #519779

    <em>@holzlchr 407521 wrote:</em><blockquote>Hi Joachim
    Great to meet someone who asks my questions one day in advance.
    What about your quick-and-dirty-hack ? Did it work ?
    I couldn’t find the custom.css in ja_fixel/css/. Where is thi file ?
    Christian</blockquote>

    Hi Christian,

    My workaround is to remove the customisation of the layout Category Blog in JA Fixel template. If custom.css file doesn’t exist you can create such file and store in your css directory.

    The path should be: templates/ja_fixel/css/custom.css

    joachim funk Friend
    #519810

    Hi Christian,

    as Ninja Lead wrote: You’ve to create the custom.css file and save there all css-template-changes you want to have – so they won’t be overwritten in case of an update of the template files. Till now, the “display:none”-solution worked for me…

    holzlchr Friend
    #519999

    Hi Joachim and Ninja Lead

    Ok, the solution to create a file “templates/ja_fixel/css/custom.css” and insert “.category-desc img {display:none;}” works.

    Though in order to have a picture appearing in my category box, I expected to have the picture selected in “Category / Options / Image”. In fact this image does not appear in my box.

    In order to see an image in my box, I need to insert the picture in Category / Category / Description, before the text.
    Astonishingly, the text following the picture in the description appears well on the flipped side of the box…
    Ok, so far so good, it works, and I’m happy to be able to keep going.

    But as Joachim says, it’s just a quick-and-dirty solution. As a picky purist, I wouldn’t qualify this thread as “Solved”, but as “Temporary solution”.

    joachim funk Friend
    #520040

    Hi Christian,

    as Ninja Lead wrote: “We have customized the view layout of Category Blog in JA Fixel template”; so the behavior and usage ist a little bit different. I marked the thread as “solved”, because for me it’s solved and I couldn’t find a status like “temporary solution” 😉

    holzlchr Friend
    #520042

    Thanks Joachim, no problem, there is no “picky purist” user category neither :p

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

This topic contains 9 replies, has 3 voices, and was last updated by  holzlchr 10 years, 10 months ago.

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