ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Multiple Site Manager "CP Login" and "Edit This"

December 21, 2010 11:51am

Subscribe [6]
  • #31 / Jan 12, 2011 2:19am

    John Henry Donovan

    12339 posts

    dcghost,

    And another problem. When i have two windows in the same browser. One window has CP with current site A, and autorized as member who has access to A,B,C. Second window has site C with link edit_this to the entry. The link will not work because session keep site A as current. Site A does not have the entry of site C.

    This is default behaviour. The same if I was using MSM and just logged in normally to CP without any masking URLs and switched sites by opening second site in another browser tab. The first tab now needs to be refreshed as the session is for the second site.

    So what you are trying to achieve here with your client’s workflow is not going to work. Is doing away the Edit_this idea and just having them login to the CP on its own and switching and editing content between sites an option?

  • #32 / Jan 12, 2011 7:10am

    dcghost

    36 posts

    Is doing away the Edit_this idea and just having them login to the CP on its own and switching and editing content between sites an option?

    Not an option. Clients do not like it. Clients says “With WordPress we can edit content dirrectly on the page!” I can’t say anything about, just newer used WordPress. And I am not an expert with php or ee. But with ROR solution can be very simple.

    before_filter :force_current_site
    
    def force_current_site() 
      set_current_site( params[:site_id] ) if params[:site_id]
    end

    it can be done with routes too.

    I did not expect so long discussion about this. Anyway MSM has allot of limitattions and EE too. To fix single problem will not change the situation dramaticly. Thanks everybody. I will imagine the issure resolved.

  • #33 / Jan 12, 2011 5:07pm

    Ingmar

    29245 posts

    As John said, this is really a somewhat unusual setup. I am glad you found a solution of sorts. Please let us know if there’s anything else we can do for you.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases