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
Related
Is it possible to update the content of a website (add Item, remove Item, update Infos, etc...) directly from the webpage?
For example, you have a webpage and you make a new page in it, that only the admin can access. That page should contain some options that allow the admin to change/update contents on the actual website(what people can see) easily.
(Without the admin having to write new HTML or PHP code...)
I heard something about Joomla or Wordpress but I don't really know how they work.
Thank you.
Basicaly, joomla has some fonctionnalities to edit content by the frontoffice. Of course, the user need to be logged and access levels need to be well managed. You should to try it with a basic installation and see if it's coherent with respect to that you looking for.
So for example wikipedia, yahoo answers, or even stack overflow.
I'm trying to create a site that will allow users to create new pages of content to add to my site for other users to view.
I'm reading an introductory book on php/mysql. All i really want to know is will i find what i need in there? Is PHP what i would use to achieve that? Or do i need to use something else?
Also any general suggestions pointing me in the right direction would be greatly appreciated!
Thanks!
Why not just download MediaWiki for your site?
Yes, PHP and MySQL is what you would need, since you are creating dynamic pages. You would use PHP to process the HTML form submits of pages, and use MySQL to store the data. You would then use PHP to list all of the pages that users have made.
I hacked ignite component to tag people to an image and send email to them, in the email body I need to insert a link to point to the article that contain this image.
I inserted the image in the article using ignite plugin.
how can I get the article link that contain ignite gallery plugin with categoryid = x
is it possible to get it ?
thanks alot
If you're using Joomla 1.5:
I'm not positive how this Ignite package works, but from looking at their website it seems that they're pushing galleries into articles on render? So from that I deduced, they're probably using something like onPrepareContent in their plugin which takes &$article by reference (so it can be modified). If you were looking to access the article ID in the plugin all you would have to do is use $article->id.
However, if you're looking to access the article ID in the component I would think you would just need to know the table that Ignite is storing the information in where it contains the article ID and the category ID. Then when you know the table you should just be able to query it and return article id where categoryid=x. If you haven't written a query before in Joomla this should help: How to use the database classes in your script.
If you have any more specific information please tell because it may help someone else who has used Ignite give you a better answer.
I need to display user profiles in Joomla 1.6.
Is there a default way to do that (url based with user id) or do I need to install an Extension or Plugin?
I hope it to be something like that: index.php?option=com_users&user_id=42
The question is not much about programming, but maybe someone can give me a hint :)
Thanks for looking at the question.
This may help: http://docs.joomla.org/Creating_a_profile_plugin
The proper way to do it is to create a profile plugin, and enable the "User - Contact Creator". As well, configure the contacts component to "show profile"
This way, your user profiles appear in a contact - which can be listed. Additionally, the Joomla router gives it a pretty address which includes the name of the user:
http://www.yoursite.com/users/3-michael-richey.html
The id prepended to the name in the URL isn't the user id, but the contact id. So it adds some security in that the actual user id isn't revealed in the URL.
Other things, of course, must be done to achieve an adequate level of pretty in the output - but this is the way to start without altering the core.
I am looking to create a general knowledgeBase for my customer service department which takes information (my thought is from a mysql database) and populates a page with that information based on the content pulled.
Take this site for example:
ToastMaster
I would like to store a primary title, main content, images, etc on my site without actually having to create unique html for each page.
Can anybody make a recommendation for existing suites I could integrate to do so?
Any of a number of content management systems could be easily used for this. Joomla!, Drupal, etc. Try a few out here: http://php.opensourcecms.com/