Hey Rebecca, Can you check the Console tab in firebug and check for any errors? It would also be good to check the Net tab and look for any 400-404-500 responses.
Instead of seeing > <div id="widget_topnavigation" class="widget_inline">... You should be seeing something like this: <div id="topnavigationcontainer8630551" class="inline_class_widget_nofloat">... We use the widget_inline class to inject widgets into the page. - Christian On Aug 15, 2012, at 11:14 AM, Rebecca juanwang wrote: > Hi Christian : > > After I modify the 404 pages and 500 pages in the two places your > mentioned, the pages do change as I designed when I access a page that > doesn't exist. > But there are still some issues, both the topnavigation and footer widget > cann't be loaded. It looks like this: > <q.png> > > I checked the code by Firebug and both <div id="widget_topnavigation" > class="widget_inline"></div> and <div id="widget_footer" class="widget_inline > footercontainer"></div> were there, but the widgets weren't loaded actually: > > <2.png> > > > Could you please help me figure out why neither widget can be loaded on the > error pages? > > Thanks > Rebecca > > > > On Thu, Aug 2, 2012 at 3:11 PM, Christian Vuerings > <vueringschrist...@gmail.com> wrote: > Hey Rebecca, > > What are the exact paths that you are modifying? > > We currently have some duplication in our code for the 404 and 500 pages. > We have to modify them in 2 different places: > > /dev/404.html > /apps/sling/servlet/errorhandler/404.jsp > > I'm not a 100% sure what the reason is but I think the 1st one is for URLs > like > http://localhost:8080/content#p=mzfJ4Wo1aaaaa (where the id doesn't exist) > The second one will be used when you access a page that doesn't exist: > http://localhost:8080/YUHUNG > > For the second link, it does seem like you need to redeploy 3akai-ux in order > for it to work. > Ideally we would only have 1 page here (/dev/404.html). > > In the past I created a jira [1] to address this issue and made some > suggestions. > > > - Christian > > [1] https://jira.sakaiproject.org/browse/SAKIII-4717 > > On Aug 2, 2012, at 11:49 AM, Rebecca juanwang wrote: > >> Hi guys: >> >> I want to redesign the error pages: 404, 500, 403 . I deleted a div with an >> ID of error_content_second_column in order to delete the right part of the >> error pages. When I use the url: http://localhost:8080/404 to test the >> result, the right part was disappeared as I wished. >> >> However when a mistyped address (URL) was entered, it still went to the >> former error pages. Even though I have already deleted the right part, it >> still appeared on the pages. That makes me so confused. >> >> I really hope that some one can tell me how to solve this problem. >> >> Rebecca >> _______________________________________________ >> oae-dev mailing list >> oae-dev@collab.sakaiproject.org >> http://collab.sakaiproject.org/mailman/listinfo/oae-dev > >
_______________________________________________ oae-dev mailing list oae-dev@collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/oae-dev