Create multi-language in Joomla? - joomla

I have to do a multi-language site in Joomla 2.5 or later?
for this I active the module language selector and a plugin filter language and now the router of my page is http...../es but the browser show this error.
The requested URL /.../es/ was not found on this server.
I also create content a menu, but show me the same error.
any idea.

Look, I don't want to be rude, but Joomla 1.7 is really outdated and there little sense in using it noways. Consider 2.5.x or 3.x.
To answer your question, there is a really good tutorial on how to do this. Did it a lot of times and works very good.
Language Switcher Tutorial

Related

AMP: Accelerated Mobile Pages in an already developed site

I have an umbraco based CMS site and I've been advised to use AMP for fast mobile performance. I have read the demo page from this gitHub link.
But I am not understanding how to set it in an already developed site. Do I need to change all tags according to AMP?
better not to mess with existing instead you build new AMP version of your site
(After doing a quick Google)
I don't think there's a an AMP-plugin for Umbraco yet, but that will probably be the way to go. I've been using the AMP-plugin for WordPress for a little while now and it made all posts on my site AMP-compatible without me having to do anything :)
Perhaps check with the Umbraco community whether there's an ETA on such a plugin for their platform?
You can have seperate AMP pages and google will handle the rest. I think that is the safest way to approach it, without having a plugin like they have for wordpress.
You can still enable the users to use the CMS functionality by creating custom data types for e.g. amp-img instead of img. The content editors will just have to be briefed on the basics of AMP.
References:
https://carolelogan.net/blog/amp-implementation-in-umbraco/
https://www.ampproject.org/docs/guides/discovery

Creating profile page for users in Joomla

I have been developing websites for some years. I know PHP. but I have never worked with a CMS before. I've been told to create a website with Joomla where there's a homepage and also new users may sign up and then they can have a profile page where they can upload their profile picture and write their résumé.
This is easy for me to implement this system if I start coding it by myself. but how can I do this in Joomla? is there a plug-in which I need? could someone please give me some resources?
No need to re-invent the wheel - there are tons of ready-built components at the Extensions Directory. Last I checked Community Builder and JomSocial were the most popular, but they might be overkill for your need, so it's worth having a look at the other choices there. If you're new to Joomla, you're probably interested in a Component, which is essentially a "sub-application" that installs under Joomla. They usually include Modules that can be displayed on the site, as well as Plugins that work with the core Joomla logic to perform specialized functions for the installed component.
There are many plugins, but the simple functionality of user profiles is implemented in Joomla. This question might help you.

Joomla URL-Rewrite

I've got a little strange behavior from a joomla website (2.5) with the url rewriting.
Here is my situation:
Two identical Websites. One runs with joomla 1.5, the other with joomla 2.5. Both on a IIS 7. There is a external plugin (build by own) which posts a list of article-links on both joomla. Some kind of a "latest news" module on the homepage.
This plugin posts link with a url like this:
index.php?option=com_content&view=article&id=2518&Itemid=97&lang=de
This link is working, if the URL-rewrite is switched off in joomla back-end. Now when I switch on the url-rewriting. The links look like these:
Joomla 1.5
http://example.com/de/category/news/2518.html (link does work!)
Joomla 2.5
http://example.com/de/category/news.html?id=2518 (link does not work! 404)
It seems there is a difference between those joomla versions. Can anyone give me a hint to solve this problem with joomla 2.5? thank you very much.
I've found a solution. Now I build my links in the plugin with JRoute:
$link = JRoute::_("index.php?option=com_content&view=article&id=$id&catid=$catid:$catalias&Itemid=$itemid");

Joomla 2.5 Add Option Groups to Article

I'm playing with Joomla 2.5.9 (The latest 2.X download). Do you know how you can add additional menu's to the "Article Manager: Edit Article" page? (This is in the Administration)
Their API gives me some hint on several things but I am don't know what this right "Slide Down Option Area" is called in the Administration.
In the right area there are things such as:
Publishing options
Article Options
Configure Edit Screen
Images and Links
etc..
I want to know where to start to add my own, or where they are already built in the system so I can base mine off it -- Is this a plugin, module, or something else? :)
As i say don't change any of the core file in Joomla. If you want to add any functionality into the article manager you can make your own plugin to add functionality in it. For doing this see this link :
Creating a content plugin
I hope this is what you looking for.Good luck.
There are some extensions that allow you to do that.
I recommend (although somewhat buggy and a code mess) this one:
FieldsAttach
It does exactly what you want.
Or, you could make your own as Toretto suggests, there are some tutorials on creating a plugin for extra items in the article form, but the already-made-extension route seems to make more sence.
I've been using FieldsAttach for this sort of thing, for a few years, the code is often a little messy, that is true, but the the concepts are clean and eloquent. Brian Teeman explains it well from an integrator point of view in his talk at https://www.youtube.com/watch?v=f2WLKWbRj5U but in some ways it is even more compelling from a developer's perspective.
However, after watching Marco Ding's Joomla Day UK 2016 talk on https://www.youtube.com/watch?v=KDh1IPuZAVA I think DPFields may be a better choice. The architecture is perhaps more rugged and neater, but also because it may well end up being a core extension in Joomla in the near future. More info on DPFields is at http://extensions.joomla.org/extension/dpfields , https://joomla.digital-peak.com/products/dpfields and https://joomla.digital-peak.com/documentation/162-dpfields .

What is Joomla /libraries/cms?

I had an issues with some joomla api. The issue was that I was using the latest version of joomla and couldn't find where a joomla class, that was being called in my code, was derived . I searched the joomla api docs and found nothing relating to the class I was looking for.
I then stumbled across the refactoring change log for joomla and noticed that the function i was after had actually been moved from /libraries/joomla/form to libraries/cms/form.
Why would this be the case? There doesn't seem to be any reference to /libraries/cms in the api docs. How are we suppose to know that there are classes living there? Very confusing.
Since Joomla! 1.6 the code has been progressively split into the Joomla! CMS and the Joomla! Platform. You can see this separation in the github repository - a good place to also keep track of changes that are committed to both the CMS and the Platform. The simplest way is fork each repository and keep track of them.
As classes are updated they may be migrated to the /libraries/cms directory if they apply specifically to the CMS application (e.g. html forms are an application level function not a platform level).
I find the best place to hear about changes under discussion are in the respective Google Groups - Joomla! Platform Development and Joomla! CMS Development
[Edit]
Documentation of class's is the hardest thing to find for Joomla! CMS - there doesn't appear to be a current api listing for it, unlike the Platform API reference. Often it is just easier to read through the code.
It's also worth keeping a watch on the developer sub-site.
If you want to define excellence in CMS without coding, Joomla is the right option for you.Joomla the most preferred content management system among developers is an easy-to-use open source solution.If you want to define excellence in CMS without coding, Joomla is the right option for you. In this post, you will find few of its features that make the website development easy and most preferred option for developers.

Resources