Zum Inhalt springen

Template nicht änderbar // Flexform Configs lassen sich nicht löschen.

Erstellt am 11. Juni 2013 · 4 Antworten · letzte Antwort am 12. Juni 2013

Tags: FlexForms, Frage

flyingKiwi ·

Halli Hallo,

ich habe eine Plattform mit Fluid etc erstellt und auch Flexform Configurations in das Page-Template eingebaut. Sobald ich z.B. ein Bild in den Page-Configs hochlade (bsp als Hintergrundbild oder Logo), kann ich diesen Wert / Variable nicht mehr löschen/ändern und es wird auch alles auf Sub-Ebenen vererbt, was gut aber auch schlecht sein kann, vllt kann man das auch irgendwie einstellen? Das ist mein erstes Problem, wäre super hierzu eine Lösung zu bekommen 🙂

Das zweite Problem ist nun, was auf dem ersten Problem wahrscheinlich basiert, dass ich auf einer Unterseite ein anderes Template eingestellt habe und dieses nicht mehr Rückgängig machen kann. Das "standard-Template" hat nur ein normales Dropdown-Menu und das zweite Template hat noch eine Sidebar-Navigation. Wenn ich dieses zweite Template nun von einer Seite auf der ich es eingebunden hatte wieder löschen möchte, bleibt es aber trotzdem noch iwie eingebunden.

Ich hoffe Ihr könnt mir helfen :-)

Viele Grüße
Patrick

flyingKiwi ·

Huhu,
ich benutze diese Extensions:

Fluid Templating Engine fluid
Fluid Widgets fluidwidget
VHS: Fluid ViewHelpers
Fluid Content Engine
Fluid Pages Engine
Flux: Fluid FlexForms

Unten habe ich einen Block einer meiner Page-Configurations gepostet. Wenn ich nun da z.B. irgendeinen Wert einstelle, kann ich ihn nicht mehr löschen. Der bleibt dann immer drin stehen.

Genauso habe ich auch einer Seite ein anderes Template gegeben. Dann wollte ich aber wieder das Standard-Template drin haben und es bleibt trotzdem drin. Ich hab es vom Server gelöscht aber es wird immernoch eingebunden... Ist einfach total komisch, es wird einfach alles gespeichert und man kann es nicht mehr löschen.

<f:section name="Configuration">
	
	<!-- CONFIGURATION :: DEFAULT-TEMPLATE -->
	<flux:flexform id="default-template" label="Default-Template" description="This Option allows you to configure your Main-Menu like you want.">
	<!-- CONFIGURATION :: END -->
	
		<!-- SHEET 1 :: MAIN NAVIGATION CONFIGURATION -->
		<flux:flexform.sheet name="navstyleconfig" label="Menu-Configurations">
			<flux:flexform.field.select name="menutheme" label="Main-Menu-Theme" commaSeparatedItems="Theme 1, Theme 2, Off" />
			<flux:flexform.field.select name="menuposition" label="Main-Menu-Position" commaSeparatedItems="Fixed on top, Static on top, Fixed on bottom" />
			<flux:flexform.field.select name="menuwidth" label="Main-Menu-Width" commaSeparatedItems="Full Width, Content Width"/>
			<flux:flexform.field.input name="menupid" label="Start-PID of your Root-Page" />
			<flux:flexform.field.select name="menusubonoff" label="DropDown-Menus on / off" commaSeparatedItems="DropDown on, DropDown off" />
			<flux:flexform.field.select name="menusubthemes" label="DropDown-Menu Themes" commaSeparatedItems="DropDown Rounded without Clip, DropDown Rounded with Clip, DropDown Straight without Clip, DropDown Straight with Clip" />
			<flux:flexform.field.select name="menusubopacity" label="DropDown-Menu Opacity" commaSeparatedItems="0.50, 0.60, 0.70, 0.75, 0.80, 0.85, 0.90, 0.95, 1.00"/>
		</flux:flexform.sheet>
		<!-- SHEET 1 :: END -->
		
		<!-- SHEET 2 :: WIDTH CONFIGURATION -->
		<flux:flexform.sheet name="widthstyleconfig" label="Width-Configurations">
			<flux:flexform.field.select name="topwidth" label="Top-Width" commaSeparatedItems="Full Width, Content Width"/>
			<flux:flexform.field.select name="headwidth" label="Head-Width" commaSeparatedItems="Full Width, Content Width"/>
			<flux:flexform.field.select name="mainwidth" label="Main-Width" commaSeparatedItems="Full Width, Content Width"/>
			<flux:flexform.field.select name="contenttopwidth" label="Content-Top-Width" commaSeparatedItems="Full Width, Content Width"/>
			<flux:flexform.field.select name="contentmainwidth" label="Content-Main-Width" commaSeparatedItems="Full Width, Content Width"/>
			<flux:flexform.field.select name="contentfooterwidth" label="Content-Footer-Width" commaSeparatedItems="Full Width, Content Width"/>
			<flux:flexform.field.select name="footerwidth" label="Footer-Width" commaSeparatedItems="Full Width, Content Width"/>
		</flux:flexform.sheet>
		<!-- SHEET 2 :: END -->
		
		<!-- SHEET 3 :: PAGE CONFIGURATION -->
		<flux:flexform.sheet name="pageconfig" label="Page Configurations">
			<flux:flexform.field.file name="logoupload" label="Logo" enabled="1" required="0" validate="trim" size="4" multiple="1" minItems="0" maxItems="4" showThumbs="1" suggest="1" allowed="jpg,jpeg,png,gif" />
			<flux:flexform.field.input name="logoalt" label="Logo Alt-Tag"/>
			<flux:flexform.field.file name="claimpicupload" label="Claim-Image" enabled="1" required="0" validate="trim" size="4" multiple="1" minItems="0" maxItems="4" showThumbs="1" suggest="1" allowed="jpg,jpeg,png,gif" />
			<flux:flexform.field.input name="claimpicalt" label="Claim Alt-Tag"/>
			<flux:flexform.field.input name="claimtext" label="Claim-Text // Only shown if there is no Claim-Image."/>
		</flux:flexform.sheet>
		<!-- SHEET 3 :: END -->
		
		
		
		<!-- SPALTEN-LAYOUT :: BACKEND LAYOUT :: CONTENT - RENDERING -->
		<flux:flexform.grid>
			<flux:flexform.grid.row>
				<flux:flexform.grid.column colPos="1" name="Inhalt" />			
			</flux:flexform.grid.row>					
		</flux:flexform.grid>
		<!-- SPALTEN - LAYOUT :: END -->
		
		
	</flux:flexform>
</f:section>