Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Module Position of Follow Us on Homepage?

  • Fred Phan
  • Fred Phan's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #137455 by Fred Phan
Hi,

What is the Module Position of Follow Us on the Homepage demos (Restaurant + Hotel) provided on Nuevvo?
Sorry but I can't stick this module at the bottom of the site, right of the website Development Credits

imgur.com/tbVtL1L

Thanks

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 10 months ago #137456 by Krikor Boghossian
Replied by Krikor Boghossian on topic Module Position of Follow Us on Homepage?
Hello Fred,

The social links are generated from the template parameters. It is not a module. I can assist you in moving it in your template or provide you with the HTML code you need in order to add it as a custom HTML (or K2 Tools) module.

Let me know where you need the links to be and also let me know which services you want to use if you want a custom HTML module.

I personally prefer the dynamic way ( moving the block in your template )

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Fred Phan
  • Fred Phan's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #137457 by Fred Phan
Replied by Fred Phan on topic Module Position of Follow Us on Homepage?
Yes I'd go with your way too. Can you post then the code or instructions to move the social media block at the bottom of any page, like what you have on your demo homepage. I like the way it is. I was trying to find in the Nokkori Template or in K2 where it would be. But it's a custom prg.
Thanks Krikor.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 10 months ago #137458 by Krikor Boghossian
Replied by Krikor Boghossian on topic Module Position of Follow Us on Homepage?
Sure,

Since index.php is not included you do not need to worry about changing it.

Locate this block of code around line: 174
		  <?php if ($isFrontpage): ?>
		  <?php if(count($social)): ?>  
          <div class="column small-12 medium-6 large-6 floatRight socialMenu">
            <h3 class="sans"><?php echo JText::_('TPL_NU_BE_SL_FOLLOW_US'); ?></h3>        
            <ul>
              <?php foreach($social as $provider): ?>
              <li>
                <a class="social linkIs-<?php echo $provider->class; ?>" target="_blank" href="<?php echo $provider->url; ?>">
                  <span><?php echo $provider->name; ?></span>
                </a>
              </li>
              <?php endforeach; ?>
            </ul> 
          </div>
          <?php endif; ?> 
		  <div id="copyrights" class="column small-12 medium-6 large-6"><?php echo NU_COPYRIGHTS; ?>. <?php echo JText::_('TPL_NU_FE_ALL_RIGHTS_RESERVED'); ?>. <?php echo NU_CREDITS; ?></div>				  
		  			  
		  <?php else: ?>  			<div id="copyrights" class="column small-12 medium-6 large-6"><?php echo NU_COPYRIGHTS; ?>. <?php echo JText::_('TPL_NU_FE_ALL_RIGHTS_RESERVED'); ?>.</div>
			<div id="credits" class="column small-12 medium-6 large-6 text-right"><?php echo NU_CREDITS; ?></div>
			<?php endif; ?>

remove lines 174, 191 - 194

The result should be:
<?php if(count($social)): ?>  
          <div class="column small-12 medium-6 large-6 floatRight socialMenu">
            <h3 class="sans"><?php echo JText::_('TPL_NU_BE_SL_FOLLOW_US'); ?></h3>        
            <ul>
              <?php foreach($social as $provider): ?>
              <li>
                <a class="social linkIs-<?php echo $provider->class; ?>" target="_blank" href="<?php echo $provider->url; ?>">
                  <span><?php echo $provider->name; ?></span>
                </a>
              </li>
              <?php endforeach; ?>
            </ul> 
          </div>
          <?php endif; ?> 
		  <div id="copyrights" class="column small-12 medium-6 large-6"><?php echo NU_COPYRIGHTS; ?>. <?php echo JText::_('TPL_NU_FE_ALL_RIGHTS_RESERVED'); ?>. <?php echo NU_CREDITS; ?></div>

The social block is now the same and visible in all pages.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Fred Phan
  • Fred Phan's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago - 10 years 10 months ago #137459 by Fred Phan
Replied by Fred Phan on topic Module Position of Follow Us on Homepage?
Thanks Krikor for pointing that out.

In addition, I actually didn't know that the social media links located at the homepage were to be filled out at the following section Administration > Extensiosn > Template Manager > Nokkori-Default > Template Parameters > Social links.
If the social media field is empty, it won't show up on screen.

Thanks - case solved.

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


Powered by Kunena Forum