On Wednesday, September 19, 2012 10:59:25 PM UTC+1, Marc Worrell wrote:
On 19 sep. 2012, at 23:44, Amiramix wrote:
On Wednesday, September 19, 2012 10:20:35 PM UTC+1, Marc Worrell wrote:Did you set the URL in the 'website' field of the 'address' block?
Setting the Website field doesn't work. The field is saved but the menu item still doesn't show the saved address. Only setting the Page path works, but then it assumes it's a path within the site, not an external URL.
Is your page of the category 'website'?
And what modules do you have enabled?
In the mod_base_site dispatch rules there is a rule:
%% Redirect controller for resource of type 'website'
{website, ["redirect", id, slug], controller_website_redirect, []},
This one is not available in the mod_base.
Maybe you can add it to your site's dispatch rules?
We are still moving some dispatch rule definitions around for the 0.9 release.
This dispatch rule is one of the those moving around.
The page_path is indeed only valid within the site.
I think the problem is with what is being shown in the menu, not what happens when the menu item is clicked, e.g. currently the menu item looks like this:
<li class="">
<a href="" class="" data-target="#">
Dashboard
</a>
</li>even thought Dashboard is defined as a page with category Website and with address/Website field set to
http://www.google.com. I guess it may be because the Page path is empty.
Modules that are currently active:
mod_acl_adminonly,mod_admin,mod_admin_category,
mod_admin_config,mod_admin_identity,mod_admin_modules,
mod_admin_predicate,mod_authentication,mod_base,
mod_bootstrap,mod_development,mod_logging,mod_menu,
mod_oauth,mod_oembed,mod_search,mod_signal
That's true. But go to Content -> Menu and click Edit at a page added previously as Embed URL or Embed code. Now the category shows Document and can be changed to whatever one desires. It must be this way that I added
www.google.com as an EmbededURL and changed its category to Website because I didn't know that to add the URL I need to create Page of category Website and then edit the Page to add the URL.