Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • mkfloresca Friend
    #206110

    I am also trying to customize the spotlight-3 feature on my site so that it would have a general module title and then separate titles for each module position like the attached image.

    I was able to do this by going directly to the spotlight-3.php file and including the titles and I really don’t want to do it this way if it can be avoided as this might cause problems in the future.

    Any help would be appreciated.

    Images are also attached for your reference.

    Thanks,
    Karla


    1. gallery1
    2. gallery2
    Ninja Lead Moderator
    #569618

    Hi Karla,

    In the future, if you want to update template, kindly make a comparison between the current version and the updated package via JA Extension Manager component (free extension) first.

    The best way is that you backup that spotlight-3.php file before updating new version and you can restore it back afterwards.

    Ninja Lead Moderator
    #734707

    Hi Karla,

    In the future, if you want to update template, kindly make a comparison between the current version and the updated package via JA Extension Manager component (free extension) first.

    The best way is that you backup that spotlight-3.php file before updating new version and you can restore it back afterwards.

    mkfloresca Friend
    #569733

    Hi Ninja Lead,

    Yes, I have the original spotlight-3 in my files. If there is a new version I will take a look at that
    What I was asking for is help in having the spotlight-3 on my page look like the attached image on my first post.
    Any help is appreciated.

    Thanks,
    Karla

    Ninja Lead Moderator
    #569849

    Because this is customization I need to check it directly on your site. Maybe I can suggest the solution for you. But your site is under offline mode and I could not access your site with the credentials your provided in the thread. Please PM me log in details or put your site online.

    Ninja Lead Moderator
    #734931

    Because this is customization I need to check it directly on your site. Maybe I can suggest the solution for you. But your site is under offline mode and I could not access your site with the credentials your provided in the thread. Please PM me log in details or put your site online.

    Ninja Lead Moderator
    #570315

    <em>@mkfloresca 472263 wrote:</em><blockquote>Hi Ninja Lead,

    Yes, I have the original spotlight-3 in my files. If there is a new version I will take a look at that
    What I was asking for is help in having the spotlight-3 on my page look like the attached image on my first post.
    Any help is appreciated.

    Thanks,
    Karla</blockquote>

    Did you solve at your end? I checked directly on your site and saw your site uses Gallery 1, Gallery 2, Gallery 3 and Gallery 4 modules(Random Image module) and appear it with spotlight-3 file.

    mkfloresca Friend
    #570649

    <em>@Ninja Lead 473019 wrote:</em><blockquote>Did you solve at your end? I checked directly on your site and saw your site uses Gallery 1, Gallery 2, Gallery 3 and Gallery 4 modules(Random Image module) and appear it with spotlight-3 file.</blockquote>

    Hi NInja Lead,
    No, I have not. The one you are seeing is the one I mentioned from my first post – I went in and hard-coded those titles in there. However, this is not what I want to do. I want to leave the spotlight-3 in its original form. if you look into my spotlight-3.php, you’ll see all the things I did. Plus the titles don’t adjust properly when I make the thumbnails smaller.

    Any ideas on this?

    Thanks,
    Karla

    mkfloresca Friend
    #735712

    <em>@Ninja Lead 473019 wrote:</em><blockquote>Did you solve at your end? I checked directly on your site and saw your site uses Gallery 1, Gallery 2, Gallery 3 and Gallery 4 modules(Random Image module) and appear it with spotlight-3 file.</blockquote>

    Hi NInja Lead,
    No, I have not. The one you are seeing is the one I mentioned from my first post – I went in and hard-coded those titles in there. However, this is not what I want to do. I want to leave the spotlight-3 in its original form. if you look into my spotlight-3.php, you’ll see all the things I did. Plus the titles don’t adjust properly when I make the thumbnails smaller.

    Any ideas on this?

    Thanks,
    Karla

    Ninja Lead Moderator
    #570861

    I checked directly from templates/ja_university_t3/tpls/blocks/spotlight-3.php file and saw your custom directly on that file. I tried to find the solution with your request but I think it’s very hard to do but I have other solution about this hope it can help you out

    + Change templates/ja_university_t3/tpls/blocks/spotlight-3.php file back as the demo


    <?php
    /**
    * @package T3 Blank
    * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
    * @license GNU General Public License version 2 or later; see LICENSE.txt
    */

    defined('_JEXEC') or die;
    ?>

    <?php if ($this->checkSpotlight('spotlight-3', 'position-8, position-9, position-10, position-11')) : ?>
    <!-- SPOTLIGHT 3 -->
    <div class="t3-sl t3-bot-sl t3-sl-3">
    <div class="container">
    <?php $this->spotlight('spotlight-3', 'position-8, position-9, position-10, position-11') ?>
    </div>
    </div>
    <!-- //SPOTLIGHT 3 -->
    <?php endif ?>

    + Go to Module manager and create new custom html module with new rule below


    <div class="t3-module moduletarget = "parent" ">
    <div class="module-inner">
    <div class="module-ct">
    <div class="random-imagetarget = "parent"">
    <a href="https://www.flickr.com/photos/gesm/sets/" target="_blank">
    <img src="/images/gallery1/gallerythumb1.jpg" alt="GESM Gallery" width="260" height="123">
    </a>
    </div>
    </div>
    </div>
    </div>
    <center>
    <h3 class="module-title "><span>Gallery 1</span></h3>
    </center>

    + Assign it into position-8 postion

    + Apply the same that with position-9, position-10, position-10 positions.

    Ninja Lead Moderator
    #735923

    I checked directly from templates/ja_university_t3/tpls/blocks/spotlight-3.php file and saw your custom directly on that file. I tried to find the solution with your request but I think it’s very hard to do but I have other solution about this hope it can help you out

    + Change templates/ja_university_t3/tpls/blocks/spotlight-3.php file back as the demo


    <?php
    /**
    * @package T3 Blank
    * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
    * @license GNU General Public License version 2 or later; see LICENSE.txt
    */

    defined('_JEXEC') or die;
    ?>

    <?php if ($this->checkSpotlight('spotlight-3', 'position-8, position-9, position-10, position-11')) : ?>
    <!-- SPOTLIGHT 3 -->
    <div class="t3-sl t3-bot-sl t3-sl-3">
    <div class="container">
    <?php $this->spotlight('spotlight-3', 'position-8, position-9, position-10, position-11') ?>
    </div>
    </div>
    <!-- //SPOTLIGHT 3 -->
    <?php endif ?>

    + Go to Module manager and create new custom html module with new rule below


    <div class="t3-module moduletarget = "parent" ">
    <div class="module-inner">
    <div class="module-ct">
    <div class="random-imagetarget = "parent"">
    <a href="https://www.flickr.com/photos/gesm/sets/" target="_blank">
    <img src="/images/gallery1/gallerythumb1.jpg" alt="GESM Gallery" width="260" height="123">
    </a>
    </div>
    </div>
    </div>
    </div>
    <center>
    <h3 class="module-title "><span>Gallery 1</span></h3>
    </center>

    + Assign it into position-8 postion

    + Apply the same that with position-9, position-10, position-10 positions.

    mkfloresca Friend
    #574893

    <em>@Ninja Lead 473773 wrote:</em><blockquote>I checked directly from templates/ja_university_t3/tpls/blocks/spotlight-3.php file and saw your custom directly on that file. I tried to find the solution with your request but I think it’s very hard to do but I have other solution about this hope it can help you out

    + Change templates/ja_university_t3/tpls/blocks/spotlight-3.php file back as the demo


    <?php
    /**
    * @package T3 Blank
    * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
    * @license GNU General Public License version 2 or later; see LICENSE.txt
    */

    defined('_JEXEC') or die;
    ?>

    <?php if ($this->checkSpotlight('spotlight-3', 'position-8, position-9, position-10, position-11')) : ?>
    <!-- SPOTLIGHT 3 -->
    <div class="t3-sl t3-bot-sl t3-sl-3">
    <div class="container">
    <?php $this->spotlight('spotlight-3', 'position-8, position-9, position-10, position-11') ?>
    </div>
    </div>
    <!-- //SPOTLIGHT 3 -->
    <?php endif ?>

    + Go to Module manager and create new custom html module with new rule below


    <div class="t3-module moduletarget = "parent" ">
    <div class="module-inner">
    <div class="module-ct">
    <div class="random-imagetarget = "parent"">
    <a href="https://www.flickr.com/photos/gesm/sets/" target="_blank">
    <img src="/images/gallery1/gallerythumb1.jpg" alt="GESM Gallery" width="260" height="123">
    </a>
    </div>
    </div>
    </div>
    </div>
    <center>
    <h3 class="module-title "><span>Gallery 1</span></h3>
    </center>

    + Assign it into position-8 postion

    + Apply the same that with position-9, position-10, position-10 positions.</blockquote>

    Hi Ninja Lead,

    This solution will work. I should have thought about this instead of making it more difficult for myself recreating the spotlight-3!
    Thank you so much for your help!

    Karla

    mkfloresca Friend
    #641237

    <em>@Ninja Lead 473773 wrote:</em><blockquote>I checked directly from templates/ja_university_t3/tpls/blocks/spotlight-3.php file and saw your custom directly on that file. I tried to find the solution with your request but I think it’s very hard to do but I have other solution about this hope it can help you out

    + Change templates/ja_university_t3/tpls/blocks/spotlight-3.php file back as the demo


    <?php
    /**
    * @package T3 Blank
    * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
    * @license GNU General Public License version 2 or later; see LICENSE.txt
    */

    defined('_JEXEC') or die;
    ?>

    <?php if ($this->checkSpotlight('spotlight-3', 'position-8, position-9, position-10, position-11')) : ?>
    <!-- SPOTLIGHT 3 -->
    <div class="t3-sl t3-bot-sl t3-sl-3">
    <div class="container">
    <?php $this->spotlight('spotlight-3', 'position-8, position-9, position-10, position-11') ?>
    </div>
    </div>
    <!-- //SPOTLIGHT 3 -->
    <?php endif ?>

    + Go to Module manager and create new custom html module with new rule below


    <div class="t3-module moduletarget = "parent" ">
    <div class="module-inner">
    <div class="module-ct">
    <div class="random-imagetarget = "parent"">
    <a href="https://www.flickr.com/photos/gesm/sets/" target="_blank">
    <img src="/images/gallery1/gallerythumb1.jpg" alt="GESM Gallery" width="260" height="123">
    </a>
    </div>
    </div>
    </div>
    </div>
    <center>
    <h3 class="module-title "><span>Gallery 1</span></h3>
    </center>

    + Assign it into position-8 postion

    + Apply the same that with position-9, position-10, position-10 positions.</blockquote>

    Hi Ninja Lead,

    This solution will work. I should have thought about this instead of making it more difficult for myself recreating the spotlight-3!
    Thank you so much for your help!

    Karla

    mkfloresca Friend
    #739900

    <em>@Ninja Lead 473773 wrote:</em><blockquote>I checked directly from templates/ja_university_t3/tpls/blocks/spotlight-3.php file and saw your custom directly on that file. I tried to find the solution with your request but I think it’s very hard to do but I have other solution about this hope it can help you out

    + Change templates/ja_university_t3/tpls/blocks/spotlight-3.php file back as the demo


    <?php
    /**
    * @package T3 Blank
    * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
    * @license GNU General Public License version 2 or later; see LICENSE.txt
    */

    defined('_JEXEC') or die;
    ?>

    <?php if ($this->checkSpotlight('spotlight-3', 'position-8, position-9, position-10, position-11')) : ?>
    <!-- SPOTLIGHT 3 -->
    <div class="t3-sl t3-bot-sl t3-sl-3">
    <div class="container">
    <?php $this->spotlight('spotlight-3', 'position-8, position-9, position-10, position-11') ?>
    </div>
    </div>
    <!-- //SPOTLIGHT 3 -->
    <?php endif ?>

    + Go to Module manager and create new custom html module with new rule below


    <div class="t3-module moduletarget = "parent" ">
    <div class="module-inner">
    <div class="module-ct">
    <div class="random-imagetarget = "parent"">
    <a href="https://www.flickr.com/photos/gesm/sets/" target="_blank">
    <img src="/images/gallery1/gallerythumb1.jpg" alt="GESM Gallery" width="260" height="123">
    </a>
    </div>
    </div>
    </div>
    </div>
    <center>
    <h3 class="module-title "><span>Gallery 1</span></h3>
    </center>

    + Assign it into position-8 postion

    + Apply the same that with position-9, position-10, position-10 positions.</blockquote>

    Hi Ninja Lead,

    This solution will work. I should have thought about this instead of making it more difficult for myself recreating the spotlight-3!
    Thank you so much for your help!

    Karla

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

This topic contains 14 replies, has 2 voices, and was last updated by  mkfloresca 8 years, 10 months ago.

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