Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 02:33:44 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155506 Posts in 21711 Topics by 7737 Members
Latest Member: simpleguy
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: A page with the same or similar title exists  (Read 540 times)
mattis

Offline Offline

Posts: 2


« on: June 30, 2009, 02:07:14 PM »

Hi everyone!
I have a WebsiteBaker site that has several languages.
A lot of the menu names will be that same inn all the languages. My problem is here that when I try to give the menu item the same name (Product1) in a different language I get the error: "A page with the same or similar title exists"
I need these menu items to all be on the root level.
Is there any way a menu item can have the same name in a different language?

Thanks for any help on this  smiley

Cheers

Mattis
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: June 30, 2009, 02:52:38 PM »

Hello,

we have a ticket on SVN wich i think points to the same:

http://project.websitebaker2.org/ticket/567

Problem is that WB generates in the pages dir a file. The filename has no special chars. So there is no possibility to have the same name. One of the benefits of WB are the search-friendly urls. To reach what you want one option ist to change the Urls like other cms to something like "...?page_id=2" or to add the page_id to the pagename "home1.php", "home2.php" .... . Both needs a rewriting of the WB core and I'm not shure if it is then compatible to existing versions.

Matthias
Logged
instantflorian
Betatester
*
Offline Offline

Posts: 804



WWW
« Reply #2 on: June 30, 2009, 06:19:30 PM »

Hi Mattis,

some ideas...

you could name your Products for example "EN-- Product 1", "FR-- Product 1" etc.

1st solution: configure ShowMenu2 a way, that not the menu title but the page title is displayed.

2nd solution: use the Frontend Filter. So to avoid that the language abbreviations occur in the navigation, you set up an frontendfilter which erases EN--, FR-- etc.

Disadvantage: The URLs to the pages look like yoursite.foo/pages/en--product-1.php, but if you can live with this...

3rd solution: build a"tidy" multilangual website with subdirectories for every language...

Regards
instantflorian
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!