Copied to clipboard

Flag this post as spam?

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


  • Pete 213 posts 285 karma points
    Aug 03, 2011 @ 14:36
    Pete
    0

    Task / todo List

    Hi,

    I've got to write a script either xlst or ascx.cs, to allow tasks to be created on a task list page.

    So far I've got each task as a seperate node under a folder "tasks", so when you view the page it shows some example tasks.

    There is some input fields and textareas for each task and a update and remove/delete button.

    Can anyone give me some pointers as to writing a script to update and delete tasks(nodes), i'm guessing it's too much to be done in a xlst, and i need to get my head into the commands in a ascx anyway.

    Also depending on the user group I need the input fields to be labels instead of text strings and the delete button to be hidden.

    Any code overviews or snippets would be extremely helpful and appreciated.

    Pete.

  • Dan Diplo 1505 posts 5911 karma points MVP 4x c-trib
    Aug 05, 2011 @ 16:48
    Dan Diplo
    0

    If your tasks are nodes and you want to programatically remove them then you will probably need to use the Document API to do so. For instance, this page on the Wiki describes how to Unpublish a document.

  • 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