I need 12 custom buttons

babygal
Topic Author
Posts: 8
6 years 5 months ago #1931 by babygal
Replied by babygal on topic I need 12 custom buttons

Lodder wrote: Yes, you can move the code outside the foreach loop.

Sorry for troubling you.. I dont know how to do that.. can you send the coding please

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

Lodder
Lodder's Avatar
Posts: 1180
6 years 5 months ago - 6 years 5 months ago #1933 by Lodder
Replied by Lodder on topic I need 12 custom buttons
The code below should work for you now. Please note that if you run into any issues we will be unable to support this as it has been hacked into completely.

Please be sure to make a Template Override as mentioned in my previous post.
<?php
/**
* @package    JJ_Social_Slider
* @author     JoomJunk <admin@joomjunk.co.uk>
* @copyright  Copyright (C) 2011 - 2013 JoomJunk. All Rights Reserved
* @license    GPL v3 http://www.gnu.org/licenses/gpl-3.0.html
*/
 
// No direct access
defined('_JEXEC')  or die('Restricted access');
 
$document = JFactory::getDocument();
$document->addStyleSheet(JURI::root() . "media/mod_social_slider/css/style.css");
?>

<ul id="jj_sl_navigation">
	<li class="youtube"><a href="http://apps.atoa.com/test/index.php?Itemid=125" target="_self"><span class="jj_social_text">Acoustic</span></a></li>
		 
	<li class="youtube"><a href="http://apps.atoa.com/test/index.php?Itemid=140" target="_self"><span class="jj_social_text">Aerospace</span></a></li>

	<li class="youtube"><a href="http://apps.atoa.com/test/index.php?Itemid=132" target="_self"><span class="jj_social_text">Bio-Medical</span></a></li>

	<li class="youtube"><a href="http://apps.atoa.com/test/index.php?Itemid=129" target="_self"><span class="jj_social_text">Chemical</span></a></li>

	<li class="youtube"><a href="http://apps.atoa.com/test/index.php?Itemid=142" target="_self"><span class="jj_social_text">Computer</span></a></li>

	<li class="youtube"><a href="http://apps.atoa.com/test/index.php?Itemid=127" target="_self"><span class="jj_social_text">Electrical</span></a></li>

	<li class="youtube"><a href="http://apps.atoa.com/test/index.php?Itemid=123" target="_self"><span class="jj_social_text">Flow</span></a></li>

	<li class="youtube"><a href="http://apps.atoa.com/test/index.php?Itemid=143" target="_self"><span class="jj_social_text">Industrial</span></a></li>

	<li class="youtube"><a href="http://apps.atoa.com/test/index.php?Itemid=124" target="_self"><span class="jj_social_text">Mechanical</span></a></li>

	<li class="youtube"><a href="http://apps.atoa.com/test/index.php?Itemid=126" target="_self"><span class="jj_social_text">Optical</span></a></li>

	<li class="youtube"><a href="http://apps.atoa.com/test/index.php/structural" target="_self"><span class="jj_social_text">Structural</span></a></li>

	<li class="youtube"><a href="http://apps.atoa.com/test/index.php?Itemid=122" target="_self"><span class="jj_social_text">Thermal</span></a></li>
</ul>
Last edit: 6 years 5 months ago by Lodder.

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

babygal
Topic Author
Posts: 8
6 years 5 months ago #1934 by babygal
Replied by babygal on topic I need 12 custom buttons
:) It worked well.. Thank you for your kindness :kiss:

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

Powered by Kunena Forum