For my workflow if I want to do modules on all pages except the homepage I use the module setting 'all except'
The problem are not the modules you want on all pages except
home, but the ones you want only on the home and that
instead are popping out at unexpected places.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.
... or, as Hannes suggests, find out a B/C way:
Except it's not B/C if you repurpose an existing API/structure, no matter how many proxies you put in front of it. So you have to introduce new API, but it can't be JMenu::(get|set)Default() because that's already mapped to what the UI calls the home page. So you could add JMenu::(get|set)Home(), but what do you call it in the UI because we're already calling the default item the home page? So say we go forward with that proposal and now you have two columns in the menu table, "home" and "default", but in reality "home" indicates the default menu item and "default" indicates the home menu item, confused yet?
Yes, it's easy to add the code, but from a workflow perspective, none of it makes any sense whatsoever right now. It's all mapped in a way that's seriously bass ackwards and trying to add on top of that just makes it more confusing.
It really isn't a big deal having modules display on pages other than what you consider the "true" home page. Because in a properly built website, nothing's going to FUBAR the routing to a point where you get that scenario. Sure, one can manipulate Joomla's routing all day long with GET variables and create interesting pages, but that's honestly a side effect of a system with too many overrides at too many levels.
Please pardon any errors, this message was sent from my iPhone.
Urgent? no (at least as far as regard myself)
Advisable? Probably yes, to make life easier to new users adopting
Joomla
As you correctly pointed out the mismatch between the API and UI
terminology is an "original sin" of which we are now paying
the consequences, but there is nothing we can do about that, I
guess : API (developers)=default, UI (users)=home
From a "coder" point of view, absolutely.
From a "marketing" point of view, hardly...
(But I'm grossly going OT)
imho the default menu item is not the Home page it is the landing page.
What is the landing page if not the home page?
What is the landing page if not the home page?
The 'Landing Page' is the default page for www.site.com. Sometimes the site admin wants a 'splash page' as the 'landing page' but don't want the visitor to return to the 'splash page' when the menu item called 'Home' is clicked. In that scenario the 'Splash Page' is Landing page and the site Home Page is separate to it.
DirectoryIndex index.html index.shtml index.php index.htm default.html Default.htm default.html Default.html default.shtml Default.shtml page1.html index.pl index.cgi index.php3 index.phtml home.htm home.html home.shtml index.wmlIf you are on a VPS or Dedi you can edit this (ordering) to your needs however no options for shared hosting users are available for ordering this. This is the reason for example that you can easy take your site offline in the most basic form with an index.html in the root which precedes over the Joomla index.php. So in your scenario site.com would be with a default Apache settings "site.com/index.html"
I am not sure how Joomla arranges for this but it looks for 'index.php" as per htaccess settings in core Apache I think and so 'home.html' as Robert gives in his question (if I understand your question correct) is never going to be the 'home-page' but could be as Brian mentioned earlier correct the 'landing page'
What, then, are the respective URLs?
www.site.com for the landing page
and
www.site.com/home or www.site.com/home.html for the HOME page?
The question is, if we should change this behavior and define both a
home and default menu item. The home menu item would be responsible for
the homepage, while the default menu item would be the fall back for all
non-existing menu items.
The home menu item would be responsible for
the homepage, while the default menu item would be the fall back for all
non-existing menu items.
Default has specific meaning on a web server
The way you phrase the question it makes more sense now.
Home is just a labelDefault has specific meaning on a web server