Hi Rebecca

It looks like you're trying to tell the OAE that /aboutus is actually 
/aboutus.html. You need an extra step for the url to match your html file.
in the 3akai-ux/root/etc/map folder you'll find routes for all of our pages.
Your aboutus.html page file (filename: 3akai-ux/root/etc/map/aboutus.html.json) 
could look like this:

{
  'sling:match': '^[^/]+/[^/]+/aboutus(\.html)?',
  'sling:internalRedirect': '/dev/aboutus.html'
}

As you can tell this will match to /aboutus(.html) and point the system towards 
the html file in dev.
After getting that in place, do 'mvn clean install -P redeploy' and give it a 
few minutes to overwrite the changes.

Hope to help
- Bert

On 27 Jul 2012, at 05:53, juan wang <[email protected]> wrote:

> Hello guys:
> 
> I want to replace the footer left links and add some new links.
> I created some new html pages under the dev folder.
> Then I changed the config.js as this:
>  Footer: {
>             leftLinks: [{
>                 "title": "__MSG__ABOUT US__",
>                 "href": "/aboutus",
>                 "newWindow": true
>             }, {
>                 "title": "__MSG__HELP__",
>                 "href": "/help",
>                 "newWindow": true
>             },{
>                 "title": "__MSG__TERMS__",
>                 "href": "/terms",
>                 "newWindow": true
>             }
>                       ],
> But only the link texts  have changed. When I click those links, I got a erro 
> page: Page not found.
> 
> Could anyone tell me how to replaces and add new pages under the footer links?
> 
> 
> Regards
> Rebecca
> 
> _______________________________________________
> oae-dev mailing list
> [email protected]
> http://collab.sakaiproject.org/mailman/listinfo/oae-dev

_______________________________________________
oae-dev mailing list
[email protected]
http://collab.sakaiproject.org/mailman/listinfo/oae-dev

Reply via email to