Stupid automatic suffix to aliases :(

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Tomasahl
Posts: 58
Joined: Thu 10. Mar 2005, 11:13
Location: Sweden
Contact:

Stupid automatic suffix to aliases :(

Post by Tomasahl »

This is a pretty stupid thing I find. I try to create a new"Home"-level under the "root"-level (see my other posting on multilanguage solutions and the unsolvable crap I have encountered).

So i tried to do as I got an advice to do - to put the swedish version right in the root without any refresh. And it worked, but the english version disappeared and still no HOME-link in the menu.

So I thought "better to move it back again so I at least can use both languages" - and not to my surprise there was no way in hell to get the alias in the "home" directory to be "sw-homepage". Noooo!!!
By some idiotic reason I get an automatic suppix, so it is called "sw-homepage_swkj" and so on. So I delete and try again ... I get something like :"sw-homepage_blahblah".

I feel I am only guessing now and don't know what i am doing. To get it to work in some way I now changed the "sw" to "se" instead. But that can't be the "real" solution to avoidingthese suffixes.
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Post by culda_a »

Hi
By some idiotic reason I get an automatic suppix, so it is called "sw-homepage_swkj" and so on. So I delete and try again ... I get something like :"sw-homepage_blahblah".
You get that becouse you have another alias that is identic with the new that you have created

for exemple

for eng language

en_about

de_about

like that it shoul work but if you have

en_about

en_about

to the last one after you make save it will automaticly creat tha sufix like

en_about

de_about_xyj

normaly you have to be carefully not to have 2 tha same check the prefix to the second language not to be the same like the first.

try to use this format
en_about

de_about
not
en-about

de-about
Like this is the original format from Pepe
ImagePackging design,labels, catalogs,postcards,
Tomasahl
Posts: 58
Joined: Thu 10. Mar 2005, 11:13
Location: Sweden
Contact:

Post by Tomasahl »

Thanks for your answer, but actually no i have not.But I guess then that it is something that is saved i phpwcms somewhere (in the cache or in the sqldatabase?) so i can delete that and then get it right? The problem came because i wanted to make a new alias that had the same name as one i had deleted - so it ought not to be a problem.
Anyway - thansk for answerring.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

the Problem comes from a used and deleted Alias - the Database entry is not deleted by deleting a Structurlevel, its just marked as trash. To fix this, goto your Database with phpMyAdmin and delete the Records where trash=9
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Tomasahl wrote:Thanks for your answer, but actually no i have not.
I'm afraid, you're right, that once you have used and deleted it... it is stored already and compared against when you try to re-use it! So, "existing" -or- "already used"!:wink:
Tomasahl wrote:But I guess then that it is something that is saved i phpwcms somewhere (in the cache or in the sqldatabase?) so i can delete that and then get it right?
Yes, inside table phpwcms_articlecat -and- phpwcms_cache (if caching is enabled) are when they are "live". :D
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Post by culda_a »

Right or that :wink: in a more technical explaination and elaborated
ImagePackging design,labels, catalogs,postcards,
Post Reply