Hi all,
I am new to Trongate and am so pleased to have discovered it (I have given a star on Github by the way!).
My first question is: Is there a template that can be edited for the code generated from the desktop app?
e.g. I'm not keen on the options box that gets generated at the top of each admin/module/show page so for each module I move the buttons to the top right of the page.
Not a big deal, but wondered if I was missing anything - as there are a few other changes I'd like to make to the automatically generated code.
Is there a template that can be edited for the code generated from the desktop app?
4 years ago
4 years ago
#1
4 years ago
#2
Hi disco_2_disco,
Thanks for the star and welcome to the revolution!
You can easily modify the default templates generated by the Desktop app or add your own and also download new ones from the Module Market. As you are new to Trongate, I would also recommend reading the docs and going through the Learning Zone.
For starters, the admin template lives in:
and you will find coloured themes of each in directories black, blue, green, orange, purple and red. There is also a 'public.php' template you can use
Thanks for the star and welcome to the revolution!
You can easily modify the default templates generated by the Desktop app or add your own and also download new ones from the Module Market. As you are new to Trongate, I would also recommend reading the docs and going through the Learning Zone.
For starters, the admin template lives in:
and you will find coloured themes of each in directories black, blue, green, orange, purple and red. There is also a 'public.php' template you can use
4 years ago
#3
Hi dafa,
Thanks for the reply. I'm not sure if you understood my question though.
I know how to edit the templates and views (and have read most all of the docs) but I wondered if there was a template that could be edited BEFORE the code is generated by the desktop app.
e.g. edit the template so that the 'Options' card (on admin/show) is not automatically generated.
Again, not a major deal if it is not possible but I want to make sure I'm not missing something that would be very handy.
Thanks for the reply. I'm not sure if you understood my question though.
I know how to edit the templates and views (and have read most all of the docs) but I wondered if there was a template that could be edited BEFORE the code is generated by the desktop app.
e.g. edit the template so that the 'Options' card (on admin/show) is not automatically generated.
Again, not a major deal if it is not possible but I want to make sure I'm not missing something that would be very handy.
4 years ago
#4
Ah Ok, sorry about that. To answer your question, no you can't change it. The donor code generated by the Desktop App is predetermined on trongate.io, so unless DC makes that code editable prior to the module being generated you will have to change it after.
4 years ago
#5
Fair enough. Hopefully it will be possible in the future.