简体   繁体   中英

programmatically edit articles in Joomla

I am new to Joomla development, I am developing a website in which I have to use customize the articles (i know you will say develop a component or module) but I want to use articles any ways.

While google I found that Joomla stores all the contents of articles in database.

but what I need is Is there any way to edit articles programatically(are there any PHP files for articles folders or so where i can eDit them) I have to add custom styles, menus and things like that to a certain article.

when you say edit articles programmatically, do you mean edit the content of an article, or how it is presented and what else loads with it?

the former will require you to edit the db contents.

the latter means you need to look into how joomla's templating system works, which is most likely what you need to do. piece of further advice: modules have the ability to define class/id per instance, which will be very helpful for writing your css.

如果您想在文章中使用自定义PHP代码,请看JUMI。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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