Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Change button order
(1 viewing) (1) Guest
component
Go to bottomPage: 1
TOPIC: Change button order
#55524
Change button order 8 Years, 8 Months ago Karma: 0
Hello

I want the buttons to be on position: right and that the buttons should be displayed in this order 1,2,3,4,5 (see image below) so you can understand.

I know i should edit?:
<joomla_directory>/components/com_ariquiz/view/question/tmpl/default.php

But what code changes should i make? i am not very good in CSS.



I belive i should edit this code?

Best Regards,
Last Edit: 2015/08/11 16:48 By admin.
The administrator has disabled public write access.
 
#55525
Re:Change button order 8 Years, 8 Months ago Karma: 747
Hello,

The following code:

Code:


<?php
if ($quizStorage->get('CanBack')):
?>
<a href="#" class="btn disable-onsubmit" onclick="if (YAHOO.util.Dom.hasClass(this, 'disabled')) return false; ariQuizQueManager.prevPage(); return false;"><i class="icon-arrow-left"></i> <?php echo JText::_('COM_ARIQUIZ_LABEL_BACK'); ?></a>
<?php
endif;
?>
<?php
if ($quizStorage->get('CanSkip')):
?>
<a href="#" class="btn disable-onsubmit" onclick="if (YAHOO.util.Dom.hasClass(this, 'disabled')) return false; ariQuizQueManager.nextPage(); return false;"><?php echo JText::_('COM_ARIQUIZ_LABEL_NEXT'); ?> <i class="icon-arrow-right"></i></a>
<?php
endif;
?>



with the following one:

Code:


<?php
if ($quizStorage->get('CanSkip')):
?>
<a href="#" class="btn disable-onsubmit" onclick="if (YAHOO.util.Dom.hasClass(this, 'disabled')) return false; ariQuizQueManager.nextPage(); return false;"><?php echo JText::_('COM_ARIQUIZ_LABEL_NEXT'); ?> <i class="icon-arrow-right"></i></a>
<?php
endif;
?>
<?php
if ($quizStorage->get('CanBack')):
?>
<a href="#" class="btn disable-onsubmit" onclick="if (YAHOO.util.Dom.hasClass(this, 'disabled')) return false; ariQuizQueManager.prevPage(); return false;"><i class="icon-arrow-left"></i> <?php echo JText::_('COM_ARIQUIZ_LABEL_BACK'); ?></a>
<?php
endif;
?>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#55529
Re:Change button order 8 Years, 8 Months ago Karma: 0
Hello i changed the code to: but nothing happends? same result.

-----------------------

<?php
if ($quizStorage->get('CanSkip')):
?>
<a href="#" class="btn disable-onsubmit" onclick="if (YAHOO.util.Dom.hasClass(this, 'disabled')) return false; ariQuizQueManager.nextPage(); return false;"><?php echo JText::_('COM_ARIQUIZ_LABEL_NEXT'); ?> <i class="icon-arrow-right"></i></a>
<?php
endif;
?>
<?php
if ($quizStorage->get('CanBack')):
?>
<a href="#" class="btn disable-onsubmit" onclick="if (YAHOO.util.Dom.hasClass(this, 'disabled')) return false; ariQuizQueManager.prevPage(); return false;"><i class="icon-arrow-left"></i> <?php echo JText::_('COM_ARIQUIZ_LABEL_BACK'); ?></a>
<?php
endif;
?>
<?php
The administrator has disabled public write access.
 
#55535
Re:Change button order 8 Years, 8 Months ago Karma: 747
Is it possible to see it?

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1