search goes to strange view of the topic

  • Aud
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
14 years 6 months ago #1 by Aud
I have the search searching in coursetopics. When clicking through from the search result is goes to a different view of the topic, it is in a grey box and does not show the quiz that is at listed in the topic.

Is there anything I can edit to show a 'normal' view with the quiz detailed too?

Many thanks

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: search goes to strange view of the topic
The link takes you to the course topics view in Joomdle.

Only enroled users may see course contents (like the quiz) so if you linked to the course in moodle instead, non-enroled users would not be able to see the topics at all.
If you want to change the link, the file is plugins/search/coursetopics.php

Please Log in or Create an account to join the conversation.

  • Aud
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
14 years 5 months ago #3 by Aud
many thanks Antonio,

this is what I changed in case it's useful to anyone:

from:
$rows_result[$i]->href = 'index.php?option=com_joomdle&view=topics&cat_id='.$cat_slug.

to:
$rows_result[$i]->href = 'index.php?option=com_joomdle&view=detail&cat_id='.$cat_slug.

I also turned off the show topic link in joomdle configuration, detail view so that didn't go to that view either.

Please Log in or Create an account to join the conversation.