Discussion on Forge Admin Template (HTML Version + Laravel 5.4 & 5.6 Starter Kit)

Discussion on Forge Admin Template (HTML Version + Laravel 5.4 & 5.6 Starter Kit)

By
Cart 140 sales
Well Documented

hexesis supports this item

Supported

This author's response time can be up to 5 business days.

51 comments found.

Hey,

When I try to login to the normal /login page, it says “These credentials do not match our records.”

If I click on reset my password, type in my email, it sends me the email, I can click on reset password, and reset it to the password I choose, and it will auto log me in just fine.

But /login just simple will not work for me. Any ideas why? I have not changed anything to effect this.

/admin/login works perfectly fine :)

Hey AlanGreyjoy,

Thanks for writing us back.

This is Forge Admin’s functional bug. We already found that but we are planning to resolve in forge admin new version.

Kindly refer below quick fix for it:

File Name : app/User.php line #36: replace $this->attributes[‘password’] = bcrypt($password); with $this->attributes[‘password’] = $password;

It should be:
public function setPasswordAttribute($password)
{
    $this->attributes['password'] = ($password);
}

Or

event you can remove entire this function. This is not required as we are not using this.

Why is this happened?

In the Admin Panel, we have built a module to manage users (App users – User.php). Once an admin create a user, we were using Laravel mutators.

public function setPasswordAttribute($password)
{
    $this->attributes['password'] = bcrypt($password);
}

in User.php model class. But if we use this, it will also effect everywhere whenever password is being set. Laravel have its built-in method to register user & reset password. Here, they are setting password.

In this situation, our logic can create an issue as Laravel is using bcrypt while register/ reset password. On the other end, User.php encrypt the hash. So in this way, it is being double hashed.

We regret the inconvenience caused to you.

— Best Regards,

Jack

No inconvenience at all!

I already commented that out.

Still loving the template though.

One bit of help though… as i am “new” to larvel and web dev I am picking it up extremely fast (10 years as desktop/app programmer)

Can you provide an example of how to use prettyalerts with a laravel controller?

I tried everything….. On a button I called the prettyalert with an onclick, it pops up fine, but I can NOT get it to save,update, or even delete from the controller.

I can pay a little bit extra for the example. I don’t mind at all. But not with vue. I am not really fond of vue at all.

I just want to be able to click delete, ask if :”are you sure” and it deletes.

Thanks!!

Hey AlanGreyjoy,

Thanks for your good words and keeping faith in us.

Unfortunately, we are not giving any customisation support for now. We have noted your requirement in our list.

For confirm box alert, we suggest to use sweetalert.

You can write us on hexesist@gmail.com for further communication in this regards.

We really appreciate your comments/feedbacks.

— Best Regards,

Jack

Hi,

I am loading the content of a dropdown (Select) using ajax but the dropdown doesn’t populate the dynamic option tags. What to do? How to reinitialize the particular dropdown?

Hey Mamoonraza,

If you want to update the items inside the select, just rerun the initialization code from above after editing the original select. Or you can destroy the material select with this function below, and create a new select altogether.

$('select').material_select('destroy');

Ref:

http://hexesis.com/forge/dark/pages/form-basic-components.html http://materializecss.com/forms.html https://stackoverflow.com/questions/29132125/how-to-dynamically-modify-select-in-materialize-css-framework https://github.com/Dogfalo/materialize/issues/3134

Notes :

  • We are only responsible if you’re facing any errors in our code.

Ok, so i understand the auth now.

But what I don’t understand is the Admin User page.

Is there no way to make a user from the normal User List an admin, so they can log into the /admin side of the site without them having to register for both sides?

Hey AlanGreyjoy,

We happy to assist you.

Admin users and web app user are both different entities. Both are connect to different tables. I have already give you explanation for the same. Both have different registration, can have different passwords. We are not providing this swapping feature.

For AccountsController,

We don’t have any controller named “AccountsController” in our package. It is in “AdminController”.

We have covered many small things with Starter-Kit and code itself self-documented. We are not doing anything out of the box.

As we mentioned in our Promotion page and documentation:

We are providing Helper, Transformer, ACL and much more. We are not doing anything new, we are just following Laravel Documentation and Laracast Tutorials (It’s free). All these things are well explained at Laracast free tutorial series.

Well, you can find:

Transformers, helpers, Traits, Observers, Providers, Mail Classes, constants in app directory.

Our aim to provide Laravel StarterKit to quick theme integration with Forge template. All other feature are extra credits.

You can start development using just our Layout templates and setup other feature in different way.

You can refer below link to have better understanding:

Best Regards, Jack

No, I miss typed. AccountsController is my controller. I can’t remember what controller I found $setpassword = randomInteger(); in…. but it was not documented anywhere that, when you create an Admin User, it auto generates a random password. That would have been good info to know.

I like the template…. but its extremely complicated to use. It’s like pulling teeth to get some of your components working.

Modals are one of the. I followed what you said in the docs and what you said to use for the initalization, but they still will not show.

Insert boxes….. these just simply WILL NOT show up no matter what I do.

Your template overwrites a lot of default bootstrap css too. I can’t even get the default <select> boxes to show up.

Hey AlanGreyjoy,

Kindly refer below point for your query.

  • It is in “AdminController” as I have already mentioned in my previous comment.
  • Code itself is self documented. A Laravel developer could easily understand the things if developer well know to Laravel.
  • I don’t understand why do you find it complex? It’s pretty easy and well commented. It’s just 60-80 line of code which includes HTML code, Laravel Blade syntax. You should refer Laravel Blade template (https://laravel.com/docs/5.4/blade).
  • We have not mentioned anything regarding modals in Document for laravel. (Forge-Downloadable/html/document/laravel.html)
  • For Insert boxes: Kindly provide more details with screenshot. (Screenshot must include your brower query string).
  • bootstrap css : Forge Admin template is not using Bootstrap. It’s MaterialCSS framework. For select-options, refer our document (Forge-Downloadable/html/document/form-component.html)

Notes :

  • We are only responsible if you’re faceing any errors in our code without any other modification.
  • Laravel Started Kit is just basic setup for quick start your project with Laravel+Forge Admin just save time of developers to integrate Fore Admin HTML version into Laravel.
  • (For Forge Admin Laravel version) We assume that our user do have sufficient knowledge of Laravel . We are not teaching laravel on envato.
  • In laravel, we have also used VueJS (as mentioned in document). We are documenting the things which are very essential for users. But not each an every line and logic. Even Laravel has many classes and methods (which we could override and extends), but not documented on their site. This is upto developer and their skill. Yes, it must be well commented what we already did.
  • I suggest to read/refer our documentation and our demo itself has code+demo.

Let us know, if you have still any query or concern.

— Best Regards,

Jack

If you wanted to only show the top navigation style on one page and only the left navigation style on another, how would you do that? I can’t find the toggle anywhere.

Thanks :)

Hey AlanGreyjoy,

There are several ways to do so:

1. You can customise forge.js as per your requirement. 2. You can achieve this via VueJS components:

Example: If you want to have horizontal menu at “Admin Users”, where we have used Administrator VueJS component. In this component, you can import Forge class

import Forge from '../../forge';

mounted() {
    ....
    ....
    ....

    let forge = new Forge('horizontal', 'default');
    forge.init();

    ....
    ....
    ....
    ....
}

For each, views you may have VueJS component and declare it invidiually rather than declaring in

forgeapp.js
.

3. Create your laravel blade templates’s Layouts for both and use as per requirement. Make sure, in both template you need to use forge.js class

Here, you also need to override JavaScript Localstorage States as we are storing last state of menu in it. Ex:

vertical
menu with
default
subtype.

Ref: https://www.dropbox.com/s/gmmqa4vcin5enh4/Group%203.jpg?dl=0

Just to have quick flexibility, we have provided quick setting option to change menu view (vertical to horizontal and vise-versa).

forge.js class is powerful enough to switch the menu type by passing just two arguments into it. You can use

class Forge
to switch among left/top navigations bar.

Let me know if you need any further assistance.

Best Regards,

Jack

Notes:

We are just providing template and stater kit with single type of menu at a time and are not providing any customisation support.

Thanks for that! I also noticed one thing about this template. The auth.

Why are there two different types? Why not combine the auth? If I am logged into the admin side, I should also be logged into the non admin side.

Also, if you register on the normal side, it does not work on the /admin/ side. Why is this?

Thanks!

Hey AlanGreyjoy,

I’m glad to respond you here.

Reason behind two different type of Auth is:

  • Better module management
  • Security purpose
  • Prevention to messy code

Let me explain you in details:

Admin Panel and front end both are connected with single application ( & its database), but have different level of access and feature internally.

Frontend user may have many relations to other database entities and may have different fields, those are not required for an administrator user(s).

The functionality at front-end side is not the same for Admin Users. Admin user will check/manage activities made at front-end.

It may also possible in the most of the application that you have some role at Administrator panel, but on the other side you are also application user (with same email) with different role – in this case things become crazy. You need to handle unnecessary role(s) at FrontEnd/Backend side which is not intended at that level.

Of course, you may use same authentication for API that we used for FrontEnd. After all both have same goal for users.

I have been working with Laravel/PHP/JS since 6 years, this is the best way to manage your code and other dependancy as well.

Other View: I was planning to give normal single auth structure, but later on I planned to share base-structure(Boiler plate) to my Forge Admin users. So you guys can easily start your large scale project with it. That’s why I have provided modularisation with multi-auth feature.

Let me know if you need any further assistance.

— Best Regards, Jack

Do you have a install guide for laravel?

Hey AlanGreyjoy,

Thanks for writing to us.

We are happy to response.

As we are providing Laravel starter kit, we have integrated Forge Admin HTML version to Laravel with a few basic requirement.

For installation, you can refer (Your downloadable ZIP):

Forge-Downloadable->html->document->laravel.html

Feel free to write us if you need any further assistance.

— Best Regards,

Jack

Dear hexesis,

thank you for your former assists. This time, I first posted the question to SO but seemingly, no one can answer the question that’s why I ask you now.

https://stackoverflow.com/questions/48171308/justify-form-rows

you may well add your answer right there in case you’re into stackoverflow.

Greets!

It would be great if you can explain your query in more detail here.

Hey epitjangrimm,

Kindly find below link, This is how your two column look like:

https://www.dropbox.com/s/ezr2crd1j9g4kz1/Screenshot%202018-02-20%2013.42.03.png?dl=0

Let us know, your concern here.

Best Regards,

Jack

Hey epitjangrimm,

Kindly find below link, This is how your two column look like: https://www.dropbox.com/s/fjrs13ox8mknon1/Screenshot%202018-02-21%2009.15.42.png?dl=0 In the first impression, it looks good. As per our understanding, this can be your query. https://www.dropbox.com/s/1dl51pepawj39b6/Envato%20Issues.png?dl=0

Both red and yellow rectangle are leaving spaces(padding) for the

col
. You can remove this via css.

You can refer the Form Components in the below link:

Forge Admin Demo :

http://hexesis.com/forge/dark/pages/form-basic-components.html http://hexesis.com/forge/dark/pages/materialize-helper.html

MaterialCss Official :

http://materializecss.com/forms.html http://materializecss.com/helpers.html

Hope this will help you.

Let us know if you still have any query or concern.

Notes:
  • We can respond your query on envato only. Kindly post your question on Envato.
  • I am not clearly understand your question posted on Stackoverflow.
  • We are only responsible if you’re facing any errors in our code without any other modification.
  • We are not providing support for customisation.

— Regards

Mia

Hello!

I have a form that is made up of multiple >div class=”row”< and I want a submit button to be places on the right lower hand corner of the page. I tried Bootstrap 3 + 4 “pull-right” as well as “float-right”, however, nothing changes.

Hey epitjangrimm,

Hope you’re doing well!

You can use class right to button. Forge Admin template is not developed with Bootstrap. It’s developed with materialcss.

Refer this for alignments/helper classes details: http://hexesis.com/forge/dark/pages/materialize-helper.html

You can go through our documentation/live demo link to have better understanding of Materialcss. It’s quite simple.

If you really like our product, don’t forget to rate us.

Thanks for writing to us.

— Best Regards, Jack

Thank you very much!

When will the materialize-css be upgraded? The new version has fixes for major issues.

Hey dylanbuth,

Thanks for purchasing theme and writing to us.

The new version 1.0 is still in alpha. We do not work with alpha version with the reason – if something is not working we might be responsible for it and need to fix.

So until stable release we will not be planning for it at least.

Once we have stable version, we will plan for updates and that will be major update.

We will make announcement once we plan for it.

— Thanks,

Jack

I’m using the Laravel version and I wonder where I need to change the status notifications language (Success, Error, Warn, ...) to display, I found where the messages are, however, not these status.

Hey Epitjangrimm,

Thanks for purchasing theme and writing to us.

We have two kind of messages to display.

All messages comes from resources/lang. For ajax call, we use Method-1 and for normal flash messages we use method-2. Have a look!

1. API Status messages Here, we are just using localization.

usage:
return response([
    'data'        => $this->adminTransformer->single($newAdmin),
    'message'     => trans('messages.admin-add'),
    'status_code' => 201
], 201);

2. Flash status messages

We have flash.blade.php where this messages are displaying. For language, you can refer resources/lang folder. You can add your new other language folders.

Ref: https://laravel.com/docs/5.4/localization

usage:

flash(trans('messages.admin-add'), 'success', 'success'); 

flash function is written in app/helpers.php

We have four basic types of status (success, error, warning, info) for CSS classes you can use the same (success, error, warning, info). You can modify the style color in resources/assets/sass/_variables.scss.

You can also refer resources/assets/sass/partials/_palette.scss for more customisation.

We used to follow Laracast for all code standards and structuring.

Feel free to write us back, if you still have any query on this.

If you like our theme, don’t forget to rate us.

— Best Regards, Jack

I Cannot find wizard as part of your package. Is there one or not

Hey Faaazma,

Thanks for writing to us. I guess – you are referring Form Wizard. We are not providing form wizard for now.

We have listed all features that we are providing in document with references (3rd party links) and on product description.

Product Details (description section): https://themeforest.net/item/forge-admin-template/20258022?s_rank=1

If you have still any query, we are happy to assist you. :)

I’m having an issue with the laravel template. When extending the default layout, I get a javascript error saying ” Uncaught TypeError: $(...).slider is not a function” and another similar error about the tabs() function. Those methods are in the jquery-ui library. I see where webpack compiles the jquery-ui.min.js into all.js. The all.js file does not get loaded in the layout. Even editing the layout to load all.js does not fix this issue.

Aside from this, the documentation for the laravel setup is severely lacking. It does not even mention building the frontend assets. Just says composer install and npm install.

Hey dylanbuth,

Thanks for writing to us.

Does this error display on all page or any particular page? It would be great if you could share the steps with screenshot of entire page (Includes QueryString, inspect element with error).

This will help us to provide quick solution.

Best Regards,

We have 3 laravel layouts(for admin module) file for different purpose.

auth.blade.php

This layout is just default layout provided by laravel with bootstrap.

default.blade.php

This includes `forge.js`, `signin.js`, `init.js` and `all.js`

  • `forge.js` is to manage our theme UI and events.
  • `signin.js` is just for authentication pages
  • `i nit.js` is to initialize materialcss components.
  • `all.js` is combination of jquery.min.js, jquery-ui.min.js, materialize.js , perfect-scrollbar.min.js

master.blade.php

This layout is used once you are authenticated in admin panel. As per material design, contents should be in side `<main>` tag and `header` will have navigation part.

As per VueJS, anything outside el: ’#app’ can not be accessible to Vue object. So to achieve all these standard we have design this layout.

So if your are trying to use default.blade.php for internal pages (other than authentication pages) – it won’t work.

For internal pages, we suggest to use `master` layout.

Let us know if you need any further assistance.

Thanks for the information. I would suggest adding that to the docs as it is not very intuitive when you’re looking at it.

Hi, I just bought the Forge Admin Template but just saw that it was not built on bootstrap. This is a problem for me. Is it possible to get my money back?

Best regards, Andreas Broch

Hey Andreas,

Forge admin is developed based on http://materializecss.com. However, it has different classes for html elements. But it’s not difficult.

Materialcss is also famous and well know Css framework. It’s easy to adopt.

Cool. I didn’t realize that. Actually the reason why I chose your theme is that it looked different than bootstrap. So I think it is worth a little extra work on my behalf. Thanks for your time.

Hey Andreas, Most welcome

Hi there,

I’ve just installed my copy of your theme locally and it shows an error message, eventhough i ran the composer and php artisan key:generate.

Error message: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.

Do you have any idea, where the error is coming from.

Regards, Bjorn

=> php artisan config:clear => php artisan config:cache

Solves my issue, thanks anyway, great theme!

Glad to hear that. Thnak you

Hi, using Laravel and Vue JS will work on Shared Hosting? Or do you need VPS?

Hey, Yes, it will work on shared hosting. Share hosting may not provide terminal access. so you can develop locally and copy the entire directory to your shared hosting and also export database manually.

Hope you got it.

All the best :)

Hey, we are not providing RTL support.

Best Regards,

Hi,

Does this theme support RTL orientation as well?

And is it one of the planned feature? Should we expect such feature anytime soon?

Well, we have not planned for it but have noted your request. We will get back to you.

Cool.

Do you have a live Laravel demo available? It’s listed in the included part of the demo but no actual link to check it out.

Hey there,

Well, we have not set live demo. However, we will provide the video toure for it very soon.

Thanks for showing your interest.

pls let me know when done, because after purchase can’t really use the theme due to this. thanks

Hey pdavida, Do you mean to say laravel starter kit or something else?

Let me know where do you stuck?

Sorry .. I downloaded 3 more times .. on the fourth came all the files. Question: How do I leave only the horizontal menu?

Okay, that’s sounds great. Question: How do I leave only the horizontal menu? Answer : We have a forge.js provided in the build package.

You could use to that file to switch among the four kinds of menu. However, in the base its two menu types (Vertical and Horizontal). As sub-type we have default and iconized.

You could switch the menu with below code:

let forge = new Forge('vertical', 'default'); // (navType, navOpt) forge.init();

Yeah, but don’t forget to clean up your Browser cache as we are maintaining localStorage of Javascript.

Choosing Horizontal Menu

If you want to keep only horizontal menu and remove the Vertical menu, go though with below: This can be done with two way

  • Via Pug template
  • Via Manually processing with all HTML files

Horizontal menu is not suitable for Mobile devices, so in that case we are switching to Vertical Menu(based on sub-type(navOpt) that you have choosed)

Via pug template :

You could manage with scr/pug/include/header.pug file. We have declared the Vertical and Horizontal menu inside this file.

Via HTML :

You could go through the code mentioned below the comments named: Vertical Navigation (Default and Iconized) and Horizontal Navigation (Default and Iconized)

Note: If you’re choosing the Horizontal Menu, then it’s suggested to keep vertical menu to manage the things in tablet and mobile devices.

Hope the information shared will be helpful to you.

Let me know, if you need any further assistance.

Best Regards,

Hello! The version of Laravel will be 5.4? Or 5.5 (it will be released in August)

Heyo, The Laravel Starter Kit will be in Version 5.4 with below features:

We will integrate Forge Admin with blade templating.
  • VueJS Built-In (Default component Example.vue)
  • Multi Authentication (Frontend/Admin)
  • Modules Set up (Front/API/Admin)
  • Role Manager
  • Permission Manager
  • REST API – token based authentication
  • Transformers & Helper
    • We are planning to release in the last of August or in the 1st week of September.

I just purchased this item but I cant find the laravel version

Hey jfhernandeze, Laravel version is in up coming updates. We are planning to provide laravel starter Kit. We assure you to provide it in the end of this month or in the 1st week of September.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey