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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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?

Edit a layout question
(1 viewing) (1) Guest
component
Go to bottomPage: 123
TOPIC: Edit a layout question
#50207
Re:Edit a layout question 10 Years, 5 Months ago Karma: 1
Hi,

Wow your code is complicated, I'm mixed up in that x_X

It seems that the question content and the form choices are included in the <div class="aq-page-description-content" id="aqPageDescriptionContent"></div> from the "/components/com_ariquiz/views/question/tmpl/default.php" at line 89 but can't find a way to add the "Validate" button (in fact all the <div class="aq-button-panel"> from line 95 to 139) in the previous div and finally to split the content question on the left column and the forms choices + buttons on the right column.

Can you help me ?

Synkro.
The administrator has disabled public write access.
 
#50216
Re:Edit a layout question 10 Years, 5 Months ago Karma: 760
Questions content and choices are generated in questions.js file. PHP template file contains main buttons for the whole quiz like "Save", "Next", "Prev", "Stop" and etc. and elements like timers, header and etc.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#50259
Re:Edit a layout question 10 Years, 4 Months ago Karma: 1
Hi,

I almost found the solution to move the content on the right (see at line 841 of the question.js unminified).

Any help for moving the "Validate" button on the right ? (see attachment).

Because this part of the code is in the "components/com_ariquiz/views/question/tmpl/default.php" and not in the "components/com_ariquiz/assets/js/question.js" file.

Thanks,

Synkro.
The administrator has disabled public write access.
 
#50270
Re:Edit a layout question 10 Years, 4 Months ago Karma: 760
The button is located outside question area because it is used for all questions on a page (the extension supports ability to show several questions per page).

Regards,
ARI Soft
The administrator has disabled public write access.
 
#50271
Re:Edit a layout question 10 Years, 4 Months ago Karma: 1
Hi,

I only use one question per page. Any possibility to move the button ?

Thanks,

Synkro.
The administrator has disabled public write access.
 
#50272
Re:Edit a layout question 10 Years, 4 Months ago Karma: 760
You can move code for the button from default.php file to questions.js file.

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