b_e_scott
New Member
Hi,
Goal:
Be able to dynamically load a module position {loadposition REGION-<sevents_sched_vw___region_id>} inside an article which is based on the databasejoin value sevents_sched_vw___regionyear_id_raw.
Background:
I have a dynamic page that has 3 sections of data to be displayed for a given region (sevents_sched_vw___region_id). Section 1 consists of a Roksproket Module with tabbed Regional information (Region Overview, Event Alert and Event Fees) for the current value of the Fabrik element sevents_sched_vw___region_id. The idea here is to load the region specific Roksproket module by issuing the command {loadposition Region-<sevents_sched_vw___region_id>}. Since this is a dynamic page, I have a Roksproket Module created for each region id.
Section 2 is a Fabrik List of the Regional Director for a region which is based on the databasejoin Fabrik element (sevents_sched_vw___regionyear_id_raw). The code below calls this data without issues.
{fabrik view=list id=212 region_director_vw___regionyear_id={sevents_sched_vw___regionyear_id_raw} layout=bluesky}
Section 3 is a Fabrik List of Boating Events belonging to a region (sevents_sched_vw___region_id) scheduled on a specific day of a year.
Problem:
I need to be able to dynamically determine the Fabrik element value for sevents_sched_vw___region_id from the Fabrik List in Section 3 and use it to appended to the loadposition command to diplay Section 1.
The Fabrik List in section 3 has the following relevant Fabrik Elements:
sevents_sched_vw___Lake
sevents_sched_vw___event_date
sevents_sched_vw___region_id
sevents_sched_vw___Year
sevents_sched_vw___regionyear_id (databasejoin)
Question:
What is the best why to retrieve the value of element sevents_sched_vw___region_id so I can use that value to dynamically append to the loadposition command.
I've tried to use the command below to retrieve the value, but I don't know the rowid or know how to get it. Can you please provide the code to make this happen.
{fabrik view=element rowid=? element=sevents_sched_vw___region_id}
Thanks!
Bruce
Goal:
Be able to dynamically load a module position {loadposition REGION-<sevents_sched_vw___region_id>} inside an article which is based on the databasejoin value sevents_sched_vw___regionyear_id_raw.
Background:
I have a dynamic page that has 3 sections of data to be displayed for a given region (sevents_sched_vw___region_id). Section 1 consists of a Roksproket Module with tabbed Regional information (Region Overview, Event Alert and Event Fees) for the current value of the Fabrik element sevents_sched_vw___region_id. The idea here is to load the region specific Roksproket module by issuing the command {loadposition Region-<sevents_sched_vw___region_id>}. Since this is a dynamic page, I have a Roksproket Module created for each region id.
Section 2 is a Fabrik List of the Regional Director for a region which is based on the databasejoin Fabrik element (sevents_sched_vw___regionyear_id_raw). The code below calls this data without issues.
{fabrik view=list id=212 region_director_vw___regionyear_id={sevents_sched_vw___regionyear_id_raw} layout=bluesky}
Section 3 is a Fabrik List of Boating Events belonging to a region (sevents_sched_vw___region_id) scheduled on a specific day of a year.
Problem:
I need to be able to dynamically determine the Fabrik element value for sevents_sched_vw___region_id from the Fabrik List in Section 3 and use it to appended to the loadposition command to diplay Section 1.
The Fabrik List in section 3 has the following relevant Fabrik Elements:
sevents_sched_vw___Lake
sevents_sched_vw___event_date
sevents_sched_vw___region_id
sevents_sched_vw___Year
sevents_sched_vw___regionyear_id (databasejoin)
Question:
What is the best why to retrieve the value of element sevents_sched_vw___region_id so I can use that value to dynamically append to the loadposition command.
I've tried to use the command below to retrieve the value, but I don't know the rowid or know how to get it. Can you please provide the code to make this happen.
{fabrik view=element rowid=? element=sevents_sched_vw___region_id}
Thanks!
Bruce