Calling UDT or GCB in GCB or UDT

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jdwork
Forum Members
Forum Members
Posts: 10
Joined: Sat Dec 23, 2006 7:03 pm

Calling UDT or GCB in GCB or UDT

Post by jdwork »

  I am trying to reuse a UDT-{dbconnect} for my queries in another UDT-{emergencystudentlist}.  Tried GCB as well.  I place the tag at the top of my query udt with a print statement, but the resulting page merely prints out the name of the UDT.

How does one call a GCB or a UDT inside another UDT or GCB?

Cheers,
viebig

Re: Calling UDT or GCB in GCB or UDT

Post by viebig »

actually, you dont. But there are workarounds.

Can you post a sample code?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Calling UDT or GCB in GCB or UDT

Post by RonnyK »

Well for a UDT call inside the GCB, you could just check the default 'footer' GCB. That calls a UDT....

Ronny
Post Reply

Return to “CMSMS Core”