Copied to clipboard

Flag this post as spam?

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


  • Phani Kumar A V N 6 posts 26 karma points
    Feb 19, 2014 @ 10:36
    Phani Kumar A  V N
    0

    read from folder is not working for me (Installed uSync1.5.8.2 on umbraco 6.1.6)

    Hi,

    I am new to use uSync. However, I followed the steps provided in documentation given. 
    

    I had below settings in my umbraco instance

    When i change something and save, the respective file in folder getting updated with appropriate data.
    
        Ex:- I changed a template which causes changes in "def.config" file available in uSync\Template\umbMaster\umbHomepage\
    
      However, if some content changed in this file is not reflecting in respective template. Please let me know, what i am missing here?
    

    I know, this is basic functionality of uSync. I tried my best with all possible ways i feel. However i am not sure what mistake i made. your help is much appreciated.

    Regards, Phani Kumar A V N

  • Dan Lister 416 posts 1974 karma points c-trib
    Feb 19, 2014 @ 10:45
    Dan Lister
    0

    I believe changes are only saved to disk (def.config) when you edit your templates through Umbraco. If you make a change to your template outside of Umbraco, uSync doesn't know that your template has changed. If you have changed your template outside of Umbraco, you can either update your template's def.config manually or remove all your uSync files and restart your application. This will generate an updated snapshot of your installation.

  • Phani Kumar A V N 6 posts 26 karma points
    Feb 19, 2014 @ 10:54
    Phani Kumar A  V N
    0

    Sorry, if i don't communicated properly. The change of mine is showing in def.config file and my umbraco instance i running and the respective change is not reflected in the template showing under templates.

    Please let me know, if still i am not clear.

  • Kevin Jump 2309 posts 14673 karma points MVP 7x c-trib
    Feb 19, 2014 @ 11:38
    Kevin Jump
    0

    Hi

    With Read set changes only go into umbraco when the app pool is restart (i.e you touch web.config)

    but

    for templates - after the initial sync (if the template doesn't exsit usync creates the template and the db entry) - for every subseqent sycn - usync only does the structure (i.e. template master) - this is the bit stored in the Database.

    the actual code in the template is stored on disk (in MasterPages or views depending if you are using Forms or MVC) - you need to keep that folder in sync.

    usync keeps the db bits in sync but not stuff that is also stored on disk, so the same is true for stylesheets (where usync will keep the properties in sync but the css on disk will not be touched)

Please Sign in or register to post replies

Write your reply to:

Draft