Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能的重复: 创建一个 Jooma!文章以编程方式
我需要知道,如何使用 php 代码在 Joomla 2.5 中创建新文章。
编辑
我发现了这个: 创建一个 Joomla!文章以编程方式 它也适用于 joomla 2.5
嗨,您只需要创建一篇新文章,并且在您编写的文本区域中,您有一个底部“html”来插入您的代码,您可以在其中放置<?php ?>您的 php 代码。
<?php ?>
但我建议您为此使用模块或组件。