The Joomla! Forum ™






Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Mon Jul 23, 2012 8:06 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jul 21, 2012 8:03 pm
Posts: 10
Hi! I am trying to make a bilingual website, and have no previous experience.

I am using joomla 1.5 because my template does not work with 2.5.
The site can be seen at http://www.dedmoroz-in-oss.nl

What I have tried is to get the flags in the menu, but I can not seem to get them there as images. For that, I have installed Roknav. The problem is that I can create the link to the Russian front page, but the menu does not change language. When I click on the flag that is automatically put on the white part of the front page by M17n it does change. I noticed that the url used by the m17n flag has setLang=ru-RU attached to it, and my own link doesn't have that.
My problem would be solved by either figuring out how to add that to the link (it can't be edited), or learning how to put the m17n-flag in the menu instead of my own image.

Any help would be appreciated. Thanks!


Top
 Profile  
 
PostPosted: Mon Jul 23, 2012 9:08 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 18092
Location: Nijmegen, The Netherlands
Welcome to Joomla forum!
dribibuu wrote:
I am using joomla 1.5 because my template does not work with 2.5.

I recommend converting the 1.5 template to 2.5,
because it's easier to set up a Joomla 2.5 Multilingual website then
to use Joomla 1.5 with e.g. the 3rd party extension Joomfish.

Besides official support for Joomla 1.5 will end soon (September).

Maybe you could use this article to convert your 1.5 template to 2.5:
http://magazine.joomla.org/issues/Issue ... -Joomla-25

_________________
Kind Regards,
Peter Martin, Global Moderator - Community Leadership Team
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 2.5 multilanguage in 10 steps: http://www.db8.nl/multilanguage-in-10-steps


Top
 Profile  
 
PostPosted: Mon Jul 23, 2012 9:25 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jul 21, 2012 8:03 pm
Posts: 10
Thanks for the welcome and the link!

I will have a go at converting the template tonight. Do I understand correctly that 2.5 has native multilanguage support? That would be great.
And can I easily migrate my site to 2.5 without losing articles and stuff?

I will update on my progress somewhere tonight.


Top
 Profile  
 
PostPosted: Mon Jul 23, 2012 9:37 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 18092
Location: Nijmegen, The Netherlands
dribibuu wrote:
I will have a go at converting the template tonight. Do I understand correctly that 2.5 has native multilanguage support? That would be great.

Yes, see e.g. http://docs.joomla.org/Language_Switche ... Joomla_1.6

Quote:
And can I easily migrate my site to 2.5 without losing articles and stuff?

See: http://magazine.joomla.org/issues/issue ... ade-me-not

If you have a small site (e.g. 10 articles & menu items) then I would copy + paste every article manually to the new site.
If you have a large site, I would use a 3rd party migration tool: http://extensions.joomla.org/extensions ... -migration
Personally I prefer SP Upgrade (commercial extension).

_________________
Kind Regards,
Peter Martin, Global Moderator - Community Leadership Team
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 2.5 multilanguage in 10 steps: http://www.db8.nl/multilanguage-in-10-steps


Top
 Profile  
 
PostPosted: Tue Jul 24, 2012 6:19 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jul 21, 2012 8:03 pm
Posts: 10
Right, I didn't get to it yesterday, but tonight I'm going to try to convert the template to 2.5.

Also, thanks for the other link. I can not send DM because I am too new here, so I thought I'd thank you here.

Groeten van een Wijchenaar, Pe7er.


Top
 Profile  
 
PostPosted: Tue Jul 24, 2012 7:25 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jul 21, 2012 8:03 pm
Posts: 10
Right, my progress so far.

I've installed 2.5 in another folder on my server so it can coexist with my 1.5 site.
I converted the template using the steps in the first link, and that went almost perfect. Found out I forgot to change the ending-tag from "install" to "extension" but that was easily found and fixed.

Then, after installing the template, I stumbled upon this when looking at my site:

Fatal error: Call to a member function getMessageQueue() on a non-object in /home/wwwoxa/domains/oxana.nl/public_html/dedmoroz25/templates/dedmoroz25/functions.php on line 11

Seems to be something wrong with the functions.php. Any ideas?


Top
 Profile  
 
PostPosted: Tue Jul 24, 2012 8:03 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 18092
Location: Nijmegen, The Netherlands
Are you sure that you properly converted the Joomla 1.5 template to Joomla 2.5?
Quote:
Fatal error: Call to a member function getMessageQueue() on a non-object in /home/wwwoxa/domains/oxana.nl/public_html/dedmoroz25/templates/dedmoroz25/functions.php on line 11

Could you check /templates/dedmoroz25/functions.php line 11? If it says
Code:
 $mainframe->getMessageQueue();
then rewrite it to
Code:
JFactory::getApplication()->getMessageQueue();

(Joomla 2.5 doesn't use the $mainframe object anymore).

Groeten terug uit Nijmegen :D

_________________
Kind Regards,
Peter Martin, Global Moderator - Community Leadership Team
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 2.5 multilanguage in 10 steps: http://www.db8.nl/multilanguage-in-10-steps


Top
 Profile  
 
PostPosted: Tue Jul 24, 2012 9:48 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jul 21, 2012 8:03 pm
Posts: 10
(suppressing my urge and sticking to English for the benefit of the topic)

Changeing that line fixed it for the template. Would be nice to have that in the how-to, because I couldn't have known that I had to change that; it doesn't say.

Anyway, the template seems to be working now. Tomorrow I'll try to get the multilingual part working, and after that I'll start moving my articles.
Thanks again, and I'll keep you posted.

P.S. was quite a hassle to delete the existing template; got some errors about not being able to delete the last style of a template (or something like that). Thank god for google.


Top
 Profile  
 
PostPosted: Wed Jul 25, 2012 8:00 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jul 21, 2012 8:03 pm
Posts: 10
Sorry to bother you again: I've started to move stuff to the new site, and one issue I noticed is this: there seems to be a difference in the template. Where my menu is blue in the old version, its white in the new one. Would you be so kind to have a quick look and tell me your thoughts on that? The old version can be seen at www.oxana.nl/dedmoroz and the new one at www.oxana.nl/dedmoroz25

Thanks!


Top
 Profile  
 
PostPosted: Wed Jul 25, 2012 8:30 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 18092
Location: Nijmegen, The Netherlands
I guess that it has to do with how you display your modules (style=xhtml etc).
the menu items are also vertical instead of horizontal.

See: http://docs.joomla.org/Customising_the_ ... _displayed
and this 1.5 (to get the idea): http://docs.joomla.org/Module_chrome

Also check the Module Class Prefix (in the module manager > menu module > under parameters / options).
Maybe in your old website the menu module has some Module Class Prefix that is missing in the new.

Furthermore I notices that you have used Artisteer to create the template.
I can't say that I am a big fan of that software because it creates too much overhead in the code.
Check the /html/ folder of your template, because maybe it contains template overrides that interfere with the layout.
e.g. modules.php for modules or /mod_menu/ for Joomla's menu module output.

_________________
Kind Regards,
Peter Martin, Global Moderator - Community Leadership Team
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 2.5 multilanguage in 10 steps: http://www.db8.nl/multilanguage-in-10-steps


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 5:38 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jul 21, 2012 8:03 pm
Posts: 10
Hello Pe7er, sorry for not replying sooner, I've been busy messing around with the hints you've given me, and I actually managed to get the correct colored bar in the correct position, but unfortunately I stumbled on the next thing; now the contents of my menu show below the actual menu bar, as simple, underlined text links.

If I may ask some more of your precious time, could you try to give me another hint? Once again, the url is http://www.oxana.nl/dedmoroz25. If it would be of any help to you I could give you some credentials to log in and see my mess, but as i can not PM yet (can read but not send) you'd have to PM me your email address for that.


Top
 Profile  
 
PostPosted: Sun Aug 05, 2012 10:35 am 
Joomla! Master
Joomla! Master

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 13613
Location: Akershus, Norway
You are using a template made by Artisteer. Module Chrome does not work the same way in those templates as with core Joomla. Do you use the version of Artisteer that is for Joomla 2.5?
Get more help in the developer of Artisteer's forum.


Top
 Profile  
 
PostPosted: Wed Aug 15, 2012 6:47 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jul 21, 2012 8:03 pm
Posts: 10
Hi Pe7er, it's me again.

I've tried converting to 2.5 but haven't been able to get the template working correctly yet. I did however manage to get the 1.5 version as I wanted, so that takes some of the pressure off of getting it to work in 2.5

Just one more short question regarding the 1.5 version. I have a page in category blog layout, that works fine in both Dutch and Russian now. However, on the Russian version of the page it now says "Meer artikelen" where I would obviously want that to be in Russian.

Any sugestions as to where to fix that? I checked the articles on that page, but they are all correctly set to Russian.

Thanks again,
Joost.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 



Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group