TOPIC:

SportDigga : Logo - default URL Link (changed or disable) 2 years 6 months ago #220862

  • Topic Author
  • Gilles361
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 242
  • Thanks: 6
Hi,
SportDigga Template.
When I click "centered Logo", it redirects me to Default site Menu.
I've created a sub Template Style and affected to some pages "TCY - Template Style"
I would like to link this new TCY logo to a specific URL or to disable the URL Link (the stay on TCY page)

is it possible to modify or disable Logo URL link?
In TCY GANTRY Template style?

Thanks, Gil

Please Log in or Create an account to join the conversation.

Last edit: Post by Gilles361.

SportDigga : Logo - default URL Link (changed or disable) 2 years 6 months ago #220984

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Hello,


The code for logo link can be found in \templates\sportdigga\features\logo.php:
Go to line 58 and you will see :
<div class="rt-block logo-block">
            <a href="<?php echo $gantry->baseUrl; ?>" id="rt-logo"><?php if($type === 'custom'): ?><img id="rt-logo-img" alt="" src="<?php echo $gantry->baseUrl; ?>templates/<?php echo $gantry->getCurrentTemplate(); ?>/images/transparent.png" alt=""/><?php else: ?><img id="rt-logo-img" alt="" src="<?php echo $gantry->baseUrl; ?>templates/<?php echo $gantry->getCurrentTemplate(); ?>/images/logo/logo-large.png" alt=""/><?php endif;?></a>
        </div>

You just need to delete href tag from the code above. href="<?php echo $gantry->baseUrl; ?>"

Hope this helps.

Regards,
Mario

Please Log in or Create an account to join the conversation.

SportDigga : Logo - default URL Link (changed or disable) 2 years 6 months ago #221096

  • Topic Author
  • Gilles361
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 242
  • Thanks: 6
Great, to disable/delete URL!
Is it possible to add a different URL (specific page)?
(easy way)

Please Log in or Create an account to join the conversation.

SportDigga : Logo - default URL Link (changed or disable) 2 years 6 months ago #221100

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Hi,


If you have 2 folders for default and "child" template, you can edit child templates logo.php <?php echo $gantry->baseUrl; ?> and hardcode the URL that you want.

Regards,
Mario

Please Log in or Create an account to join the conversation.

SportDigga : Logo - default URL Link (changed or disable) 2 years 6 months ago #221103

  • Topic Author
  • Gilles361
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 242
  • Thanks: 6
in my case both use SportDigga Template
MAIN template
ORGANIZATION template style, so I use two Sportdigga template styles to change menu, logos, etc.

Ok, so no easy way (by URL menu), and don't want to HAVE Multiple copies of Template on this site.
Need to stay simple to manage by non expert..
Thks, Gil

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.039 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

Summer Sale!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!