• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: CGBlog multilanguage, pretty urls, detail pages/templates
PostPosted: Mon Apr 30, 2012 11:25 am 
Offline
Forum Members
Forum Members

Joined: Sat Jun 06, 2009 12:42 am
Posts: 59
Hello,

I am having a really hard time with CGBlog right now. I am using cmsms 1.9.4.2 and CGBlog 1.7.5.

I have French and English categories, that have the word "english" in the name, because they have the same name in French and English, so I had to make a distinction. I also have a lot less articles in English then French, so for now, the English does not need to have separate pages for each categories, but French does.

I have a 2 languages site, andn CGBlog is used on the French blog page and English blog page. Here is how my tags are constructed in both languages:
FR:
Code:
{CGBlog summarytemplate="sommaire-page-blogue" pagelimit="5" detailpage="blogue" category="Magic the Gathering-Français,YuGiOh-Français,Pokemon-Français,Jeux de société-Français,Divers-Français"}

EN:
Code:
{CGBlog summarytemplate="sommaire-page-blogue-en" pagelimit="5" detailpage='blog' category="Magic the Gathering-English,Divers-English" detailtemplate="detail-en"}


Because I am using pretty urls, I had to choose a default page for my posts, and I chose the french blog page.

My question: why won't CGBlog just go to the desired page and use the desired detail template specified in my tag? Right now, all my English post open up in the French version of the site, which evidently does not work for us. And, not as bad because it is the right language, but all my French posts open in the blog page, and not the specified one in my tag.

So is there anyway to achieve this?


Top
 Profile  
 
 Post subject: Re: CGBlog multilanguage, pretty urls, detail pages/template
PostPosted: Mon Apr 30, 2012 11:34 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 5069
Location: The Netherlands
Hi

I made this post once, it is in Dutch but the bigger part of the post is (smarty) code. I hope you can use it viewtopic.php?p=259861#p259861
It is based on my other ML-post here viewtopic.php?f=4&t=48112 in English

Grtz. Rolf

_________________
Dutch CMSMS community website cmsms.nl and Wiki wiki.cmsms.nl
--------------------------
My CMSMS Tips and Tricks Weblog and website about Pneumatic Tube Systems / Rohrpost
My other (Dutch) website: Smakelijk eten zonder zout (Design: Compufairy)


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

All times are UTC


Who is online

Users browsing this forum: No registered users


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

Search for:
Jump to:  
A2 Hosting