简体   繁体   English

将PHP Joomla转换为HTML

[英]Convert PHP Joomla to the HTML

I've downloaded a PHP Joomla template, and I want to remove all PHP/Joomla statements from the code (I want to convert that code to the static HTML code) 我已经下载了一个PHP Joomla模板,并且想从代码中删除所有PHP / Joomla语句(我想将该代码转换为静态HTML代码)

I don't know what to do with the eg 我不知道该怎么办

<jdoc:include type="modules" name="left" style="user" />
<jdoc:include type="modules" name="user4" />

here is the code from the Index.php page: LINK 这是Index.php页面上的代码: LINK

如果只需要布局,为什么不右键单击页面,然后选择“查看源代码”?

http://pastebin.com/hW87Xtki http://pastebin.com/hW87Xtki

This is what you will get, if you remove the jdocs. 如果删除jdocs,这将是您得到的。 Its a complete blank page now. 现在是一个完整的空白页。 Jdoc is like a place holder for joomla components. Jdoc就像joomla组件的占位符。 If you dont want to put any joomla components then jdocs are useless. 如果您不想放置任何joomla组件,那么jdocs是无用的。 you can freely delete them wherever you want(provided you are not going to use this with joomla). 您可以在任意位置随意删除它们(前提是您不会在joomla中使用它)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM