Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How to group surveys?

  • MadhuraBL
  • MadhuraBL's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 9 months ago - 6 years 9 months ago #156705 by MadhuraBL
How to group surveys? was created by MadhuraBL
Hi, How do I group surveys based on my projects?
I have a list of surveys(over 50) and all of them belong to different projects. Right now, It is difficult to find a survey that belongs to a certain project. I am currently following a Title format with project codes. But in the future, I want the project code to be in the survey URL as well.

Example,

hsu-projects-localhost.com/index.php/157614?lang=en (Current URL)

hsu-projects-localhost.com/index.php/projONE/157614?lang=en (Expected URL)

Also, it would be great if I could remove 'index.php' and 'lang=en' parameters from the URL and make it like:
hsu-projects-localhost.com/projONE/157614

Any suggestion/ tips would be of great help.

Thanks
Last edit: 6 years 9 months ago by MadhuraBL.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 9 months ago #156711 by DenisChenu
Replied by DenisChenu on topic How to group surveys?
Just about index.php : manual.limesurvey.org/Optional_settings#URL_settings 'showScriptName' => false,

It's not the default, because we are unsure it work.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • MadhuraBL
  • MadhuraBL's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 9 months ago #156744 by MadhuraBL
Replied by MadhuraBL on topic How to group surveys?
Hi, tried 'showScriptName' => false in config.php; throws Page not found error on all pages.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 9 months ago #156745 by DenisChenu
Replied by DenisChenu on topic How to group surveys?
And now you understand why we don't actvate it by default. You must have mod_rewrite on your server.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • MadhuraBL
  • MadhuraBL's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 9 months ago #156746 by MadhuraBL
Replied by MadhuraBL on topic How to group surveys?
Hi Denis, Thanks for your reply. I have mod_rewrite enabled on my server.
(I printed phpinfo() inside limesurvey root directory, and it shows mod_rewrite under Loaded modules)
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 9 months ago #156751 by DenisChenu
Replied by DenisChenu on topic How to group surveys?
Strange, maybe rewrite is deactivated somewhere else. Didn't know.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • MadhuraBL
  • MadhuraBL's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 9 months ago - 6 years 9 months ago #156778 by MadhuraBL
Replied by MadhuraBL on topic How to group surveys?
Do you think I have to make changes to my .htaccess file?
Below is my current .htaccess content:

<IfModule mod_rewrite.c>
RewriteEngine on

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f

# otherwise forward it to index.php
RewriteRule . index.php
</IfModule>
# General setting to properly handle LimeSurvey paths
# AcceptPathInfo on
Last edit: 6 years 9 months ago by MadhuraBL.
The topic has been locked.
  • MadhuraBL
  • MadhuraBL's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 9 months ago #156791 by MadhuraBL
Replied by MadhuraBL on topic How to group surveys?
Hi, Its the AllowOverride None in Apache httpd.conf blocking the redirection.
Changed it to AllowOverride All and the redirection worked.
(Basically, got rid of index.php in the URL)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose