-
AuthorPosts
-
Eric RAMAHATRA Friend
Eric RAMAHATRA
- Join date:
- September 2014
- Posts:
- 31
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
February 10, 2009 at 3:01 pm #137972I have enabled the SEF from admin panel then now , my default menu (home) is displayed as home.html on my website as just any other links.
I just would like to get it displaying “/” instead of “/home.html”
any idea ?
The menu id is not changed (1) and is by default.
edit : template : Corona, joomla 1.5.6
edit2 : just cleared everything and reinstalled a fresh Corona template (1.5.9) with everything by default but i still have the same problemisgroup Friendisgroup
- Join date:
- February 2009
- Posts:
- 70
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 4 times in 1 posts
February 10, 2009 at 6:03 pm #290494First of all,I would like to suggest you to upgrade your site to the latest Joomla 1.5.9 version first..
Then goto your MAIN MENU and edit your default menu item and remove its ALIAS.Thats it.
Enable your SEF again and check…Thats it!!
Eric RAMAHATRA FriendEric RAMAHATRA
- Join date:
- September 2014
- Posts:
- 31
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
February 10, 2009 at 9:15 pm #290517Hi
Thank you for your reply but it didn’t work!
Whenever I remove the alias property and save the menu item it just comes back.
I’ve just done it with a new installed Corona template wich is 1.5.9imsleepy Friendimsleepy
- Join date:
- January 2009
- Posts:
- 451
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 94
- Thanked:
- 45 times in 1 posts
February 10, 2009 at 9:55 pm #290520<em>@papango 111066 wrote:</em><blockquote>Hi
Thank you for your reply but it didn’t work!
Whenever I remove the alias property and save the menu item it just comes back.
I’ve just done it with a new installed Corona template wich is 1.5.9</blockquote>I am not sure, but I believe the SEF gets it’s address from the name assigned to the menu button. In this case, the main page for your site has a menu item of Home so SEF will show home.html. For instance, if you changed the name of the menu item from home to main then it would show main.html, at least that’s what mine does.
I don’t think there is any way to make that go away unless you disable the SEF function. If I am not mistaken, a website requires an actual index.php or index.html page to get only yoursite.com to show in the address bar. If you disable the SEF function then the index.php will show only yoursite.com but all of the other links will have those “unfriendly” urls.
Eric RAMAHATRA FriendEric RAMAHATRA
- Join date:
- September 2014
- Posts:
- 31
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
February 10, 2009 at 10:34 pm #290528You are right, if I change the home to whatever then the menu link will show whatever.html
But this seems to be an issue with Corona only, try to install JA_Quartz template (quickstart) for example, you won’t get any home.html but just a link to yourdomain.com
Same for JA_Zinc and many others I also tried.
That’s what I’m looking for.IMHO, the home link just have to point to yourdomain.com instead of yourdomain.com/whatever.html because the default file is already index.php
imsleepy Friendimsleepy
- Join date:
- January 2009
- Posts:
- 451
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 94
- Thanked:
- 45 times in 1 posts
February 10, 2009 at 10:47 pm #290531<em>@papango 111080 wrote:</em><blockquote>You are right, if I change the home to whatever then the menu link will show whatever.html
But this seems to be an issue with Corona only, try to install JA_Quartz template (quickstart) for example, you won’t get any home.html but just a link to yourdomain.com
Same for JA_Zinc and many others I also tried.
That’s what I’m looking for.IMHO, the home link just have to point to yourdomain.com instead of yourdomain.com/whatever.html because the default file is already index.php</blockquote>
I have Teline II, Quartz, and Uvite installed. I get home.html on all of them if I click on the Home menu item. Does not show home.html until menu item is clicked on… shows only mysite.com.I don’t think it is a huge problem. When site first opens it just shows mysite.com. but I agree, would be nice if home menu link was just mysite.com… small problem to get the SEF function though I think.
Eric RAMAHATRA FriendEric RAMAHATRA
- Join date:
- September 2014
- Posts:
- 31
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
February 10, 2009 at 11:14 pm #290536that’s really strange…
look at this one on wich i installed JA_Zinc : http://www.winknsmile.fr
You can see that the home link is just pointing to my domain name without any file…
The other links have files.The problem in this case is reversed : i try to get a home.html link on the home menu but despite on everything i do, the home menu still remains to mydomain.com 😀
imsleepy Friendimsleepy
- Join date:
- January 2009
- Posts:
- 451
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 94
- Thanked:
- 45 times in 1 posts
February 10, 2009 at 11:20 pm #290537Just looked at my Teline II site again. Now I remember the problem I was having. Home menu does indeed go to mysite.com not home.html. It’s the breadcrumbs that have been driving me crazy. I have a couple of submenu items under Home on the menu. When you click on one of those the breadcrumbs say Home : Home : Item. The first home is just mysite.com the second one is mysite.com/home.html. The only place that happens is with the menu items contained under Home. All the rest are fine. The magazine menu is only one that does this. All other menus don’t.
Guess I am going to have to plow through some files to see what I can find.
It’s an annoying problem, as is yours for you I am sure, but again, a small one to get the SEF function I guess.
Eric RAMAHATRA FriendEric RAMAHATRA
- Join date:
- September 2014
- Posts:
- 31
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
February 10, 2009 at 11:25 pm #290540note that if i disable SEF, my home menu points to “index.php?option=com_content&view=frontpage&Itemid=1” .
On every DEMO template from joomlart (look at the JA_QUARTZ one , here : http://www.joomlart.com/templates_demo.php?template=ja_quartz ) the HOME is pointing to the site root without anything else .The CORONA demo is there : http://www.joomlart.com/templates_demo.php?template=ja_corona
Notice that the home menu is like mine (very long url)This one is TELINE , wich has a SHORT home link
http://www.joomlart.com/templates_demo.php?template=ja_teline_iiSo the issue seems to be only with Corona ?
imsleepy Friendimsleepy
- Join date:
- January 2009
- Posts:
- 451
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 94
- Thanked:
- 45 times in 1 posts
February 10, 2009 at 11:45 pm #290542It would seem that way. I am going to download it and play with it tonight. If no one has a solution sooner, maybe I will come up with something tomorrow for you.
Don’t hold your breath… I am no php guru. I have a book called PHP for Dummies! Gets me through 😀 So far I have stumbled on my fixes purely by accident. Call me an accidental programmer I guess. So far the fixes have worked though.
Eric RAMAHATRA FriendEric RAMAHATRA
- Join date:
- September 2014
- Posts:
- 31
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
February 10, 2009 at 11:53 pm #290544i already tried various thinks like replacing index.php file from Corona with another template one without any success
may be it’s a “deeper” file …
I’m continuing to investigate further.🙂
Eric RAMAHATRA FriendEric RAMAHATRA
- Join date:
- September 2014
- Posts:
- 31
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
April 13, 2009 at 12:29 pm #301116Ok so i found a solution by hacking a bit a template file.
open the templates/ja_corona/ja_menus/Base.class.php
find arround line 163
$v->url = 'index.php?Itemid='.$v->id;
replace with
if (strpos($v->link,'frontpage')) $v->url = '/'; else $v->url = 'index.php?Itemid='.$v->id;
so it points the home.html to /
-
AuthorPosts
This topic contains 12 replies, has 3 voices, and was last updated by Eric RAMAHATRA 15 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum