ColdIce
New member
Hello,
I'm new to Xenforo-development, but hope to get settled in fast enough.
I've already written the code for an old system, which I need to migrate to XenForo-code.
The code makes use of a custom class which parses an URL by using file_get_contents with json_decode then returns the parsed data as a stdClass.
My question here, how would I go about using a stdClass in a template?
Here is the original HTML-file which I parse in my old-code: http://pastebin.com/qHwj6g4W
Also to be noted, the JS at the bottom of pastebin-code is individual to every bbcode parsed. I'm using a custom piechart code.
I need to convert this into XenForo template...
If there is more to answered, I'll happily provide the necessary info.
I'm new to Xenforo-development, but hope to get settled in fast enough.
I've already written the code for an old system, which I need to migrate to XenForo-code.
The code makes use of a custom class which parses an URL by using file_get_contents with json_decode then returns the parsed data as a stdClass.
My question here, how would I go about using a stdClass in a template?
Here is the original HTML-file which I parse in my old-code: http://pastebin.com/qHwj6g4W
Also to be noted, the JS at the bottom of pastebin-code is individual to every bbcode parsed. I'm using a custom piechart code.
I need to convert this into XenForo template...
If there is more to answered, I'll happily provide the necessary info.