test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • zorroh Friend
    #157587

    Let’s collect here some first steps after installing Teline IV.

    30nov 1999 fix for JA Bulletinoriginal 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 Googleoriginal 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 translationoriginal 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>

    Loginoriginal post
    <em>@tienhc 208958 wrote:</em><blockquote>Now, Let me resolve the issue

    1) 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>

    walkysss Friend
    #368188

    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 ?

    Css Magician Friend
    #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 Friend
    #370386

    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

    walkysss Friend
    #371159

    hi
    got the new templates 1.2.3 : seems the login doesnt show up anymore ….can you help ?

    Css Magician Friend
    #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

    splico123 Friend
    #373548

    is 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 Moderator
    #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 Friend
    #379542

    Thank 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!

    NealeShour Friend
    #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!
    Neale

    Ninja Lead Moderator
Viewing 11 posts - 1 through 11 (of 11 total)

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