Copied to clipboard

Flag this post as spam?

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


  • dominik 711 posts 733 karma points
    Jan 18, 2011 @ 09:54
    dominik
    0

    Insatllation Problem

    Hello,

    I just installed the uComponents plugin but now I always get the following error:

    I am using Umbraco 4.5.2

    [NullReferenceException: Object reference not set to an instance of an object.]
    umbraco.controls.ContentTypeControlNew.setupInfoPane() +962
    umbraco.controls.ContentTypeControlNew.OnInit(EventArgs e) +258
    System.Web.UI.Control.InitRecursive(Control namingContainer) +132
    System.Web.UI.Control.InitRecursive(Control namingContainer) +420
    System.Web.UI.Control.InitRecursive(Control namingContainer) +420
    System.Web.UI.Control.InitRecursive(Control namingContainer) +420
    System.Web.UI.Control.InitRecursive(Control namingContainer) +420
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1953
  • Ronnie Hegelund 48 posts 710 karma points
    Jan 18, 2011 @ 10:34
    Ronnie Hegelund
    0

    Did it just happen after the installation, og when you try to use one of the controls?

  • dominik 711 posts 733 karma points
    Jan 18, 2011 @ 10:37
    dominik
    0

    everytime i want to click on any document type, media type etc.

    I just deinstalled uComponents and reinstalled it now i have got all datatypes three times.

    It look very strange

  • Ronnie Hegelund 48 posts 710 karma points
    Jan 18, 2011 @ 10:40
    Ronnie Hegelund
    0

    There is a uComponents module i the web.config, have you tryed to remove that?

  • dominik 711 posts 733 karma points
    Jan 18, 2011 @ 10:43
    dominik
    0

    yes i removed it by hand but after reinstalling all datatyes are appearing very often. It seems they have not been deinstalled.

    I now try to use the URL picker, which is displayed but it always redirect to a site like /content/name-of-site.aspx instead of going to the external URL

    I deleted all datatyes which were appearing twice or more.

     

  • dominik 711 posts 733 karma points
    Jan 18, 2011 @ 11:15
    dominik
    0

    if i try to use toggle box i get this error if i go to the content section

     

    [NullReferenceException: Object reference not set to an instance of an object.]
    uComponents.Core.DataTypes.ToggleBox.TB_Control.CreateChildControls() +85
    System.Web.UI.Control.EnsureChildControls() +181
    System.Web.UI.Control.InitRecursive(Control namingContainer) +132
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +276
    umbraco.cms.businesslogic.datatype.AbstractDataEditorControl.OnInit(EventArgs e) +116
    System.Web.UI.Control.InitRecursive(Control namingContainer) +132
    System.Web.UI.Control.InitRecursive(Control namingContainer) +420
    System.Web.UI.Control.InitRecursive(Control namingContainer) +420
    System.Web.UI.Control.InitRecursive(Control namingContainer) +420
    System.Web.UI.Control.InitRecursive(Control namingContainer) +420
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +276
    umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +8817
    umbraco.controls.ContentControl.CreateChildControls() +1428
    System.Web.UI.Control.EnsureChildControls() +181
    umbraco.controls.ContentControl.OnInit(EventArgs e) +126
    System.Web.UI.Control.InitRecursive(Control namingContainer) +132
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +276
    umbraco.cms.presentation.editContent.OnInit(EventArgs e) +2117
    System.Web.UI.Control.InitRecursive(Control namingContainer) +132
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1953
  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Jan 18, 2011 @ 11:23
    Lee Kelleher
    0

    Hi dominik,

    To clarify a few things...

    1. Are you still getting the error/exception when you click on a document-type / media-type?
    2. Which data-types (from uComponents) are you using in your document-types?
    3. The Url Picker will not change the generated URL of content node/page - it is intended to be used within your templates/macros/code (.NET, XSLT, etc)
    4. There is a bug in the uninstaller - (also a bug in Umbraco v4.5.2) - meaning that it wont delete the data-type (stubs) ... this is why you have duplicate data-types.

    From what you've said, it seems that there is nothing wrong with the installation - but rather how the specific uComponent data-types are set-up.

    Cheers, Lee.

  • dominik 711 posts 733 karma points
    Jan 18, 2011 @ 11:27
    dominik
    0

    so how can i use the URL picker? is there a documentation. Cant find anything. If i set the url the link is not redirected to the url i set up.

    Can you please describe how this could be done?

     

    Thanks

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Jan 18, 2011 @ 11:30
    Lee Kelleher
    0

    The documentation for Url Picker is here: http://ucomponents.codeplex.com/wikipage?title=UrlPicker

    Take a look at the ProWorks Redirect Page package - I believe that it will do what you are trying to achieve!

    http://our.umbraco.org/projects/website-utilities/proworks-redirect-page

    Cheers, Lee.

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Jan 18, 2011 @ 11:33
    Lee Kelleher
    0

    HI dominik,

    For the ToggleBox error... you'll need to go to the DataType's Prevalue Editor and confirm the settings (just hit save).

    Its a known bug with the uComponents installer - we'll fix it for the next release!

    Cheers, Lee.

  • dominik 711 posts 733 karma points
    Jan 18, 2011 @ 11:33
    dominik
    0

    This document i read before.

    But if i setup a URL like it is described i am not redirected to the URL.

    I want to use this uComponent plugin because there is a "open in new window" checkbox.

    So how can i setup a working external link via URL picker?

  • dominik 711 posts 733 karma points
    Jan 18, 2011 @ 12:06
    dominik
    0

    It would be really nice to get a little information about how to integrate this. I thought if there is the possibilty to define an external Link it would be able to redirect to this link.

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Jan 18, 2011 @ 12:10
    Lee Kelleher
    0

    You can't override the URL that Umbraco generates for a content node/page.

    If you want to use the uComponents Url Picker - then there is custom work that you'll need to do in your template/macro code.

    I have no idea where you are trying to use the external link ... so post up your existing code snippet - and we'll try to help - can't be fairer than that!

    Cheers, Lee.

  • dominik 711 posts 733 karma points
    Jan 18, 2011 @ 12:15
    dominik
    0

    I created a new document type called "ExternalRedirect"

    If i create a new navigation point (under content) called "twitter" and choose "ExternalRedirect". On the Seeting of this document type there appears the settings of the Url Picker. Now i want to redirect for example to twitter.com and checked the "open in new window"

    Now i thought the user who clicks on "twitter" in the navigation will be forwarded to twitter.com but instead there is created a new site /content/twitter.aspx

     

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Jan 18, 2011 @ 12:46
    Lee Kelleher
    0
    // You can't override the URL that Umbraco generates for a content node/page.

    See my last post - it still stands - you'll need to have some custom code in your template/macro.

  • dominik 711 posts 733 karma points
    Jan 18, 2011 @ 12:48
    dominik
    0

    Yes but why is there the possibilty to use external URL if it is not working?

    This is confusing

    Now i have to know how to integrate this in my template so it is working

     

    Thanks

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Jan 18, 2011 @ 12:53
    Lee Kelleher
    0

    The Url Picker is not intended to replace the URL for the content node/page.  It is meant for selection of a URL (whether that be another content/media node or an external URL) to be used as data in your templates/macros.

    Did you take a look at ProWorks Redirect Page package? I still think this will solve your problem here.

    Cheers, Lee.

  • dominik 711 posts 733 karma points
    Jan 18, 2011 @ 12:58
    dominik
    0

    But if it is able to select a external URL it could not be redirected to?

    The Pro Works Redirect Page does not provide a checkbox to open in a new window or?

     

  • dominik 711 posts 733 karma points
    Jan 18, 2011 @ 13:20
    dominik
    0

    Ok i downloaded this package nd it works.

    But there is no checkbox to edit if it should open in a new window. Is there any way to integrate this feature?

     

    Thanks

  • 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