Copied to clipboard

Flag this post as spam?

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


  • Jon T 18 posts 38 karma points
    Feb 11, 2011 @ 21:58
    Jon T
    0

    Umbraco created home page called 1088.aspx instead of default.aspx

    Somehow when I setup my Umbraco site locally, it created a home page with the name "1088.aspx" instead of default, even though on the properties tab the "Link to Document" field shows "/" -- which should be the "default.aspx" page.  How do I change my homepage to actually point back to "default.aspx" instead of 1088?  I have to manually key it into the URL to get there.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 11, 2011 @ 22:41
    Jan Skovgaard
    0

    Hi Jon

    What version of Umbraco are you running and what steps did you take in setting up Umbraco?

    /Jan

  • Jon T 18 posts 38 karma points
    Feb 11, 2011 @ 22:49
    Jon T
    0

    I am on umbraco v 4.6.1.   I just downloaded Umbraco the other day, created a Homepage called "Home" off of the root "Content" node.   I did have to delete the first Homepage page I created, and then I re-created it again.   Could this be the problem?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 11, 2011 @ 22:53
    Jan Skovgaard
    0

    Hi Jon

    No that should not be a problem.

    All nodes in Umbraco is created with a unique id. You can see the id by holding the mouse over the node and look in the lower left corner of the browser window to see the id of the created page.

    What is happening is that you for some reason get the (id).aspx (1088) instead of the (nodename).aspx (Home).

    I just can't figure out why it's happening and I must admit that I can't remember what setting you should check to see if it has been set correctly. I will keep you posted if I remember. Otherwise there's probably some other bright chap in here who can tell us :-)

    /Jan

  • Jon T 18 posts 38 karma points
    Feb 11, 2011 @ 23:00
    Jon T
    0

    Interesting.   All my other pages are named by the page title.   I wonder if I screwed up a config setting on the homepage document type.   Can anyone help?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 11, 2011 @ 23:03
    Jan Skovgaard
    0

    Have you based the installation on a starter kit or a package or anything like that?

    Could you perhaps post a screendump of the node and the possible settings on it?

    /Jan

  • Jon T 18 posts 38 karma points
    Feb 11, 2011 @ 23:09
    Jon T
    0

    Here are the 2 screenshots--one of the content section, one for the document type.   Thoughts?  

     

    Also, if I remember correctly, it was the "Business Starter Kit."

  • Jon T 18 posts 38 karma points
    Feb 15, 2011 @ 21:48
    Jon T
    0

    If I create a new macro called "TopNav" and select the "umbTopNavigation.xslt", what do I do with that after it's created?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 15, 2011 @ 21:57
    Jan Skovgaard
    0

    Hi Jon

    Once you have created an XSLT based macro you can insert it in your template in the "settings" section under the "template" folder where you can see all of your templates.

    You need to make sure that you have not just created an XSLT file but that there has also been created a macro referencing the XSLT file.

    I hope this makes sense?

    /Jan

  • Jon T 18 posts 38 karma points
    Feb 15, 2011 @ 22:07
    Jon T
    0

    Ok.    I created a new macro "TopNav", but I had to point it to the umbTopNavigation.xslt since there were no other navigation files.    Then in my template settings I pointed the main menu to pull the macro "TopNav", but I'm still getting the same issue--I'm guessing because it's still pointing to that XSLT file.  Isn't it the XSLT file that's causing the issue, or is it something else?   I'm new to Umbraco, so I'm still learning this stuff.   Any help is greatly appreciated!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 15, 2011 @ 22:19
    Jan Skovgaard
    0

    Hi Jon

    Ok...I think I have explained this badly.

    The problem will not go away by creating a new macro referencing the same XSLT file...that's for sure :-)

    Let's take it from the top. What I meant for you to try was to start completely from scratch.

    1) Go to the developer section

    2) Right click on the XSLT folder

    3) Choose "Create" and enter "Navigation prototype" in the field that appears, and from the dropdown select "Navigation prototype". Make sure the "Create macro" checkbox IS checked. Then choose to create.

    4) Insert the newly created macro into your master template in the "settings" section under "templates".

    5) How does this macro behave?

    I hope the above steps clarify things and makes sense to you. Otherwise just say so :-)

    /Jan

  • Jon T 18 posts 38 karma points
    Feb 15, 2011 @ 22:35
    Jon T
    0

    Ok, so I created a new XSLT file.  And then replaced the macro in the master template for navigation with the new macro.   Refreshed the page, and the "Home" button is gone from the navigation now.   As well, it's still not creating my "HomePage" as default.aspx or any of the other default pages, rather 1088.aspx.  Any more ideas?   This is insightful, and I feel like I'm getting closer, but still not quite there.

Please Sign in or register to post replies

Write your reply to:

Draft