Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

richard@gorbutt.com's avatar

Re-Skinning(!) Spark Basic Template...

Hi all, I will admit I'm not the most proficient coder in the world but doing ok. However I feel I'm bashing my head when it comes to trying to modify the basic bootstrap template that is used with Spark. I have no problems with the Vue parts in the Settings pages etc.

I've tried reversing my existing app into Spark but failed miserably. It appears the template makes the sidebar the main nav and the top navbar as secondary.

Tried taking a simple bootstrap template (sb-admin-2) and having real trouble with the sidebar.

Add it to user.blade.php and stomps all over the settings left hand side panels. Add it to the dashboard (home.blade) and leaves gaps at the top, which I can fiddle with css and not fully clear so far). Happy to drop the sidebar on the settings stuff etc. for now.

Has anyone had any great "easy" joy in effectively re-skinning the template particularly adding a sidebar? Any quick tips.

Thanks

0 likes
4 replies
zerohour's avatar

I basically just "Re-built" my Laravel app into Spark...

As for quick tips, my personal suggestion and It may not be popular and people will disagree but, get rid of VUE. For me I choose to this because the only thing I cared for in Spark was not having to do the billing aspect. Billing does not HAVE to use vue. Being most of the templates I choose already have JQUERY support, VUE causes issues/

For my current version, I am using a IF statement for the settings page to ONLY include vue on that page, and I not load the templates JQuery and bootstrap. This way there is no conflict between the two (which I was experiencing). My login/register page also load vue but do to being a separate file and not loading the full template was easy to keep vue then remove.

I am using this template http://themeforest.net/item/limitless-responsive-web-application-kit/13080328

I will be completely removing VUE in my next update, as IMO I do not see VUE as a great thing and is more hassle then is worth. I have never sat down to learn JS in any form and can edit it, i usually outsource anything to do with front end and JS.

Maybe one day Ill be motivated enough to take some time to learn it and master it.. for now, I like backend development to much :D

If your interested in taking a look at my app, let me know, Ill provide a link

zerohour's avatar

@Gorby - Welcome and sorry for the tough English... that was a very poorly written post.

Good Luck!

flashman's avatar

Hi @zerohour, I am also planning tu run Spark with another template, do you mind showing your app? Thanks

Please or to participate in this conversation.