-
AuthorPosts
-
December 15, 2012 at 6:40 pm #183136
Hello there,
I would like to know the better way to do the following changes in JA SOCIAL template:
First: we want to completely remove the last update details and just leave the date (see image date1).
Second: We need to change the date format that now although the day name is translating to Spanish correctly, the formatting still for
English (see image date2)Now it is showing: Sábado, 12 15th (Day, month day number)
Date its ok, but we need to change to the Spanish formatting that would be:
Sábado 15 Dic 2012 (Day name/day number/month/year)
Or better yet to:
Sábado 15 de Diciembre de 2012
(Translation to English would be: Saturday 15 of December of 2012).
Any idea?
Thanks in advance.
-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 18, 2012 at 9:53 am #476637We can not option disable LAST UPDATE on system but you can disable on this way:
<blockquote>Open templates/ja_social/blocks/topbar.php file</blockquote>
find and remove this script
<?php echo JText::_('Last update')?></span><em><?php echo T3Common::getLastUpdate(); ?>
About change format date to Sábado 15 Diciembre 2012
<blockquote>Open templates/ja_social/blocks/topbar.php file</blockquote>
from
<?php
echo "<span class="day">".JText::_(strtoupper(date ('l')))."</span>";
echo "<span class="date">, ".date ('m')." ".date ('d').date ('S')."</span>";
?>
change to
<?php
echo "<span class="day">".JText::_(strtoupper(date ('l')))."</span>";
echo "<span class="date">, ".date ('d')." ".date ('F')." " .date ('Y')."</span>";
?>1 user says Thank You to Ninja Lead for this useful post
December 18, 2012 at 5:51 pm #476686Hello NInja,
It worked very fine, thanks a lot!
Can you tell me where is the file in order to translate the month name “December” to: “Diciembre” and how to remove the ” | ” that remain on top panel? (Please see attached image.)
Thanks again for your help!
December 18, 2012 at 10:25 pm #476711Hello there,
I already found the solution to my last doubts.
Tnahks for your attention.
¡Topic closed!
September 29, 2013 at 9:59 pm #507427can you tell me your solution pls?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 30, 2013 at 4:27 am #507458Hi erdincos,
Do you mean this?
<blockquote>how to remove the ” | ” that remain on top panel?</blockquote>
It’s a background gif image, you can open file: /templates/ja_social/css/template.css, at approx line 706, you will see this css rule:
#ja-topbar .ja-day {
background: url("../images/sep-w.gif") no-repeat scroll right center rgba(0, 0, 0, 0); << remove this property
display: block;
float: left;
margin-left: 15px;
padding-right: 10px;
}
Then clean JAT3 cache in backend.
bigmagic2014 Friendbigmagic2014
- Join date:
- December 2013
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
May 22, 2014 at 5:47 pm #536275I would like to swap out the icons associated with the titles in the Top Panel.
Can someone tell me where these icons are or how to replace them?
Thanks
alexsmirnov Friendalexsmirnov
- Join date:
- July 2012
- Posts:
- 786
- Downloads:
- 1
- Uploads:
- 226
- Thanks:
- 226
- Thanked:
- 163 times in 119 posts
May 22, 2014 at 5:52 pm #536277Could you please provide us with a screenshot of the icons and titles you are talking about?
Regards,
Alex
bigmagic2014 Friendbigmagic2014
- Join date:
- December 2013
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
May 22, 2014 at 7:05 pm #536287alexsmirnov Friendalexsmirnov
- Join date:
- July 2012
- Posts:
- 786
- Downloads:
- 1
- Uploads:
- 226
- Thanks:
- 226
- Thanked:
- 163 times in 119 posts
May 22, 2014 at 8:23 pm #536302Please go to /templates/ja_social_t3/images/icons and your images from left to right are: discussion.png, blog.png, opinion.png and communication.png.
Hope this helps
Regards
Alex
bigmagic2014 Friendbigmagic2014
- Join date:
- December 2013
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
May 22, 2014 at 9:03 pm #536307Way to go Alex!!
BTW: know if there is a suggested dimension for replacement png’s, or do we just eyeball it up?
Thnx
Big Magicalexsmirnov Friendalexsmirnov
- Join date:
- July 2012
- Posts:
- 786
- Downloads:
- 1
- Uploads:
- 226
- Thanks:
- 226
- Thanked:
- 163 times in 119 posts
May 22, 2014 at 9:43 pm #536317One of the four images is 22×22 and the rest are 25×25 so imho you should be able to play it along those dimensions but we have two JoomlArt core developers in this thread for you.
Let’s wait what Ninja Lead and Saguaros say.
Regards,
Alex
1 user says Thank You to alexsmirnov for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 23, 2014 at 4:42 am #536342These dimensions we use for our demo site, you can replace with value that you’re comfortable with 🙂
bigmagic2014 Friendbigmagic2014
- Join date:
- December 2013
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
May 23, 2014 at 10:59 am #536394Thanks bunch guys, those new dimensions really helped out.
1 user says Thank You to bigmagic2014 for this useful post
AuthorPostsViewing 14 posts - 1 through 14 (of 14 total)This topic contains 14 replies, has 6 voices, and was last updated by bigmagic2014 10 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-