Copied to clipboard

Flag this post as spam?

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


  • Thangapandi 4 posts 24 karma points
    Aug 28, 2009 @ 18:07
    Thangapandi
    0

    Document type and property for user control.

    Can i edit the content of the usercontrol by defining document type & properity tab. Or only It can be edited using resx file implementation?

    If resx file is used. designer or business user can edit the resx (resource) file in backend UI ?

    And How will i implement url rewrite for multi lingual site ( just url manipulation based on language).?

    Any idea on this pls

    Regards

    Thangapandi

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Aug 28, 2009 @ 20:42
    Dirk De Grave
    0

    Hi Thangapandi,

     

    It would be great if you could provide some more info:

    1. Editing content of a usercontrol by defining document types & property tab? I'm afraid you're a bit of track here. Document types define the structure of your data and has little to do (in fact none) with user controls, you use user controls (and macro's) to perform a piece of functionalit on the site.

    2. Don't really understand the question. Resx files are not supposed to be edited by business users I guess -> Can you be bit more specific or give some real life example of what you're trying to do?

    3. umbraco has built-in support for url rewriting. Again, you've not provided any examples or url's you'd like to rewrite, so it's hard for us people to know what exactly you want! If you want some info on url rewriting, I'd suggest to have a look at the official site http://www.urlrewriting.net

     

    Cheers,

    /Dirk

  • Thangapandi 4 posts 24 karma points
    Aug 28, 2009 @ 21:16
    Thangapandi
    0

    Hi Dirk,

    1. Curreny, we have developed a website, It has been implemented entire page as user control. if you want to add new web page to the existing web site. I will just add one user control. This user control will be loaded landing page.  ex: ( LandingPage.aspx?=id (usercontrol id=203). The Landing page will inherit header,foolter and navigation design from Master page. Only content area will be filled by then user control. I mean. entire content area of the website is usercontrol. In that case, how will i edit the content on my user control.

    2. Currently, I have the content of the usercontrol in a App_GlobalResource.ar-AE.resx file and localresource.en-US.resx file. Currently, If I want to change the content of the webpage, I will just update relavent resx file. and then change will be reflected.  when i go CMS, I think i have to change all the usercontrol as webpage. Becuase As i mentioned above. I have created entire webpage as usercontrol. So before changing my usercontrol in website. I thought of put this in the forum

    3. i want show the url based on user's (session) language selection, if you select "arabic website" i have to rewrite the url like  www.abcd.com/ae/homepage. When user changes other english www.abcd.com/en/homepage

    I hope i explained as you expected.

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft