.htaccess for backend will deny access to quizzes

Added by Michael Heßburg 795 days ago

Hi there,

the backend of Joomla! is also protected by .htaccess. Therfore, for each questions displayed in the frontend, the "Gain-Access"-Window of the browser will apear.
If the quiz is paginationed, one access-window / page. It's not paginationed, one for each question.
Please have a look:
http://homecon.net/index.php/retrofreak-quiz

TIA
Regards
Michael


Replies

RE: .htaccess for backend will deny access to quizzes - Added by Mohamed Tougorti 795 days ago

Hi Michael,

Yes asset files are actually located under

{SITE_ROOT}/administrator/components/com_jquarks/assets/

the purpose was to have all assets files in one unique directory but it does causes problems if you have restricted access to your administration directory.

resources needed by JQuarks on the front-end are

  • images/attention.png
  • images/clock.png
  • images/description.png
  • js/*
  • css/SyntaxHighlighter.css

One solution would be to copy those files somewhere on the public side of your site for example under

{SITE_ROOT}/components/com_jquarks/assets/

and alter the path of the resources on both default.php files of quiz and quizzes

I join here a zip containing the needed files and their location starting your site root if you wish to place the need assets under

{SITE_ROOT}/components/com_jquarks/assets/

I hope this helped out

Regards

RE: .htaccess for backend will deny access to quizzes - Added by Michael Heßburg 794 days ago

Hi Mohamed,

fantastic - it works out of the box! Thanks a lot also for the detailed informations about the issue, it helps a lot!

Regards
Michael

RE: .htaccess for backend will deny access to quizzes - Added by Mohamed Tougorti 794 days ago

Hi Micheal,

You are welcome.

Mahmoud just posted a topic to let JQuarks users showcase quizzes they created http://www.iptechinside.com/labs/boards/5/topics/show/40

Your quiz is welcome to this thread.

A wiki page We are using JQuarks is also available to collect all websites using JQuarks we are proud to have HomeCon among it !

Regards

Reply