Announcement

Collapse
No announcement yet.

wheres my new fragment layout defintions?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    wheres my new fragment layout defintions?

    Iv'e been playing with fragments and created new layouts etc without (too many ) problems.
    I then swap the theme to "Clean CSS Layout", display the page again and the new fragments are NOT being handled correctly. so...

    When click on the frgament, I go to the Layout tab, and try to change it to my new layout I created. Problem is, the new layout is NOT in the list.

    question: How do I find/set the layout to my new design when it doesn't appear in the list?

    If I try to re-create the layout using the same name, then "Layout with the same name already exists in the library" - so where is it?

    It means that I CAN'T swap themes WITHOUT screwing up the whole design

    kev

    #2
    interesting . . .
    I've been playing further.
    IF you click on the fragment, then the Layout properties tab, and ADD a new layout, then the layout seems to remain in the list of valid layouts EVEN if you change the theme.
    The moment you create the layout within the library editor, you can't be 100% certain that it will show up again in the list of valid changes

    In an experiment, I created a new layout within the content-tree and it continually shows up as well as the copies I make of it.
    when I try to find the original layout I created, its in the library, BUT not in the list. If I make a copy of the original within the library, that copy does NOT show up. when I copy the layout I designed within the payout-properties tab, that WILL show up, even if copied within the library.

    image attached.
    Attached Files

    Comment


      #3
      layout choices not appearing when you change themes

      this one has confused me but I've found out why by experimenting and I thought I would let the group know the solution.
      If I am teaching experienced readers to suck eggs, thats not my intention, this is for all those that may need the solution.

      for the rest of this posting, the word "myFragment" could refer to any component you've created/played with / altered

      you need to find out which layout myFagment is using. click on the design tab, find myFragment (could be any other element) and click on it.

      look at the LayoutCode in the window underneath and that should tell you the actual code being used to display myFragment

      click on the small "up-arrow" in the bottom left and that takes you to its parent layout. again in my case, it points to "FragmentLayout"

      now comes the solution.
      click on the "Design menu" (top of screen), choose "Library", click on the "Layouts tab"

      navigate to the correct group of layouts and click on the correct layout. (again my case, "FragmentLayout" ) and double click, then click on the "values tab" and here's where you change the settings
      the list on the RIGHT is any layout available to you, simply move the entries around and from then on, the layouts will be available to you when you change themes.

      It took a while but I'm up and running again.

      Comment

      Working...
      X