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.

Can't find previous revisions

April 11, 2011 1:41pm

Subscribe [2]
  • #1 / Apr 11, 2011 1:41pm

    weirandwong

    3 posts

    I’ve just logged into my control panel (which has lost all its styling?) after finding my website seems to be displaying some incredibly early templates that were created before the site was launched.

    on checking the revision history, it appears that the most recent revisions have quite simply disappeared?

    the odd thing is that the page content is definitely the most recent, but all the templates seem to be missing a whole series of records?

  • #2 / Apr 11, 2011 1:57pm

    weirandwong

    3 posts

    ok, so I’ve managed to find the template files that were saved out, and replaced these, and that seems to have partly fixed the problem

    if you look at http://www.stonebridgeprivate.com/ though, you’ll see that now there are some elements that no longer work, like the image carousel

  • #3 / Apr 11, 2011 4:49pm

    weirandwong

    3 posts

    ok I spoke too quickly, the template files that were saved out do not have the correct image file name references in them? they seemed to be pointing to the wrong place, at least as far as the live site went.

    So, I was able to preview in the CP, but not on the live site, so I had to amend the script to make it visible live, but not in the CP.

    I’ve managed to amend them in one section, but there is an image rotator script which accepts a matrix-style array, that is simply not picking up the correct values for the images. see stonebrideprivate.com to see the problem in the wild

    the template contains this code

    <div class=“span-3 last”>
          <div class=“image-rotator”>
            {page_image_matrix}
            <div>
              {site_url}{image_file}
              <!—<div class=“image-title”>{image_title}</div> —>
            </div>
            {/page_image_matrix}
          </div>
      </div>


    and the page_image_matrix value contains this code

    a:5:{i:0;a🔢{i:1;s:16:"large_home_4.jpg";i:2;s:11:"Westminster";}i:1;a🔢{i:1;s:17:"skyscrapers_1.jpg";i:2;s:11:"Skyscrapers";}i:2;a🔢{i:1;s:13:"Harrods_1.jpg";i:2;s:11:"Square mile";}i:3;a🔢{i:1;s:16:"large_home_5.jpg";i:2;s:14:"City of London";}i:4;a🔢{i:1;s:16:"large_home_1.jpg";i:2;s:12:"Canary Wharf";}}

  • #4 / Apr 12, 2011 5:45am

    John Henry Donovan

    12339 posts

    weirandwong,

    Please see your other post for my response. All this could quite simply be related to your server path changing. Esp templates

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

ExpressionEngine News!

#eecms, #events, #releases