test
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • Anonymous Moderator
    #142414

    Hi everybody,

    I am very happy to announce that we upgraded JA Templates to Joomla 1.5.12.
    If you don’t have a latest version, please try the following steps:

    + Open default_item.php file in templates/ja_template/html/com_content/frontpage folder, at about line 79, find following code section:


    <?php if ($this->item->params->get('link_category')) : ?>
    <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">'; ?>
    <?php endif; ?>
    <?php echo $this->escape($this->item->category); ?>
    <?php if ($this->item->params->get('link_section')) : ?>
    <?php echo '</a>'; ?>
    <?php endif; ?>

    and change to:


    <?php if ($this->item->params->get('link_category')) : ?>
    <?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">'; ?>
    <?php endif; ?>
    <?php echo $this->escape($this->item->category); ?>
    <?php if ($this->item->params->get('link_category')) : ?>
    <?php echo '</a>'; ?>
    <?php endif; ?>

    Note: If you are using the Ja Purity template, please open default.php file in templates/ja_template/html/com_content/article folder, at about line 126, find following code section:


    <?php if ( intval($this->article->modified) !=0 && $this->params->get('show_modify_date')) : ?>
    <span class="modifydate">
    <?php JText::sprintf('LAST_UPDATED2', $this->escape(JHTML::_('date', $this->article->modified, JText::_('DATE_FORMAT_LC2')))); ?>
    </span>
    <?php endif; ?>

    and change to:

    <?php if ( intval($this->article->modified) !=0 && $this->params->get('show_modify_date')) : ?>
    <span class="modifydate">
    <?php echo JText::sprintf('LAST_UPDATED2', $this->escape(JHTML::_('date', $this->article->modified, JText::_('DATE_FORMAT_LC2')))); ?>
    </span>
    <?php endif; ?>

    toddman Friend
    #309830

    JA Developer;135076Hi everybody,
    Note: If you are using the Ja Purity template, please open default.php file in templates/ja_template/html/com_content/article folder, at about line 126, find following code section:

    Wasn’t this already fixed by the Joomla 1.5.12 upgrade package? There logs show an update to JA Purity, seeing how it is one of Joomla’s default templates.

    Thanks for the manual update!

    toddman Friend
    #309833

    JA Opal download page still says versison 1.0, date 3-12-2009, for Joomla 1.5.11

    Also, the line of code that needs changed is not there, so does JA Opal need to be updated?

    mayke Friend
    #309936

    Maybe if JA templates version says the same version then we don’t have to download the templates…
    we can download Joomla! from they hompage, am I right JA?

    monerda Friend
    #310027

    If we upgrade to Joomla 1.5.12 MUST we also update the templates?

    thanks.
    P

    cgc0202 Friend
    #311096

    <em>@monerda 135431 wrote:</em><blockquote>If we upgrade to Joomla 1.5.12 MUST we also update the templates?

    thanks.
    P</blockquote>

    Hi monerda,

    It depends, if you are just starting, and have not really placed much in your site yet or did custom modifications to the scripts, then the simple steps to upgrade the template would be to uninstall the old and reinstall the new version of the template.

    However, if you have done extensive revisions to your site, both contents and scripts, the the simple “uninstall the old- reinstall the new” template would be unwise. You willl lose all the custom modifications you did, and you may even risk destroying your site.

    Thus, back up your database and files, including script files that you changed before any upgrade.

    The best alternative for a highly advanced site would be to follow as JA Developer indicated here — just change the respective files that were affected or needed to be upgraded — to ensure compatibility between Joomla and the template(from Joomlart).

    As a safety precaution, the other step I take is to try any modification in a Sandbox.An “almost” repiica of the existing features of your current site. I inserted “almost” because it does not have to be exactly as your working site. For example, you do not have to include the actual articles, the actual sections and categories, etc.

    This “almost” repiica Sandbox however must have these features:

    If possible, use the original Joomla 1.5.x – Teline II QuickStart kit to install your Sandbox. Before you try anything on your site, do it first in this Sandbox. These changes, as noted above include the extensions (i.e., modules, components, plugs and other extensions) you added
    )
    If the new modification (including upgrade) works in the Sandbox, it is likely to work in your site. As noted by many before, As an added precaution, it is good practice to backup your files, added images and scripts, also save the configuration.php file.

    Cornelio

    nefar Friend
    #311101

    I just started to update all my sites from 1.5.9 so far I’ve noticed no problems. What will happen if I don’t edit these lines of code?

    cgc0202 Friend
    #311103

    <em>@nefar 136807 wrote:</em><blockquote>I just started to update all my sites from 1.5.9 so far I’ve noticed no problems. What will happen if I don’t edit these lines of code?</blockquote>

    Hi nefar,

    You did not indicate up to what version of Joomla you upgraded to.

    The thumb rule is to make sure that you upgrade all Security Updates. Usually this will not have an effect on the Template component. If you do not accept security updates, nothing may happen — unless somebody malicious used your site by taking advantage in the security loophole in a script in Joomla.

    The latest update, included minor security and files updates. As noted in this thread, you will encounter some problems, in the template component, particularly the news module, if you updated to Joomla 1.5.12. If you do indeed update, make sure to take the precautions I suggested in the previous response.

    If you do not want to risk it, then you may choose to ignore the upgrade. It depends how you few the minor security updates they did.

    Cornelio

    nefar Friend
    #311104

    I’ve upgraded so farm from 1.5.9 => 1.5.12 I don’t use the ja news module anymore though might be why I did not notice anything wrong.

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 6 voices, and was last updated by  nefar 15 years, 5 months ago.

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