Hi, I have a question in regards to prm view - can I use a Joomla field as input parameter instead entering each menu day ID?
{prm view=weeklymenu|menuday=291,292,293,315,294}
{prm view=weeklymenu|menuday={field 7}} where field 7 would include all the menu day ID's. If yes what would be the correct format?
Thanks and Regards Alfred
PRM VIEW question
- Jan
- Phoca Hero

- Posts: 49205
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PRM VIEW question
Hi, for now, only IDs can be used as parameter, so to use fields, the plugin needs to be customized.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
henryjamesss
- Phoca Newbie

- Posts: 4
- Joined: 30 Dec 2025, 15:12
Re: PRM VIEW question
Yes, this should be possible as long as the field output resolves to a plain, comma-separated list of IDs.
If Field 7 contains something like:
291,292,293,315,294
then using:
{prm view=weeklymenu|menuday={field 7}}
should work.
Just make sure the field is a text field, not formatted with HTML, and that it outputs only the IDs (no spaces, labels, or extra characters). If the field adds markup, PRM won’t be able to parse it correctly.
If Field 7 contains something like:
291,292,293,315,294
then using:
{prm view=weeklymenu|menuday={field 7}}
should work.
Just make sure the field is a text field, not formatted with HTML, and that it outputs only the IDs (no spaces, labels, or extra characters). If the field adds markup, PRM won’t be able to parse it correctly.
