Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • emwebmaster Friend
    #408637

    I set the template settings as specified and pasted in your code, then cleared all caches. Still no effect.

    I’m looking at the source code in Firebug and the html doesn’t even have any of those classes…. That CSS wouldn’t format the date text because the text isn’t using those classes. The date is created with the ja-createdate span class.

    Here’s the code from the page itself:

    <div class=”ja-sidenews-list clearfix”>
    <div class=”ja-slidenews-item”>
    <a class=”ja-title” href=”/index.php/news/categories/veteran/177-comptia-enlists-in-national-campaign-to-employ-us-veterans”>CompTIA Enlists in National Campaign to Employ U.S…</a>
    <img src=”http://www.equalitymagazines.com/images/resized/images/stories/latest-news/comptia_logo_40_40.png” align=”right” alt=”CompTIA Enlists in National Campaign to Employ U.S. Veterans” title=”CompTIA Enlists in National Campaign to Employ U.S. Veterans”>
    <span class=”ja-createdate”>2011-08-23 – </span>
    A new effort aimed at helping U.S. veterans make the transition from the…
    <a class=”readon” href=”/index.php/news/categories/veteran/177-comptia-enlists-in-national-campaign-to-employ-us-veterans”> Read More</a>
    </div>
    <div class=”ja-slidenews-item”>
    <a class=”ja-title” href=”/index.php/news/categories/minority/176-ibisworld-identifies-top-10-industries-set-to-benefit-from-the-growing-hispanic-population”>IBISWorld Identifies Top 10 Industries Set to Bene…</a>
    <img src=”http://www.equalitymagazines.com/images/resized/images/stories/latest-news/ibisworld_logo_40_40.png” align=”right” alt=”IBISWorld Identifies Top 10 Industries Set to Benefit from the Growing Hispanic Population” title=”IBISWorld Identifies Top 10 Industries Set to Benefit from the Growing Hispanic Population”>
    <span class=”ja-createdate”>2011-08-17 – </span>
    LOS ANGELES – Aug. 17, 2011 –By 2016, the Hispanic demograph…
    <a class=”readon” href=”/index.php/news/categories/minority/176-ibisworld-identifies-top-10-industries-set-to-benefit-from-the-growing-hispanic-population”> Read More</a>
    </div>
    <div class=”ja-slidenews-item”>
    <a class=”ja-title” href=”/index.php/news/categories/veteran/175-ncoa-partners-with-excelsior-college-for-education-for-members-and-spouses”>NCOA Partners with Excelsior College for Education…</a>
    <img src=”http://www.equalitymagazines.com/images/resized/images/stories/latest-news/ncoa_40_40.gif” align=”right” alt=”NCOA Partners with Excelsior College for Education for Members and Spouses” title=”NCOA Partners with Excelsior College for Education for Members and Spouses”>
    <span class=”ja-createdate”>2011-08-16 – </span>
    Excelsior College Teams With Non-Commissioned Officers Association to Pr…
    <a class=”readon” href=”/index.php/news/categories/veteran/175-ncoa-partners-with-excelsior-college-for-education-for-members-and-spouses”> Read More</a>
    </div>
    </div>

    As you can see, the date’s are using the ja-createdate span class, whereas in the demo completely different classes are used. In fact, the date is broken up into three different classes (span class date/month/year), in its own div (modulteItemDateCreated).

    Here’s the code from the demo:

    <div class=”ja-sidenews-list clearfix”>
    <div class=”ja-slidenews-item”>

    <a class=”ja-title” href=”/index.php/our-blog/85-nulla-cursus-massa-eget-mauris”>Nulla cursus massa eget mauris</a>

    <img src=”/images/resized/images/stories/demo/storyk2/story4_25_25.jpg” align=”left” alt=”Nulla cursus massa eget mauris” title=”Nulla cursus massa eget mauris”>
    <div class=”moduleItemDateCreated”>
    <span class=”date”>16</span>
    <span class=”month”>Feb</span>
    <span class=”year”>2011</span>
    </div>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Se…
    <a class=”readon” href=”/index.php/our-blog/85-nulla-cursus-massa-eget-mauris”> More detail</a>

    </div>
    <div class=”ja-slidenews-item”>
    <a class=”ja-title” href=”/index.php/our-blog/84-quisque-suscript-turpis-a-enim-pretium”>Quisque suscript turpis a enim pretium</a>
    <img src=”/images/resized/images/stories/demo/storyk2/story1_25_25.jpg” align=”left” alt=”Quisque suscript turpis a enim pretium” title=”Quisque suscript turpis a enim pretium”>
    <div class=”moduleItemDateCreated”>
    <span class=”date”>16</span>
    <span class=”month”>Feb</span>
    <span class=”year”>2011</span>
    </div>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Se…
    <a class=”readon” href=”/index.php/our-blog/84-quisque-suscript-turpis-a-enim-pretium”> More detail</a>
    </div>
    <div class=”ja-slidenews-item”>
    <a class=”ja-title” href=”/index.php/our-blog/83-curabitur-sagittis-justo-id-felis-lobortis-allamcorper”>Curabitur sagittis justo id felis lobortis allamco…</a>
    <img src=”/images/resized/images/stories/demo/storyk2/story2_25_25.jpg” align=”left” alt=”Curabitur sagittis justo id felis lobortis allamcorper ” title=”Curabitur sagittis justo id felis lobortis allamcorper “>
    <div class=”moduleItemDateCreated”>
    <span class=”date”>16</span>
    <span class=”month”>Feb</span>
    <span class=”year”>2011</span>
    </div>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Se…
    <a class=”readon” href=”/index.php/our-blog/83-curabitur-sagittis-justo-id-felis-lobortis-allamcorper”> More detail</a>
    </div>
    </div>

    Meanwhile, what blows my mind is the fact that in the PHP file that outputs all this HTML I can only find coding that mentions the ja-createdate code. I can’t find anything that mentions moduleItemDateCreated.

    Here’s everything copied from the PHP file, default.php, found within modules/mod_jasidenews/tmpl

    It’s like the demo is using some other code from somewhere else to output its date text. Am I just looking in the wrong file?


    1. defaultphp.txt
    khoand Friend
    #408662

    You download new ja_business (release: 8/5/2011) and reinstall it. After that, you follow my way.

    Phill Moderator
    #408709

    emwebmaster,

    Would you like me to take a look for you? If so please pm me an admin logon and ftp account details.

    I have fully tested the file above so I know it works with the latest version as suggested by Khoand. The bug team are also investigating for a future release of this template. As I am sure you can appreciate, JA cannot package a complete new release for every tiny bug fix so small things like this may take a little while to appear in the release.

    emwebmaster Friend
    #408808

    Reinstalling it and making those css tweaks seems to have done it. Thanks.

    Phill Moderator
    #408810

    So glad we got there in the end with that one. Well done.

    emwebmaster Friend
    #408881

    For the record, for anyone in the future who encounters this issue….the date formatting is taken from the Article Blog format. It uses the Created date, not the Published or Modified dates. Any Category Blog layout that displays the Created Date will show the dates like that.

    Something, somewhere in the system takes that simple JText::_(‘DATE_FORMAT_LC4’)) format and converts it to the Article Blog’s fancy layout, from the ja-createdate class to the moduleItemDateCreated one.

Viewing 6 posts - 16 through 21 (of 21 total)

This topic contains 21 replies, has 4 voices, and was last updated by  emwebmaster 13 years, 2 months ago.

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