joomla - how can I create new content types in joomla - joomla

I'm new to joomla. I have been using Drupal for quite some time.
I would like to created new content types for news and announcements. How may I accomplish creating new content type in Joomla without installing a new module.

You're coming from Drupal so I am thinking that what you're looking for and cannot find in Joomla is something like CCK (Content Construction Kit)
Unfortunately this is not available by default in Joomla. You have to use extensions to create new types of content that contain specific fields.
Best free CCKs available for Joomla :
Form2Content (my favorite)
K2 (most popular, highly recommended)
You can find more in Joomla Extension Directory

I would say the same, for me i always use k2 as it integrates with many plugins and modules also featuring rich content forms

As per the answer from #Ahmad, install a CCK to add new content types.
In your case however, the built in Joomla functionality may suffice such as creating content categories for news and announcements and choosing menu options or modules to suit.

While K2 is a great CCK, there is a table named "jos_content_types", which makes me think, that joomla can handle content-types as well.
With different views, form-xml files and so one.
I found it while looking on this page: https://docs.joomla.org/J3.x:Using_Tags_in_an_Extension
But i didn't find any doc about creating new content-types easily by now. Does someone have more infos, how to create a new content-Type? Or is it just a new component, we have to create?

Related

Umbraco 7.5.x developing for custom data

In Umbraco 7.5, I want to develop a custom 'module' (or whatever it is called in Umbraco) to maintain a product catalog. Products can have images, categories and attributes. Of course, I could make some document types and templates but I don't want to add products as content items. I need to be able to maintain a list of products in the back-end, and then use those products on content pages.
The umbraco documentation for developers is seriously lacking, and the most important pages are throwing 404 errors. Can anyone point me in the right direction?
There is not single place to get all those knowledge. Following articles will be helpful to you to getting started.
Extending backoffice:
http://www.enkelmedia.se/blogg/2013/11/22/creating-custom-sections-in-umbraco-7-part-1.aspx
http://www.enkelmedia.se/blogg/2013/11/22/custom-sections-in-umbraco-7-%E2%80%93-part-2-the-views.aspx
https://blogit.create.pt/andresantos/2015/11/16/building-an-umbraco-7-backoffice-extension-part-i/
https://blogit.create.pt/andresantos/2015/11/23/building-an-umbraco-7-backoffice-extension-part-ii/
https://blogit.create.pt/andresantos/2015/11/30/building-an-umbraco-7-backoffice-extension-part-iii/
Using petapoco (ORM):
http://www.wiliam.com.au/wiliam-blog/using-petapoco-with-umbraco-is-pretty-sweet
https://cultiv.nl/blog/using-umbraco-migrations-to-deploy-changes/
https://pynej.blogspot.in/2016/11/guide-to-custom-database-access-in.html
I think Ucommerce is the best to use in your situation and it works great with Umbraco.
Here are few links. Hope it helps!
Ucommerce Developer Section
Products Catalog doc

Change Joomla 3 page url extension from .html to .htm

I am creating a website using Joomla 3 CMS. I have a requirement from my client that i need to change the existing page url extension from .html to .htm. As this website is redesign of a existing website the old links have .htm extension.
Open ../libraries/cms/router/site.php
Go to line number 144
And change
if ($format = $uri->getVar('format', 'html'))
to
if ($format = $uri->getVar('format', 'htm'))
I hope that helps
If you don't want to edit core files, and that is certainly not advised for sake of future upgrades. Your best solution is using a custom component for managing Joomla's SEF URLs, for example: sh404SEF (Paid) or JoomSEF (Free).
Check out http://extensions.joomla.org/category/site-management/sef for others.
Never ever edit Joomla Core files, otherwise when you upgrade Joomla, all your changes will be gone.
As #Alexxandar said; use SEO/SEF components for your needs. I recommend to use MijoSEF (Free or Paid)
Go to global configuration and remove the l from the suffix.
THis is a Joomla configuration question and a standard joomla configuration (not programming) option.
Now the one thing you will have to worry about is that if there are any old links to the htm pages. FOr this you will probably want to use the built in redirect component. Turn on the redirect plugin and then if you have a small number of pages you can just set up the redirection by hand. If you have more pages you may want to write the sql to create a bunch of redirects. Or you might want to make your own plugin to permanently redirect the old to the new.

Add static javascript to every page of joomla

Im completely new to Joomla development. I need to develop Joomla plugin that adds static javascript to the footer of all the pages of a Joomla site. Also, the plugin would need to save 2 fields in database, and access these fields on per page basis. Also, Admin panel is needed.
Now, my questoion is, where do i start? Joomla plugin development is a big task, so if I can get some pointers as to where to start, it would be very supporting.
Im not asking for direct code, but just the right direction to start.
Thanx in advance....
Joomla has three types of extensions (what you refered to as plugin): components, modules and plugins, where each has a different purpose.
If you need to add javascript to all pages, the best place is your template. If you don't have access to template, just building an extension, then you have to create a content plugin.
If you need to create extension with admin panel which also works with database, you need to create a component. The best place to get started is tutorial Developing a MVC component for Joomla 2.5

Joomla (Add New Contact Parameters to Contact in Jooma1.5)

I am New to Joomla and this is my First Project I am working on in JOOMLA
Well I have Template Named News Line by Youjoomla ( Most of you Might Have heard about it)
here is my Questions
Well My Client gave me a sudden change in the requirement that he needs some additional parameters in a every contact
Which are Like
Registration Number
Company Name
and More.....
Well Can Anybudy Teach me how to add new parameters to contact in Joomla 1.5
it is a Little Bit Urgent
If you are using the default Joomla contact system then adding custom parameters is rather hard. You will be better off using a Contact Component such as aiContactSafe. You can find more here aswell. Hope this helps and good luck with your first Joomla project

Joomla administration user level

In my website project, three people are assigned to write new articles for the website. They write their own articleS and cannot view their fellows' articles. We have one supervisor who is supposed to view, edit, and manage all articles.
Can Joomla! or any free extension make this possible?
The core Joomla install does NOT do what you have requested but by adding a component called JUGA, you can easily configure exactly what you want.
http://extensions.joomla.org/extensions/access-a-security/backend-a-full-access-control/2587

Resources