Copied to clipboard

Flag this post as spam?

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


  • Petr Snobelt 923 posts 1535 karma points
    Aug 03, 2009 @ 09:14
    Petr Snobelt
    0

    Generated URL

    Hi,

    is it possible to use AutoFolders in tree only without impact on article's url?

    It will be great if I can have news stored in date tree (for better orientation), but url of news should not contain date (for seo reasons).

    Thank you

  • Chris Koiak 700 posts 2626 karma points
    Aug 03, 2009 @ 09:59
    Chris Koiak
    0

    Hi Petr,

    There is a similar package from Tim Geyssens, AlphabetFolder, where he was asked a similar question... his response:

    "Url will change ..., but you can use umbracoUrlAlias to still have the ‘dog’ url. (http://www.mortenbock.dk/codegarden-08-hidden-gems-84.htm)"

    Maybe I'll add autoediting of this field as a option to the package.

    I hope this helps.

    Chris

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Aug 03, 2009 @ 11:58
    Morten Bock
    0

    You could also write an INotFoundHandler that searches for the appropriate news item. I'm thinking of doing this for my blog for the same reasons as you.

  • Petr Snobelt 923 posts 1535 karma points
    Aug 03, 2009 @ 14:34
    Petr Snobelt
    0

    Hi Chris,

    AutoEditing umbracoUrlAlias should help but

    as I already wrote in comments to AlphabetFolder, can be great if it works virtually: In tree then can be: today, yesterday, last week (as in outlook inbox) or after some settings change: 2009_06, 2009_05 etc or 2009 with subfolders etc.. And it will be great if it have no impact on article's url. It's only about presenting data at backend. If it works virtually there is not problem to use it on folders, which already contain content, without loosing external links.

    And it opens another possibilities like this:

    * folder
     - sorted by created date
       - 2009
       - 2008
     - sorted by creator
     - sorted by last edited date
       - This week
       - This month
       - Last year

     

  • Chris Koiak 700 posts 2626 karma points
    Aug 03, 2009 @ 15:15
    Chris Koiak
    1

    Hi Petr,

    I'll add this functionality to the next release; the functionality will probably be as Morten suggests. Although I'd like to not have to add another config option somewhere, ideally I'll be able to hook directly to an event.

    I'll also create an xslt extension method autofolders.NiceUrl (extending umbraco.library:NiceUrl) that can be used to generate your reduced Url's. This will devolve the truncating of a url to the specific IFolderProvider that created it in the first place.

    Don't know when the next release will be, but hopefully very soon. Better make the changes while there's some interest.

    Cheers,

    Chris

  • Chris Koiak 700 posts 2626 karma points
    Aug 04, 2009 @ 19:53
    Chris Koiak
    100

    This issue should now be solved with the release of AutoFolders 1.1.

    Version 1.1 now supports the ability for the generated folders to not effect the final URL. This is achieved by the creation of a new 404Handler combined with the xslt extension autofolders.library:NiceUrl().

    I've also added a new FolderProvider, called AlphaFolderProvider, that supports auto creation of folders based on the first character of the page name (i.e a-z folders)

  • Petr Snobelt 923 posts 1535 karma points
    Aug 05, 2009 @ 08:23
    Petr Snobelt
    0

    Thank you Chris

  • Sa 118 posts 152 karma points
    Sep 08, 2009 @ 14:06
    Sa
    0

    hi... do you store all these datas in config file?

  • Sa 118 posts 152 karma points
    Sep 08, 2009 @ 14:09
    Sa
    0

    i need <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-ansi-language:DA;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-ansi-language:DA;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> When creating a new page in the content area of a specific document type it should be store in config file.. is it possible..do i have to use all class file here?

  • Sa 118 posts 152 karma points
    Sep 08, 2009 @ 14:09
    Sa
    0

    i need When creating a new page in the content area of a specific document type it should be store in config file.. is it possible..do i have to use all class file here?

  • Chris Koiak 700 posts 2626 karma points
    Sep 08, 2009 @ 17:12
    Chris Koiak
    0

    Hi,

    Sorry, I don't really follow your request.

    Autofolders automatically moves newly created pages into defined folders. The definition of what doctypes this is applied to is specified in the /config/autofolders.config file.

    You will need all the dll files in the package for this package to operate correctly.

    Cheers,

    Chris

Please Sign in or register to post replies

Write your reply to:

Draft