Copied to clipboard

Flag this post as spam?

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


  • Sander Houttekier 114 posts 163 karma points
    Jun 01, 2010 @ 12:07
    Sander Houttekier
    0

    textchanges

    This looks very nice, and adds an easy way for customers to see at glance that they shouldnt edit this page (texts won't be displayed etc, unless they are used trough the recursive functionality)

    so what i was wondering:

    is it possible to change what is displayed in the notification?
    either, trough a config file with certain {#linktourl#] parameters that will be replaced with the links?
    that way we could really make it fit for every website.

    for example: in website x you would like to have it say: "all the redirect stuff, if you want to change where people are redirected to, please edit the "select redirect page" property"

    while in another you would say,  "people visiting this page will be redirected, content changes on this page will not be visible to them, though adding links on the related links tab will be visible on every page"

    just giving examples of the top of my head....

    another addition if you would work with a config file, you could add multiple nodes in the config file, with a parameter for localisation, EN-GB,  NL-BE ..
    so umbraco users that have set their language to dutch can view the message in their own language. (not sure if a config file is the best way to do this, but just giving ideas to think about)

     

    In any case, very nice addition to our list of packages i'd install on any site for customer ease of use :)
    thanks

     

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 01, 2010 @ 13:43
    Matt Brailsford
    0

    Hey Sander,

    Nice Ideas. I was thinking about the languages today, and was going to look at adding them to the umbraco ui xml files, that way you can perform translations more easily, and the choosing is already taken care of. What do you think? Or would you prefer are more easily managable way using a config file?

    With your other query, do you mean having different messages within the same umbraco instance?

    Many thanks

    Matt

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 01, 2010 @ 13:45
    Matt Brailsford
    0

    I guess which ever config route you went, you could add an attribute for the domain and then use the configured domain for that site to do the lookup?

    Was also toying with the idea of extending it beyond redirect (ie umbracoNaviHide)

    Matt

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jun 03, 2010 @ 11:23
    Lee Kelleher
    0

    Hi Matt,

    Mixed feeling on using the Umbraco UI XML files (i.e. /umbraco/config/lang/en.xml) for localisation - as they'd be overwritten with upgrades. It would be nice to re-use core functionality, but upgrades would be a nightmare!

    A separate config file would be the best way to maintain translations.

    You other suggestion about extending to use "umbracoNaviHide" - great idea!  Sometimes my clients forget that they'd set a content page as hidden, so a visible notification is good!

    Cheers, Lee.

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 03, 2010 @ 11:53
    Matt Brailsford
    0

    Cool,

    Thanks Lee, custom translation config it is

    Shouldn't be hard at all to add umbracoNaviHide, though may have to change the project name =)

    Matt

  • Sander Houttekier 114 posts 163 karma points
    Jun 10, 2010 @ 16:33
    Sander Houttekier
    0

    Hi,  sorry to get back to you so late

    but yes, translations are nice, and custom config is as argumented the best way because of the updtes.

    my other question to you was in fact 2 differnt messages for a site
    although i'm not sure as if domain filter would be a good option.
    it is possible to host more sites in 1 umbraco and if they have 1 master account for the umbraco and always use the same link, even to update subsites, then they would see the message bound to the masteracounts domain name used...

    i might be thinking to far here, but what do you (and others) think of this:
    adding a filter  on document type. 

    if lets say you have umbracoNaviHide or umbracoRedirect on a textpage you can give another message than on another type of page
    by default your filter would be * for every document type, but if people want they can specify doctype aliases and maybe multiple config records for different doctypes. (just an idea, that rolled of my tongue just now, i'm going to think on it myself too...)

     

    about your expansion idea to umbracoNaviHide, i might have another one.

    displaying a message that a node does not have a template bound to it.
    message could then be something like "this node might be used in lists but does not have a page of its own, add a template in the properties tab to give it its own page" again, food for thought... not really an actual request

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 10, 2010 @ 21:18
    Matt Brailsford
    0

    Hey Sander,

    Some nice ideas, doctype filter sounds like it should work, and I like the "no bound template" idea.

    Am a bit busy at the mo, but will definatly do an update with these things as soon as I can.

    Matt

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 14, 2010 @ 12:54
    Matt Brailsford
    0

    Hmmm, I've just had a thought, what would people think to the following?

    Im thinking of making the project "Page Notifications". I'm also thinking that I make the condition logic part of the config, that way, you can create custom notifications which check properties on the doc type? I'm not sure the best way to allow people to configure the conditions, but it should be possible one way or another.

    What do you think?

    Matt

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Jun 14, 2010 @ 13:00
    Ismail Mayat
    0

    Matt,

    There is a package already for seeing notifications see http://our.umbraco.org/projects/notifications-dashboard not exactly like your intended idea but you could reuse some of the stuff in there?

    Regards

    Ismail

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 14, 2010 @ 13:08
    Matt Brailsford
    0

    Hey Ismail,

    I'll have a look, but it doesn't look quite like what I'm after. This package is capable of displaying a message which says something about the state of the current page you are editing. I just need a way of defining the conditions within a config file. It would be easy for me to hard code them in (which is what it does now) but it would be cool to be able to configure them.

    Will have a look though to see if there is anything that might be usefull.

    Matt

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 14, 2010 @ 13:12
    Matt Brailsford
    0

    Not sure what the overhead would be, but I could define them as XSLT/XPATH conditions, and get the XML for the current node and do it that way.

    What do you think?

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft