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?

Reg New question Type adding in quiz
(1 viewing) (1) Guest
ARI Quiz Lite
Go to bottomPage: 12345678...11
TOPIC: Reg New question Type adding in quiz
#5035
Reg New question Type adding in quiz 13 Years, 10 Months ago Karma: 0
Hello All,

I need a requirement that in questions i want add another question type
currently i am having three type of questions and i want to add 'Upload Pic' as 4th One

Upload pic

if we select Upload Pic question will having the following options

1 : Text box for name
2 : text box with browse button for image uploading

Then user will be upload one image

can any one suggest me how to do this



Thanks in advance
Phani Chennupati
The administrator has disabled public write access.
 
#5036
Re:Reg New question Type adding in quiz 13 Years, 10 Months ago Karma: 747
Hello,

Do you mean 'ARI Quiz' or 'ARI Quiz Lite' component?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#5037
Re:Reg New question Type adding in quiz 13 Years, 10 Months ago Karma: 0
Thanks for response

i installed this component

com_ariquizlite

ARI Quiz....
Last Edit: 2010/06/23 11:00 By phanichennupati.
The administrator has disabled public write access.
 
#5038
Re:Reg New question Type adding in quiz 13 Years, 10 Months ago Karma: 747
com_ariquizlite is "ARI Quiz Lite", not "ARI Quiz". You can see the following folders that see how existing questions work that create your new question type:

<joomla_dir>/administrator/components/com_ariquizlite/kernel/Entity/_QuestionEntity/

<joomla_dir>/administrator/components/com_ariquizlite/templates/questions/

<joomla_dir>/administrator/components/com_ariquizlite/templates/statistics/

<joomla_dir>/components/com_ariquizlite/view/questions/

Regards,
ARI Soft
The administrator has disabled public write access.
 
#5039
Re:Reg New question Type adding in quiz 13 Years, 10 Months ago Karma: 0
Thanks for giving response


How to add admin side question type to select...
The administrator has disabled public write access.
 
#5043
Re:Reg New question Type adding in quiz 13 Years, 10 Months ago Karma: 747
Run the following SQL query:

Code:


INSERT INTO `jos_ariquizquestiontype` (`QuestionTypeId`, `QuestionType`, `ClassName`, `Default`, `CanHaveTemplate`, `TypeOrder`) VALUES 
 (5,'New question type','<QuestionClassName>',0,0,0)
ON DUPLICATE KEY UPDATE QuestionTypeId=QuestionTypeId;



where <QuestionClassName> is question class name.

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