1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Missing step in documentation

Missing step in documentation

9 posts, 0 answered
  1. ddblee
    ddblee avatar
    20 posts
    Registered:
    24 Jul 2008
    18 Sep 2008
    Link to this post
    The page at
    http://www.sitefinity.com/help/developer-manual/extending-built-in-controls-content-view-control.html

    is missing a step in PART 3. Step 2 says,
    "Copy the following files to the folder created in previous step:"
    but then lists no files. Additionally, step 3 is missing.


  2. Randel
    Randel avatar
    50 posts
    Registered:
    30 Aug 2012
    18 Sep 2008
    Link to this post
    ddblee,

    1. I see what you are talking about and can understand your confusion.  If you take another look, you'll see step 4 and 5 are actually references to the files you are supposed to copy.  Step 4 points to the Item List template and step 5 points to the Single Item template.  It looks like the instruction were typed in Word, with Numbering on, and somehow it simply got out of sink.

    FYI, I just walked though the article and taking into consideration what I've just said, all works just ducky.  Hope this helps.

  3. Randel
    Randel avatar
    50 posts
    Registered:
    30 Aug 2012
    19 Sep 2008
    Link to this post
    ddblee,

    Actually, I've misspoke twice.  I'm actually having a bit of a problem getting my actual pictures show up (the control is there, with a red "X") and two, I believe the instructions reference the wrong template; it reference "~/Sitefinity/Admin/ControlTemplates/Generic_Content/ControlPanelInsert.ascx" in both step #2 and #3.  I think they actual control for editing is supposed to be "~/Sitefinity/Admin/ControlTemplates/Generic_Content/ControlPanelEdit.ascx".

    I hope this helps and if someone can assist with my pictures, I's appreciate it.
  4. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    19 Sep 2008
    Link to this post
    about the pictures, if you're using the library module, make sure the isapi mappings exist in IIS as outlined here: http://www.sitefinity.com/support/forums/support-forum-thread/b1043S-behgec.aspx.

    if you're using actual image files, try right-clicking the red x and select properties to see if the image is being referenced and from where, it might be pointing to the wrong folder (i do this all the time!)

    hope that was helpful.
  5. Randel
    Randel avatar
    50 posts
    Registered:
    30 Aug 2012
    19 Sep 2008
    Link to this post
    Hi SelArom,

    I'm actually using image files and I've tried all kinds of URLs, currently it's set to: "~/Images/MyPicture.png"  and when inside my browse I right-click the image, the Address (URL) is displayed as: "http://localhost/ExtendContentPOC/".

    I don't know, I feel like I'm missing something.  But I don't know what it is.  Do you have any more suggestions?

  6. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    19 Sep 2008
    Link to this post
    is this a regular html image tag using img or the asp:image control? html image tags wont recognize the ~ character. if you want to use a virtual reference with the ~ you have to use an asp:image control OR you can use Page.ResolveUrl("~/path") to get the full non-virtual link to the image.

    hope that was helpful!
  7. Randel
    Randel avatar
    50 posts
    Registered:
    30 Aug 2012
    19 Sep 2008
    Link to this post
    SelArom,

    I'm using an asp:Image control, here is the line(s) I'm using.

    <!-- -->
    <asp:Image ID="Author_Picture" runat="server" />
    <!-- -->

    But I'll be honest, I'm attempting to step through my code right now and see exactly what string is being sent/set, it doesn't look like it's getting the correct value.

    Again, great thanks for your help and even more for your quick replies.

  8. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    19 Sep 2008
    Link to this post
    happy to help although I'm sorry i couldn't be more helpful. best of luck debugging :)
  9. Randel
    Randel avatar
    50 posts
    Registered:
    30 Aug 2012
    19 Sep 2008
    Link to this post
    SelArom,

    FYI, I just figured out what I was doing wrong.  Remember, I said I was missing something?  Well, if you hard code a value, you better make sure it's correct.  So in other words, I had a typo in my source code.

    But again, thanks for the help.
Register for webinar
9 posts, 0 answered