test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • thatcomputerdude Friend
    #155662

    Maybe we’ve customized the wrong file that has made upgrading the plugin a little more difficult.

    This website was created using the Blank template (at the time with version 1.1.6 plugin) http://www.perfectiongroup.com

    One change we made was to this file: /plugins/system/jat3/base-themes/default/page/default.php

    We wanted to change the layout a little to add the background and keep the template from spanning the full page. At the top of the default.php page we added a line of code:

    <body id="bd" class="<?php echo $this->getBodyClass();?>">
    <div id="ja-wrapper">
    <div id="wt-bg">

    The last line for wt-bg was added.

    At the end of the file we added this:

    <div id="ja-copyright">
    <jdoc:include type="modules" name="footer" />
    </div>
    </div>

    The closing div tag for the wt-bg div tag and we wanted to move where the copyright was showing up.

    Obviously we did this in a file that will always be updated with the news plugin version…. so where would be a better place to do this if we want to customize the actual layout for the blank template?

    Thanks in advance for your thoughts and feedback.

    bertmc Friend
    #360372

    in your blank template folder, make a new folder named page/ and copy the modified default.php there. That will override the plugin. This way you can tweak away and update the plugin and never override your default layout.

    This applies to pretty much all of your template assets

    thatcomputerdude Friend
    #360373

    That’s what I was thinking but my question for that is, if there’s an update in the plugin that addresses that file, won’t it defeat the purpose of upgrading?

    Or is that file never really updated that really matters?

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

This topic contains 3 replies, has 2 voices, and was last updated by  thatcomputerdude 14 years, 1 month ago.

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