Craigs Portfolio

4. UI Techniques

Reorder Lists

I originally tried setting up the reorder lists by using the database. I was using lft, rgt and depth which was used in Joomla CMS but I think it isi now defunct. It became quite tedious and I found that Backpack can set it up an easier way than how it first demonstrates it.

The first image is a new operation added with crud setup on a reorder list. The function allows for drag and drop as opposed to guessing co-ordinates using lft and rgt. The middle screenshot is the new categories screen with an extra button for the reorder. This can be setup from edit or when a new category is added by selecting the parent category. The reorder category list just looks really nice and very easy to tell parent and child categories.

Posts Traits

Within backpack there is more traits that can be used to make the Post screen look and feel a little bit better. Mainly adding extra options for bulk delete and cloning posts.

The show, clone and bulk traits are added and just give more functionality to the posts page.

Posts UI

The default UI for creating posts is a little bland but does work.
I found it was possible to change the types and sizes of the fields so it looks a little bit more lively.

Old Create a Post

The fields can have a type or size depending on what field it is. As it is bootstrap it is grid based equal to 12. So merged some of the fields to the same line and added a rich text editor for the content. It just looks miles better than the default interface. Can also pull in tags from a different table because the posts table is linked to the tags table as one to many.

Server Side Systems

5. Conclusion

Conclusion Overall I had a lot of issues and I made a lot of major stupid mistakes in this project. I couldn’t get started due

Read More »
Server Side Systems

3. CRUD & Rules

CRUD After migrating to the database I can now build the CRUD on each of these automatically using backpack commands as shown below. For each

Read More »
Server Side Systems

2. Extensions

Extensions I had a look at quite a few of the different extensions available for Laravel. I am not 100% sure that extensions is the

Read More »