To whom it may concern,
I am trying to alter the look and feel of the Bonitasoft portal. The alteration is only to make the colour scheme blue and light blue. According to the page I only have to export the default look and feel, modify it and import it back into the portal. When I attempt to do this I get an error message, “An error occurred, please check your .zip file structure.”
I continued to get this message, even after attempting to upload the default look and feel package. According to the
documentation there are five key files required to upload any look and feel package. The default package does not have the “skin\bootstrap\applications\main.less” file. There is an “/applications” folder but it is buried in the “/portal” folder.
Can someone give me some guidance or advice about how to correctly change the look and feel or which instructions I need to follow to do it?
I am using subscription edition 7.3.0 Bonita.
Thank you very much,
Merci,
Sincere apologies but it is unlikely anyone from the Community (Edition) will be able to answer this, Community does not have the feature to change things like Subscription, that being said:
Subscription has BonitaSoft Support on call all the time. I would contact Bonitasoft through the proper channels so you can get this working correctly.
Now as to the “An error occurred, please check your .zip file structure.” I can almost guarantee I know what the problem is…
Open the ORIGINAL download and you will see something like this:
myZIPFile.ZIP (the zip file)
--folder1
--folder2
--folder3
--file1
--file2
Now have a look at your ZIP file, you will probably see something like this:
myFolderName.zip (the zip file)
--myFolderName
--/--folder1
--/--folder2
--/--folder3
--/--file1
--/--file2
So in your Zip you have folder myFolderName and under that the files and folders.
This is a problem with the way you are zipping files:
You need to go into the FOLDER where the folders and files are, Select All and now ZIP.
This will create a Zip file along with the other files, have a look at this and you will now see it has the same structure as the original file, this is the one you need to upload…
regards
Seán
PS: If this reply answers your question, please mark as resolved.
I was able to change colors of the portal using the Community Edition.
Edit the CSS files directly (wasn’t able to make it work with less), rebuild the ZIP, put it back in the war, use the setup script to push ZIP in the database.
Thank you, it was an issue with the way I was zipping the folder.