#1
|
|||
|
|||
Loading model based on SEL_ITEM
Hello everyone,
I am currently working on some code that involves tracking down parts that are the owners of views and determining if they are loaded or not. This part is already done. What I am looking to do is modify the code such that if a part is NOT loaded, then it will be automatically loaded from the database. Currently the owner is found with: PHP Code:
Next, we check to see if the part is loaded PHP Code:
Now I know it is possible to load a part if you have an identifier or an elid, for example: PHP Code:
PHP Code:
PHP Code:
Anyway, I will quit typing and see if someone knows how to help. If any of this is confusing feel free to ask and I can elaborate. Thanks, Brent |
#2
|
|||
|
|||
Re: Loading model based on SEL_ITEM
Alright, so I think I am getting close here. I am still having an issue with just one message (see attachment)
The following works when the part is loaded: PHP Code:
PHP Code:
Any insight is appreciated, Brent |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|