Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

JDom HowTo / JDom doc 04 Aug 2012 13:03 #2984

About JDOM coding:
I am able to read :) from the doc but unfortunately unable to understand :silly:
The enlighted text is confusing...
Where can I download complete JDom namespace list
And provide us with some sample code ... please... that is always a good point to start


How to modify it ?

The only files to don't touch are dom.php and html.php
All others files are placed in a files tree that correspond to the called namespace.
Ex: html.form.input.editor is the html/form/input/editor.php file.

★ If you rewrite a file for an existing namespace, please keep intact the names and positions of the parameters.

Can I write my own files ?
Yes you can, and you should !

★ Respect the JDom standard to place your file in the correct directory, depending on which namespace you choosed.
★ Defines the namespace level (first class property)
★ Register the parameters in the constructor.
★ Write the build() function wich return the rendered HTML.

Important note : Please don't write a file for an existing namespace.
Please consult the complete JDom namespace list (Comming soon), or simply download complete JDom.
If you rewrite an already used namespace, it could cause an incompatibility if you reuse it in a future Cook project.

Please Log in or Create an account to join the conversation.

Last edit: by e-struct.
  • Page:
  • 1
Time to create page: 0.069 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started