Ok in this tutorial im going to show you one way you can move a fragment above sections without moving all the fragments above the section, the default layout puts a fragment at the base of a page bellow a section.
First:
Backup, Backup, Backup, Backup, Backup, Backup, Backup
this tutorial wont mess up your site if you do it correct however I do not want to be held responsible if you make yourself an error
secondly:
go to Design>libary and then go to variables now right click on an empty space and select new group, call this group Positioning.
next right click on your new group and select New Variable, then use these settings
Name: MoveFragmentToTop
Prompt: MoveFragmentToTop
group: Positioning
Place Of Setting: Section
Panel Name: New Panel > Position
Type: True/False
Initial Value: False
Top Level Value: False
Then Click Ok
Next while still in the Design>libary go to layouts then
Web Page Iner Layout > Section Page With Section Name At Top
double click on this layout and a new panel should open up in here go to
Line 46 Where it should say Product List, if on Line 46 is does not say Product List find in that layout where it does then replace that line with this code
Next move up to line 38 where it says SubSectionListTop if it does not say that find where it is, then just above that line place this code
then click apply>ok then close the Design Libary now find where your fragment is and go to the top section that your fragment is in and click on Secton Details now in the list on the side you should see a new option called position, inside there there is a new option called MoveFragmentToTop it should be set to false, if you make that option true any fragments inside that section should now move to the top, and if you make it false they will move back to there default position which is at the base of the page
If you have had any errors in this tutorial please paste them bellow and I will have a look for you,
100% Credits Go To Me
First:
Backup, Backup, Backup, Backup, Backup, Backup, Backup
this tutorial wont mess up your site if you do it correct however I do not want to be held responsible if you make yourself an error
secondly:
go to Design>libary and then go to variables now right click on an empty space and select new group, call this group Positioning.
next right click on your new group and select New Variable, then use these settings
Name: MoveFragmentToTop
Prompt: MoveFragmentToTop
group: Positioning
Place Of Setting: Section
Panel Name: New Panel > Position
Type: True/False
Initial Value: False
Top Level Value: False
Then Click Ok
Next while still in the Design>libary go to layouts then
Web Page Iner Layout > Section Page With Section Name At Top
double click on this layout and a new panel should open up in here go to
Line 46 Where it should say Product List, if on Line 46 is does not say Product List find in that layout where it does then replace that line with this code
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22MoveFragmentToTop%22%20%2f%3e%20%3d%3d%20false" > <actinic:variable name="ProductList" /> </actinic:block>
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22MoveFragmentToTop%22%20%2f%3e%20%3d%3d%20true" > <actinic:variable name="ProductList" /> </actinic:block>
If you have had any errors in this tutorial please paste them bellow and I will have a look for you,
100% Credits Go To Me
Comment