5 users online. Create an account or sign in to join them.Users
Data Source URL Parameter Limiting?
This is an open discussion with 3 replies, filed under General.
Search
Keep your eyes peeled for 2.3 ;o)
Ooooooh.... I hadn't heard any talk about such a feature... does it exist at all in the Beta? I'll go check out my install.
You could try Field: Filter.
Create an account or sign in to comment.
I tried to search around the forum, but haven't seen anyone ask this before.
If you create a new datasource, and look down under "Sorting and Limiting" there is a field called "Required URL Parameter" that looks like this:
I'm wondering if it would ever be possible to have this field, (or a similar one) ONLY EXECUTE the datasource if the datasource equaled something specific, not just existed.
I understand you can filter things, but this would be different, sometimes I don't want a datasource to execute at all until another variable has been added.
For example: I have a page named teams, with a 1st url parameter of the team name: http://www.mysite.com/teams/team-name/ and my 2nd url parameter might tell the page to do separate things. Such as:
http://www.mysite.com/teams/team-name/news/
http://www.mysite.com/teams/team-name/schedule/
http://www.mysite.com/teams/team-name/players/
Each one might require different datasources, it could be nice to only execute those datasources if the 2nd parameter equaled something specific like "news".
Any thoughts?