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?

A small custom code for convenience
(1 viewing) (1) Guest
component
Go to bottomPage: 1
TOPIC: A small custom code for convenience
#60708
A small custom code for convenience 7 Years, 4 Months ago Karma: 2
Hello!

I want to see the number of questions in the column of the quiz line:
1. Specified in the quiz settings
2. Total in this quiz

About 20 / 45

Tell me sample code to add to the table quizzes.

On 2 points tried so, but does not work....
Code:

<?php echo $this->quiz->QuestionCount; ?>


Thanks.
The administrator has disabled public write access.
 
#60715
Re:A small custom code for convenience 7 Years, 4 Months ago Karma: 760
Hello,

Could you specify page(s) where you want to show it?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#60717
Re:A small custom code for convenience 7 Years, 4 Months ago Karma: 2
Thanks for reply!

I would like to put this data in the place I marked with a cross, instead of the last 2 icons I do not use
Screenshort

Thanks.
The administrator has disabled public write access.
 
#60720
Re:A small custom code for convenience 7 Years, 4 Months ago Karma: 760
Data grid is populated dynamically. It loads data via AJAX and then populate the grid using javascript code. See "getQuizList" method in <joomla_directory>/administrator/components/com_ariquiz/models/quizzes.php file and "formatQuizActions" method in <joomla_directory>/components/com_ariquiz/assets/js/ari.quiz.js file.

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