What is <jdoc:include....... is it html, php or what?

  • Answered
Can anyone tell me what
probably Joomla uses trick with PHP output buffering - this allows to get HTML into PHP variable instead of simply returning it to web browser, modify content of this variable (ie. replace these jdoc statements) and at the end send modified contents to browser. Look ad PHP documentation and ob_start(), ob_clean(), ob_get_contents() etc.
Hello ClubAero, Thank you for your question. Jdoc is syntax that is specific to Joomla, and is used in templates for formatting. Here is a link to the official Joomla documentation that explains jdoc statements. Also, here is a link to our article on "How to add CSS and JavaScript files to a Joomla 3.0 Template ," in step 4 we work with the jdoc statement. If you have any further questions, feel free to post them below. Thank you, -John-Paul