-
AuthorPosts
-
zorroh Friend
zorroh
- Join date:
- November 2006
- Posts:
- 422
- Downloads:
- 20
- Uploads:
- 43
- Thanks:
- 88
- Thanked:
- 80 times in 1 posts
December 18, 2010 at 12:15 am #157587Let’s collect here some first steps after installing Teline IV.
30nov 1999 fix for JA Bulletin – original post
<em>@scotty 207839 wrote:</em><blockquote>It seems JA_Bulletin checks the modified date then the created date and uses the created date. HOWEVER… if the article has never been modified then the modified date will be 0000-00-00 00:00:00. (ie. empty). This causes the Joomla/UNIX bug to kick in where it reads the date format wrong and inserts the default date of 30th November 1999.To use the created date, regardless of whether the article has been modified or not open /modules/mod_jabulletin/help.php and find (line varies depending on which version of JA Bulletin you are using but should be aroune line 140-150)…
[PHP]$lists [$i]->date = strtotime ( $row->modified ) ? $row->created : $row->modified;[/PHP]and change to…
[PHP]$lists [$i]->date = strtotime ( $row->created ) ? $row->created : $row->modified;[/PHP]Yes, I’m no PHP guru so I’m sure the new line above does not actually make sense to those in the know but what the heck… it works :p</blockquote>
Index for Google – original post
<em>@VisiGod 194022 wrote:</em><blockquote>Replace the current link on the logo (goes to index.php) to go to the root directly. Google doesn’t like duplicated content and this link over the logo creates two pages (with and without index.php) to be exactly the same.You can replace the index.php link with:
Go to templates/ja_teline_iv/blocks and download header.php – make the changes there. Then upload the changed file in templates/ja_teline_iv/core/themes/THE_COLOR_YOU_USE/blocks (it already should exist as you crated it in point 1).<?php echo JURI::base(); ?>
It is also a very minor change, but will improve the templates in general.</blockquote>Date translation – original post
Go to templates/ja_teline_iv/blocks/topbar.php – make the changes there. Then in order to not hack the template go to templates/ja_teline_iv/core/themes/THE_COLOR_YOU_USE/ create there a new folder named blocks and upload the file there.
<em>@VisiGod 207768 wrote:</em><blockquote>before:
<?php
echo "<span class="day">".date ('D')."</span>";
echo "<span class="month">".date ('m')."</span>";
echo "<span class="date">".date ('d')."</span>";
echo "<span class="year">".date ('Y')."</span>";
?>
After:
<?php
$app =& JFactory::getApplication();
$date = JFactory::getDate();
$date->setOffset($app->getCfg('offset'));
echo $date->toFormat('<span class="day">%a</span><span class="date">%d</span><span class="month">%m</span><span class="year">%Y</span></span>');
?>
</blockquote>Login – original post
<em>@tienhc 208958 wrote:</em><blockquote>Now, Let me resolve the issue1) Please create a new menu inside the magazine Group menu, Please try to see my snapshot to make your menu configuration in the same
Note: you need to create a login module and put it on a position, it is loaded inside the content of menu.
2) You try to get a icon in here: http://findicons.com/search/user-button, and named it is “user-login.png” and put it into the /templates/ja_teline_iv/images/icons/ folder.Recommend: You should choose a icon having the size: 16px*12px
3) Add the following code into the template.css file
#ja-mainnav li.nav-member {
float: right;
}#ja-mainnav li.nav-member a.nav-member {
background: url(../images/icons/user-login.png) no-repeat center #e04b40 !important;
text-indent: -1000em;
padding: 4px 0 3px;
width: 28px;
}#ja-mainnav li:hover a.nav-member,
#ja-mainnav li.over a.nav-member,
#ja-mainnav li.active a.nav-member {
background: url(../images/icons/user-login.png) no-repeat center #000 !important;
}
and let me review the result
=> done</blockquote>
9 users say Thank You to zorroh for this useful post
walkysss Friendwalkysss
- Join date:
- February 2010
- Posts:
- 115
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 47
- Thanked:
- 1 times in 1 posts
December 22, 2010 at 9:13 pm #368188I think this one should be 32X32 (Recommend: You should choose a icon having the size: 16px*12px)
When i choose Dropline Menu or Css Menu , My Login ,Twitter and RSS images disappear … Anyone knows how to fix taht ?
Css Magician FriendCss Magician
- Join date:
- October 2014
- Posts:
- 741
- Downloads:
- 43
- Uploads:
- 53
- Thanks:
- 114
- Thanked:
- 366 times in 263 posts
January 4, 2011 at 10:31 am #369987<em>@walkysss 210334 wrote:</em><blockquote>I think this one should be 32X32 (Recommend: You should choose a icon having the size: 16px*12px)
When i choose Dropline Menu or Css Menu , My Login ,Twitter and RSS images disappear … Anyone knows how to fix taht ?</blockquote>
The problem is fixed in latest version, could you like download and check again.
Twitter and RSS… is moved to topmega menu.walkysss Friendwalkysss
- Join date:
- February 2010
- Posts:
- 115
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 47
- Thanked:
- 1 times in 1 posts
January 6, 2011 at 7:02 am #370386thanks for the info …but if i got the new version 1.2.2 i think …. i was wondering if i need to redo all the changes that i made …i have change a lto of thing on the site (css ,colors etc… ) if not i will update if i have to redo the job …i dont think that i will ..
let me know ..thanks
walkysss Friendwalkysss
- Join date:
- February 2010
- Posts:
- 115
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 47
- Thanked:
- 1 times in 1 posts
January 10, 2011 at 6:17 pm #371159hi
got the new templates 1.2.3 : seems the login doesnt show up anymore ….can you help ?Css Magician FriendCss Magician
- Join date:
- October 2014
- Posts:
- 741
- Downloads:
- 43
- Uploads:
- 53
- Thanks:
- 114
- Thanked:
- 366 times in 263 posts
January 17, 2011 at 10:40 am #372227<em>@walkysss 213125 wrote:</em><blockquote>thanks for the info …but if i got the new version 1.2.2 i think …. i was wondering if i need to redo all the changes that i made …i have change a lto of thing on the site (css ,colors etc… ) if not i will update if i have to redo the job …i dont think that i will ..
let me know ..thanks</blockquote>
Dear walkysss,Backup your custom filles , update the template new version . After that use compare tool and compare your custom files with new version files
1 user says Thank You to Css Magician for this useful post
splico123 Friendsplico123
- Join date:
- January 2007
- Posts:
- 339
- Downloads:
- 80
- Uploads:
- 7
- Thanks:
- 24
- Thanked:
- 93 times in 16 posts
January 24, 2011 at 8:04 pm #373548is this updated for J!1.6
another thing we could add to this post is the way to make the Last update show article updated time, and in the server-time that is recorded by database and not GMT, or UTC…Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 26, 2011 at 2:41 am #373806<blockquote>
another thing we could add to this post is the way to make the Last update show article updated time, and in the server-time that is recorded by database and not GMT, or UTC…
</blockquote>=> joomla will automatic update the time for the modified field of article record After you edited it. you can use this field to mark the Last update Articles
happylittlepigs Friendhappylittlepigs
- Join date:
- February 2011
- Posts:
- 19
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 3 times in 1 posts
March 3, 2011 at 9:00 pm #379542Thank you for the very helpful article!
I just wanted to point out that in addition to changing the top logo for google you should also do so for the link in the footer (the black box).
Google will index it eventually as well giving you the same problem.
Cheers!
March 15, 2011 at 3:00 pm #381494<em>@tienhc 217605 wrote:</em><blockquote>=> joomla will automatic update the time for the modified field of article record After you edited it. you can use this field to mark the Last update Articles</blockquote>
Is there a way for the time to match the time zone of the server? I’ve set the TZ in the global configuration to our TZ and the “Last Update” is still showing GMT (vs. the TZ the server is in).
Thanks!
NealeNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 16, 2011 at 9:02 am #381618this link might help you:
http://www.joomlart.com/forums/topic/last-update-date-is-always-fixed-not-being-updated/ -
AuthorPosts
This topic contains 11 replies, has 8 voices, and was last updated by Ninja Lead 13 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum