My first forgebox entry

I have just uploaded a new layout on forgebox. It’s based on bootswatch and bootstrap 3. However when I try to install from contentbox, it never install.

the layout is here: http://www.coldbox.org/forgebox/view/Bootswatch-layout-on-bootstrap-3

What is the correct way to upload item to forgebox?

I believe the problem is that the folder contained in your .zip is named “Bootswatch3-master” and your layout .cfc is named “bootswatch.cfc”. I renamed them to “bootswatch3” and “bootswatch3.cfc” and it picked up the new layout and allowed me to activate.

Thanks Seth, I probably should upload to github a zip and post in forgebox the download link to that zip and not the one that github generated.

Yep, Seth is right. The layout registration process assumes that the layout path (folder name) and layout CFC are the same. To get around the “master” getting appended to your zip, I would suggest independently creating a zip of your layout, uploading it the root of your GitHub repo, and then linking to that standalone zip from Forgebox. You can see Seth’s example of the original here: https://github.com/computer-know-how/cblayouts-bootswatch

Also, on your Forgebox entry, you might update Seth’s name–it’s “Engen”, not “Angel” :slight_smile:

That is the only way I have found to do it. I have tried the github way and couldn’t make it work.

Cool module also. Great job.

Curt

Sorry Seth, I probably need a cup of coffee. I will update the entry with correct info and correct zip.

As a side note to Joel, I see that a bootstrap3 admin layout is planned for the next release, if you want I could help.

I notice that the widgets of my layout cannot be edited, because if I try to edit they point me to a link like this: http://www.mysite.com/cbadmin/widgets/edit/widget/**~**CommentForm/type/Layout

Why is the link generated wrong? is this a bug ? or should I specify a layout widget name different to the core widgets?

It’s a bug. It has been fixed on the dev branch: https://ortussolutions.atlassian.net/browse/CONTENTBOX-450

Good job. Thought I’d use Brad’s module as a base and create a SuperTroopers interceptor.

Although ForgeBox wouldn’t let me log in. :frowning:

We use Bootstrap on another of our sites, so I really like your module.

What issue is preventing you from logging in? Have you verified your account via the link sent in E-mail?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I manually approved your account. See if it works now.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Never received an email. Attempted twice.

I’ll double check again this morning.

Byron Ferguson

Will do

Byron Ferguson