Hello again,
I'm working on an Application form and I had everything working pretty great but I wanted to change something.
Currently I am using a normal dropdown of the Open Positions pages using the dynamic option of a dropdown, like this:
Now the guy doing the Applications has asked if it were possible to filter the Applications by Position and the folders came to mind.
So I would like to rewrite the current dropdown to a folder structure, but I can't get it to work.
Currently I have this:
And in the Backend it works great, the Folders get listed fine, but in the front end the dropdown stays empty.
I just can't figure out why :/
I already tried removing the access level check (since I don't know of if it would even work in the front end, but it could also be changed to a published/unpublished check), but it stays empty
I just can't figure it out. Is dropdownfolders just not bindable?
Also in case the check doesn't work, I assume I could dynamically assign the exclude the same way I did the original dropdown?
/edit
unrelated question. I've set the access control parameter of the template to 2 to test some things, but the form is still visible to logged out users, only the pages are locked, is this intended? How could the form be locked as well, if I wanted?
Even on 10 the form is still visible, I'm confused
I'm working on an Application form and I had everything working pretty great but I wanted to change something.
Currently I am using a normal dropdown of the Open Positions pages using the dynamic option of a dropdown, like this:
- Code: Select all
<!--cms : editable name='position' required='1' type='dropdown' opt_values="apply_open_positions.html" dynamic="opt_values" opt_selected="-" /-->
Now the guy doing the Applications has asked if it were possible to filter the Applications by Position and the folders came to mind.
So I would like to rewrite the current dropdown to a folder structure, but I can't get it to work.
Currently I have this:
- Code: Select all
<cms:pages masterpage="applications.php">
<cms:if k_access_level le k_user_access_level>
<cms:folder name="<cms:show k_page_name />" title="<cms:show k_page_title />" />
</cms:if>
</cms:pages>
<cms:dropdownfolders masterpage='news.php' name="position" required="1" />
And in the Backend it works great, the Folders get listed fine, but in the front end the dropdown stays empty.
- Code: Select all
<label>Which position are you applying for?
<select name="f_position" id="f_position" ></select>
</label>
I just can't figure out why :/
I already tried removing the access level check (since I don't know of if it would even work in the front end, but it could also be changed to a published/unpublished check), but it stays empty

I just can't figure it out. Is dropdownfolders just not bindable?
Also in case the check doesn't work, I assume I could dynamically assign the exclude the same way I did the original dropdown?
/edit
unrelated question. I've set the access control parameter of the template to 2 to test some things, but the form is still visible to logged out users, only the pages are locked, is this intended? How could the form be locked as well, if I wanted?
Even on 10 the form is still visible, I'm confused
