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


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


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 7 Years, 5 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 7 Years, 5 Months ago Karma: 670
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 7 Years, 5 Months ago Karma: 0
Thanks for response

i installed this component

com_ariquizlite

ARI Quiz....
Last Edit: 2010/06/23 05:00 By phanichennupati.
The administrator has disabled public write access.
 
#5038
Re:Reg New question Type adding in quiz 7 Years, 5 Months ago Karma: 670
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 7 Years, 5 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 7 Years, 5 Months ago Karma: 670
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