test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • obliat Friend
    #180732

    This is customizing, I know guys, not an issue, so it’s all a good will to help me 🙂

    So I wanted to add captions to the main image in JA News Features on my http://www.ecars.bg Teline IV setup, but this has to be set in the module php files I guess, and I can’t do that.

    Actually I would like to have a specific class applied – see example here – it’s text over transparent layer – in K2 items it’s easy to add a div, but how is this possible in the module as well?

    Ninja Lead Moderator
    #467246

    If you are trying to work with customization, you can:

    <blockquote>Open templates/ja_teline_iv/html/mod_janews_featured/default/blog.php file</blockquote>

    Find

    <h2 class="ja-zintitle">
    <a href="<?php echo $news->link;?>" title="<?php echo strip_tags($news->title); ?>">
    <?php echo $news->title;?>
    </a>
    </h2>

    Make any changes on CSS file here at:

    <blockquote>templates/ja_teline_iv/html/mod_janews_featured/default/style.css</blockquote>

    obliat Friend
    #467269

    Thanks, I thought I need to touch it couple of rows above where the image settings are (bigshowimage), but will try with your suggestion though now sure how to code it :-[.

    Thanks for the tip.

    obliat Friend
    #467287

    I mean not (not now) sure how to code it (no more post editing after 20 minutes 🙁

    Ninja Lead Moderator
    #467396

    What do you need?

    If it’s right you can change from css file

    Open templates/ja_teline_iv/html/mod_janews_featured/default/style.css

    from

    .ja-zinfp-featured h2.ja-zintitle a {
    background: #000
    border-bottom: 1px solid #ccc
    color: #ccc
    padding: 8px 12px;
    text-decoration: none;
    }

    Change to

    .ja-zinfp-featured h2.ja-zintitle a {
    color: #ccc
    padding: 8px 12px;
    text-decoration: none;
    position: absolute;
    top: 180px;
    }


    1. ja_news_feature
    obliat Friend
    #467440

    Hi and thanks for your suggestion.

    It’s close to what you suggest, but not exactly.

    I’d like to keep the title where it is and add opacity bar with text to serve as caption on the image. This way I can show image credits and some text in addition to alt and title tags (title tag only shows on hover…). So it’s even mandatory to show image credits so I’d love to have a solution and maybe you guys can update the JA News Feeatured module with this function – please see attached image.

    I created a class and I can easily apply it, but it only shows when you open the article (K2 item in my case) – I don’t know how to apply the class to the JA News Featured php. And where will I enter the captions text for every new article. So the idea is to have separate class that will show captions to this module as I have another class for inside the article (I don’t think one class can do both).

    So this is what I’m trying to achieve and you help is very much needed even more we are talking about being able to show image credits here.

    Thanks again
    Martin


    1. newsfeatured
    Ninja Lead Moderator
    #467514

    I checked code on JA News Featured module, captions on the picture is always replaced by the title of article. You need some customizations for this.

    obliat Friend
    #467682

    OK thanks and looks like my way is to go visit Joomlancers then 🙂

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

This topic contains 8 replies, has 2 voices, and was last updated by  obliat 12 years, 2 months ago.

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