We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

TEMPLATE WITH BOTH TABLES AND LAYERS UPDATING WRONG

KATHYWEEKS
KATHYWEEKS asked
on
Medium Priority
153 Views
Last Modified: 2010-08-05
I have a tepmplate with tables and then pictures added here and there via different layers.  I designed a new template and am now trying to update all my exisiting pages only to find that the layers seem to disappear.  The pictures are there but they are no longer inside a layer they are just put in line within the table.  Also the text is all different sizes, so the whole page becomes out of whack.  Can some one point me in the right direction?
Comment
Watch Question

Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Hi Kathy,

When you say you "designed a new template", is it a totally different file or did you update the existing template to use layers instead of tables?

If the former, did you detach from the first template then apply the new one?

Author

Commented:
It is a totally different file.  How do I detach from the first template?  I will look this morning to see how.
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Modify | Templates | Detach From Template

Author

Commented:
Can you have a template based page with both tables and layers and expect for it to update correctly when a new template is attached?  I'm new at this.  From what has happened it looks like the layers just get thrown anywhere, they do not stay where I originally put them.  Is this because the template was not detached before applying the new?
Don't talk to me.
CERTIFIED EXPERT
Commented:
Applying a new template to a page that already has a template doesn't usually work that well.  You can up duplicating code (two HTML tags, two HEAD tags, two BODY tags, etc) in the non-editable regions and that can write invalid HTML which may result in the problem you are seeing.

I would copy the body content, start a new blank page, apply the new template, then paste the content into the new editable region.

Even if you detach the template first, the HTML is all still there.  Applying a new template may still cause the same issue.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.