WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: crnogorac081 on February 03, 2024, 12:06:04 PM

Title: Questions about alternative backend theme
Post by: crnogorac081 on February 03, 2024, 12:06:04 PM
offtopic, is anyone working on backend template to be powered by twig, and/or new backend template ?

I am trying something , you can take a look here  here (https://ibb.co/py9cnTx)

regarding current page tree, should pages tree be separated by Menu ID ? So far when it is reordering it doesnt follow menu id, so we have tree with menu positions like:
- first page (position 1 , menu 1),
- seccond page (position 2 menu 1) ,
- third (position 3, menu 2 --- should be position 1 for seccond menu, right ?),
- fourth (position 4 menu 1)

also as you can see i am working on a new backend tempalte, module application can be seen here (https://ibb.co/HXtJ0w1). Template will be customized using scss

cheers




Title: Re: Questions about alternative backend theme
Post by: crnogorac081 on February 03, 2024, 06:12:37 PM
Another question I am working on a paralel admin , so it is folder /admin2 instead /admin , now I have folder/admin2/classes , and inside there is file called backendAdmin.php  with code

Code: [Select]
namespace admin2\classes;
class backendAdmin
{
.....
}
How can I load this class with autoloader ? or shall I put classes folder elsewhere because its code will be used for /admin (and /admin2 in test version) ?
Title: Re: Questions about alternative backend theme
Post by: hgs on February 05, 2024, 07:52:32 AM
I have split up the topic.
Title: Re: Questions about alternative backend theme
Post by: crnogorac081 on February 05, 2024, 12:27:32 PM
thanks.

Is there a hint how to add additional classes to autoloader ?
Title: Re: Questions about alternative backend theme
Post by: crnogorac081 on February 06, 2024, 10:23:07 PM
Can someone help me with this, how to add additional classes for backend ?


Another question I am working on a paralel admin , so it is folder /admin2 instead /admin , now I have folder/admin2/classes , and inside there is file called backendAdmin.php  with code

Code: [Select]
namespace admin2\classes;
class backendAdmin
{
.....
}
How can I load this class with autoloader ? or shall I put classes folder elsewhere because its code will be used for /admin (and /admin2 in test version) ?