简体   繁体   中英

Joomla Dynamic Contents in Article

I am new to Joomla, I am currently trying to set up a information portal for a university which will have information regarding all the faculty members. The information to be displayed would have information like Subjects they teach, total experience, phone number, email id, address, etc etc.

Normal way to deal with this to write a new article about each faculty member. But I want this to be more dynamic. I dont like the idea to create a new article for each faculty. I am looking for a way that all the information(subjects, email, phone, etc) should be stored in database and while displaying all information should be fetched from the database itself and should be displayed in a preformated way.

Please let me know if anyone is having any idea regarding this..Many Thanks in advance

I'd use a CCK plugin like K2 and add and Extra Field Group, like this ... that way it could be added in the admin. Done what you're doing with many types of content this way.

UPDATE: Just remembered this great little component called joodatabase

You can create a module, or use one from the Joomla extension directory (You're looking for a directory module). A module in Joomla will allow you to access the data stored in the database.

http://extensions.joomla.org/search?q=directory

You can include an external PHP Script in your article and let the php script handle the data based on the query string paramerter(may be like faculty id or something). In order to do that you will need to install a module. http://extensions.joomla.org/extensions/edition/custom-code-in-content/60 . Using this module you should be able to include a php script within the article.

Old thread but still a hot topic I think Dynamic Articles with TinyButStrong would solve this problem https://www.tinybutstrong.com/plugins/joomla/tinybutstrong_help.html

For example adding Tag or Search Parameter into content if no article exist. Place for much more phantasy

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