You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to work out how to create a customisable blade within backpack and have come very close. Does something already exist? The requirements are: Bespoke blade that uses all the fieldtypes within backpack.
My idea for an edit screen which works but does not use the backpack filetypes is to:
Copy the edit.blade to mymodeedit.blade which calls custom_form_content
In custom_form_content: Replace the include inc.show_fields with mymodeeditHtml.blade(which is the custom html layout)
This generates a working custom blade with backpack layouts and save fuctionality.
To use the backpack filetypes my thoughts are to:
Copy the fields directory to custom_blade_fields
Return the generated html for the field in a string rather than as html. so $field1 => ' name="field" etc>'
use mymodeeditHtml.blade to fully customise a blade and use $field1, $field2, etc as the html for the fields.
Does this functionality already exist and if not could the above be a solution?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have been trying to work out how to create a customisable blade within backpack and have come very close. Does something already exist? The requirements are: Bespoke blade that uses all the fieldtypes within backpack.
My idea for an edit screen which works but does not use the backpack filetypes is to:
This generates a working custom blade with backpack layouts and save fuctionality.
To use the backpack filetypes my thoughts are to:
Does this functionality already exist and if not could the above be a solution?
Beta Was this translation helpful? Give feedback.
All reactions