Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rik Helsen 670 posts 873 karma points
    Aug 14, 2009 @ 11:08
    Rik Helsen
    0

    Working in Canvas mode

    I’ve been working with umbraco some more and have a few questions I’d like to ask:
    •    Is it possible to have the canvas editing toolbar appear for all pages where an admin has rights to make modifications?
    •    How would you handle creating new pages in canvas mode, when not all fields of the doctype of that page are shown in the page (but they are required for re-use in other sections of the website)
    In sharepoint we have something called a “editmodepanel” that allows us to display fields of choice only when a user is editing the content of a page, but not in ‘displaymode’
    •    Can an administrator user be member as well? Or do I understand it correctly that the members and users are two separate levels / groups of authentication with no real relationship between them?

    The reason I was having trouble with users <-> members if that I want to provide an “edit this page” link on the website for the admins, and there is some xslt for determining if a member  is logged on(isLoggedOn), but this then doesn’t work for the admins for some reason?

  • Chris Koiak 700 posts 2626 karma points
    Aug 14, 2009 @ 21:38
    Chris Koiak
    0

    Canvas is a tempting piece of functionality, but unfortunately limited at the moment.

    Instead I would output a link to umbraco/EditPage.aspx?id=45 (check this url) on the template. You won't be able to use IsLoggedOn as the member session is completely different from the User session. There will be a session parameter you will be able to check... I'm not sure what it is, but if you run you code in debug mode I'm sure you can find it.

    Cheers,

    Chris

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies