-
AuthorPosts
-
emwebmaster Friend
emwebmaster
- Join date:
- March 2011
- Posts:
- 32
- Downloads:
- 31
- Uploads:
- 8
- Thanks:
- 6
- Thanked:
- 7 times in 2 posts
August 26, 2011 at 4:31 am #408637I 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?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 26, 2011 at 6:37 am #408662You download new ja_business (release: 8/5/2011) and reinstall it. After that, you follow my way.
1 user says Thank You to khoand for this useful post
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 26, 2011 at 1:13 pm #408709emwebmaster,
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.
1 user says Thank You to Phill for this useful post
emwebmaster Friendemwebmaster
- Join date:
- March 2011
- Posts:
- 32
- Downloads:
- 31
- Uploads:
- 8
- Thanks:
- 6
- Thanked:
- 7 times in 2 posts
August 26, 2011 at 8:43 pm #408808Reinstalling it and making those css tweaks seems to have done it. Thanks.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 26, 2011 at 8:48 pm #408810So glad we got there in the end with that one. Well done.
emwebmaster Friendemwebmaster
- Join date:
- March 2011
- Posts:
- 32
- Downloads:
- 31
- Uploads:
- 8
- Thanks:
- 6
- Thanked:
- 7 times in 2 posts
August 27, 2011 at 4:31 am #408881For 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.
-
AuthorPosts
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