Hi,
I'm getting some strange errors and it makes me wonder if there is any limit (decent or enforced) for the size of an UDT.
Thank you.
UDT size limit
Re: UDT size limit
You may have to elaborate a bit more on this... I have fairly big UDT's and no errors (unless I make one myself). What kind of errors do you get, on what conditions, on what system...
http://forum.cmsmadesimple.org/viewtopi ... =40&t=2661
http://forum.cmsmadesimple.org/viewtopi ... =40&t=2661
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: UDT size limit
Hi,
I clearly hit the 65K characters limit in my udt.
I realise I should move to righting my own module but I can't find any documentation.
Can someone point me to module writing 101?
My module (simply) needs to load a bid bunch of smarty variables and accessing some remote db.
Right now I use 6-8 udts to do this.
Thanks.
I clearly hit the 65K characters limit in my udt.
I realise I should move to righting my own module but I can't find any documentation.
Can someone point me to module writing 101?
My module (simply) needs to load a bid bunch of smarty variables and accessing some remote db.
Right now I use 6-8 udts to do this.
Thanks.
Re: UDT size limit
Maybe the Custom Global Settings Module can be of help to do this. http://dev.cmsmadesimple.org/projects/customgsatz6975 wrote:load a bid bunch of smarty variables
The db work could be left for the UDT.
Re: UDT size limit
Hi Jos and thank you for your answer.
But what my udt does is "load" smarty variables with data from a backend db. It has a lot of logic.
No idea as to where I can find module development documentation?
Thanks.
But what my udt does is "load" smarty variables with data from a backend db. It has a lot of logic.
No idea as to where I can find module development documentation?
Thanks.
Re: UDT size limit
I remember reading about a Module "boilerplate", but i guess it sunk with the wiki...
My module would be very simple :
1) 10-20 internal functions for processing
2) 2 DB calls
3) Logic
4) Smarty assignment
My module would be very simple :
1) 10-20 internal functions for processing
2) 2 DB calls
3) Logic
4) Smarty assignment
Re: UDT size limit
You can check the Skeleton module. It has lots of comment in its code, so you can learn what each part does. http://dev.cmsmadesimple.org/projects/skeleton
Unfortunately it is a tiny bit behind in releases, so you also need to check the api documentation http://apidoc.cmsmadesimple.org/ check CMSModule
Also the News module is a good example. http://viewsvn.cmsmadesimple.org/listin ... h=%2F&sc=0
Unfortunately it is a tiny bit behind in releases, so you also need to check the api documentation http://apidoc.cmsmadesimple.org/ check CMSModule
Also the News module is a good example. http://viewsvn.cmsmadesimple.org/listin ... h=%2F&sc=0