Discussion on Fortress - React Admin Template

Discussion on Fortress - React Admin Template

Cart 408 sales
Well Documented

FortressThemes supports this item

Supported

This author's response time can be up to 1 business day.

125 comments found.

Hi. I need the boxed layout for the desktop app (i.e. I need max width for the main area + menu). What is the best way to achieve this in your theme?

wow, I’m looking forward to it ))

Hello,

New version 1.9 is ready for download.

You will find the setting in containers/App/reducer.js

For fortress-react-admin-clean project just set isBoxedLayout: true

For the complete project, the option is included in the drawer settings, take a look here: http://preview.themeforest.net/item/fortress-react-admin-template/full_screen_preview/19568479

Wow, thank you very much !!!!

Where do I have to change the defaul theme? I was trying to change it here: /app/containers/App/index.js

this.state = { navDrawerOpen: false, transitionDirection: ‘right’, currentTheme: theme.get(props.appStore.currentTheme), themeSelected: ‘dark’,

themeSelected to ‘light’ or something but I can’t see the changes applied

Hello,

Look for the state currentTheme in containers/App/reducer.js

You can change its value to: darkTheme, lightTheme, blueTheme, grayTheme, darkBlueTheme

Thanks, I have to make the habit to see in the reducers. Redux is new to me. It works now, but in the “Settings” Drawwer it still the Dark Theme the default one. I’ll look how to change it, anyway, I will deactivate that Drawer.

You can use the fortress-react-admin-clean project which is a clean version of the template without the demo components and it does not show the settings drawer.

Hola. Hablas español?

There’s a mistake on the docs:

In Overview, Quickstart, 2 Open localhost:300 to see it in action. “Edit the file at ./app/containers/HomePage/index.js” That files comes with react-boilerplate but not in your template.

Yes, I speak Spanish, but conversations in Envanto should be in English so other customers can understand.

You are seeing the docs for react-boilerplate, and of course it will help you to get start. You can also download the boilerplate and follow the documentation.

We also include an userguide for this template.

Hello, I want to buy this template because I read that is based on “react-boilerplate”. Have you changed the structure? are you using styled-components? (beside Material-UI). I need that structure be the same than react-boilerplate because I already have a Symfony app running with it.

Hello,

Yes, it is the same structure as react-bolierplate.You won’t have problems integrating this theme to your needs.

HI

Really a great theme!! Thank you very much. I’m really impressed. It is really good that you used react-boilerplate – it is easy to understand where each part of the app placed, how they interact, it is self-documented

For my previous app I used another theme from envato (Material Design ReactJS Admin Web App with Bootstrap 4). I feel like I moved from the hell to the heaven ))

Thank you for your work.

Glad you like it :)

We will keep improving this template.

Hello. I’m considering to buy this template. I have a question, I’ve been testing around with react-boilerplate for a while, I love it’s structure (containers, components, with saga, messages, reducers). In the description of your template it says that it’s based on react-boilerplate. Are using the same structure? Or have you made changes and what changes. Besides the material-ui components, are you using more css for specific containers, and how, ala react-boilerplate style? (css in styled-components)

Hello,

Yes, we are using the same react boilerplate (latest version) and we use material-ui for react as css framework. We have a style file for a few custom styles and use clases for containers.

For containers we use flexboxgrid:

http://flexboxgrid.com/

I have 3 routes (Login , Recover, ResetPassword) This routers are independent and are not a child of App . What i have to change to make this modification. I know how to do that but with static routes .

Hello,

You can use a state to hide/show drawer and toolbar when navigating to those routes.

In App.js there is nextProps.location.pathname in componentWillReceiveProps, maybe that can help.

Hi, I have a question . How can I redirect to a path after the user was logged in with success ? I am trying to figure out without any success so far. Thank you

First try: I update webpack to 2.6.0, webpack-dev-middleware 1.10.2 and webpack-hot-middleware at 2.18.0 (lastest versions) . The APP work in chrome when I start the app with “npm run start” command. If i clear cache i receive this error “Uncaught (in promise) TypeError: Cannot read property ‘toJS’ of undefined”... This error i have had in the pas and you tell me to check it the of the store in selector is the same with the mane of the reducers. I check twice and everything is ok. If i stop and start the app again the app works. Mention : The app doesn’t work in mozilla.

Hello,

We did a test with the same libraries you are using, and also ran the app in firefox and it worked ok.

Check your selector by console log state.get to see what you get:

const selectApidemoPageDomain = () => (state) => { console.log(state.get(‘apidemo’));

return state.get('apidemo');

...

Than you for your response. I figure out what is the problem. Chrome , sometimes server the files from cache even so it not have the right to do that due “disable cache” option.

Good afternoon,

I have the need to set up the menu dynamically, displaying or hiding items according to the logged-in user.

I made the logic to display or hide menu items in the containder constructor of LeftDrawer.

In this constructor I generate a json containing the value of the variable:

This.props.appStore.menus

And then on top of this created variable I see what needs to be removed or displayed. And then where I replace in the code below all occurrence of this.props.appStore.menus by the created variable.

<ListItem Value = {- 1} ClassName = “menu-text-color” PrimaryText = “MENU” Style = {styles.headerItem} Open = {this.state.menusHasItems} OnNestedListToggle = {this.handleMenusNestedListToggle} PrimaryTogglesNestedList NestedItems = {this.props.appStore.menus.length> 0? This.props.appStore.menus.map ((menu) => <ListItem ClassName = {`list-item $ {this.animateRootMenu ({open: this.state.menusHasItems}, menu)}`} Value = {menu.index} Style = {this.props.appStore.selectedMenuIndex === menu.index? Styles.selectedMenuListItem: styles.menuItem} PrimaryText = {menu.text} LeftIcon = {menu.icon} PrimaryTogglesNestedList = {menu.children && menu.children.length> 0} OnClick = {this.handleClickMenu} OnNestedListToggle = {this.handleMenuItemsNestedListToggle} Open = {menu.open} Data-id = {menu.id} Data-url = {menu.url} NestedItems = {menu.children && menu.children.length> 0? Menu.children.map ((child) => <ListItem ClassName = {`list-item $ {this.animateMenu (menu, child)}`} Value = {child.index} Style = {this.props.appStore.selectedMenuIndex === child.index? Styles.selectedMenuListItem: styles.menuItem} PrimaryText = {child.text} OnClick = {this.handleClickMenu} Data-id = {child.id} Data-url = {child.url} /> ): []} /> ): []} />

The first point is that I think I’m dealing with this menu logic (what to display and what to hide in the wrong place), is it wrong to do this treatment here?

And the second point is that by doing the way I did, whenever a menu has children, it does not display the children despite displaying the icon to open or close children.

I found that the error mentioned above happens in the line below:

ClassName = {`list-item $ {this.animateMenu (menu, child)}`}

If you leave the line above the menu items with children do not display their children. If you hide this line, the child menu items correctly display and hide your children, but they lose the animation effect in the display and menu selection.

Can you help me?

loadMenu() is an action in containers/App/actions.js that will call the saga appSaga() and then saga will call the reducer.

You can also call it as this.props.actions.loadMenu() from the App container.

Hello,

I made two attempts for the dynamic menu without success

First: In app / containner / App / reduce in the case of SIGN_IN I retrieve the menu through state.get (‘menus’), save result to a variable and retreat which I do not want to be displayed as per user and this works!

Only I need to perform the logout back with the menu to the initial state.

So I took advantage of the existing mm app / containner / App / reducer saga and added one more listener, listening to the actions of SIGN_OUT to call fetchMenu and return with the menu to the initial state.

The problem is that this is not working and anything else that I try also does not work. I think you’re using immutable and there’s the problem, because once the menu value set I will not be able to change.

Do you have an idea how I can solve this problem? Its I shot the immutable used in reduer the application to stop working, because in other places the toJS () function is used over state that is with immutable …

Thank you.

Hello,

Try something like this if you are having issues updating your state array:

const arr = Object.assign([], state.get(‘your_array’));

Take a look of the ApidemoPage reducer.

Hello good day,

Would you like to know if there is any documentation of the components of IU material?

From the topic with the examples, I am able to find out the existing materia-ui components and some parameters that it accepts.

Do all existing components already have their use examples exposed?

And do these examples of the exposed I-material components already inform you of all possible parameter that it can receive?

I need just that, for each component of existing ui material, what possible parameters can I pass and what url to import it?

Thanks in advance!

Hello,

You will find material-ui documentation in their website with examples and components props.

http://www.material-ui.com/#/components/app-bar

Thanks

I have tried and tried and tried to get this to work and nothing works. The webpack is missing the DLL manifest. I have looked in the support questions and nothing there I can find. Can you point me in the direction of this fix? Otherwise, I’d like a refund please. Thanks

Purchase code 741a8c6d-86a6-4e3a-be76-53737545f5d2

Yes, that’s correct.

Didn’t work. Unfortunately the same error “The DLL manifest is missing. Please run `npm run build:dll`”

There are two projects in the fortress-react-admin – v1.8.zip,

Have you tried installing fortress-react-admin-clean?

Hi!

I just downloaded the FortressTheme and run:

npm install Npm run build npm start:prod

But I just got a blank page and the error below in my browser’s console:

main.1e1fb91dba94d803afeb.js:60461 Uncaught (in promise) Error: Minified React error #105; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=105&args[]=NavigationMenu for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at reactProdInvariant (main.1e1fb91dba94d803afeb.js:60461) at ReactCompositeComponentWrapper.mountComponent (main.1e1fb91dba94d803afeb.js:50264) at Object.mountComponent (main.1e1fb91dba94d803afeb.js:56112) at ReactDOMComponent.mountChildren (main.1e1fb91dba94d803afeb.js:55495) at ReactDOMComponent._createInitialChildren (main.1e1fb91dba94d803afeb.js:51785) at ReactDOMComponent.mountComponent (main.1e1fb91dba94d803afeb.js:51610) at Object.mountComponent (main.1e1fb91dba94d803afeb.js:56112) at ReactCompositeComponentWrapper.performInitialMount (main.1e1fb91dba94d803afeb.js:50440) at ReactCompositeComponentWrapper.mountComponent (main.1e1fb91dba94d803afeb.js:50327) at Object.mountComponent (main.1e1fb91dba94d803afeb.js:56112)

I followed the link to the react error decoder page to get the details and got this error message:

NavigationMenu(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.

When running the application in development mode, the page shows correctly and no error is displayed in the browser or shell console.

Here are the versions I’m using:

node 6.9.1 npm 2.15.9 react 15.4.1 webpack 2.5.1

What can be the problem?

Thank you!

Hello,

The issue is with SVG icons from material-ui and webpack.

import menu from ‘material-ui/svg-icons/navigation/menu’;

We will fix it and release a new version of this template. Probably switch from using svg icons to font icons.

If you build the fortress-react-admin-clean project and run npm run start:prod you won’t receive this error.

Hello,

I just found the error.

https://github.com/callemall/material-ui/blob/master/package.json#L57

Is a package in material-ui, called recompose.

we are using material-ui 0.18.0 and recomponse 0.23.0

In the next material-ui 0.18.1 version the error is fixed, basically update recomponse to 0.23.4

We will update this library as soon as possible and release a new version of our template.

A workaround is to uninstall recompose and install it again with npm install recompose@0.23.4

Let me know if you have any question.

The new version 1.8 of this template fixes this error.

Hello,

When running the command:

Npm run build

You get the error below:

ERROR in main.6247d1e22d2e2dfc0137.js from UglifyJs Unexpected token: name (styles) [main.6247d1e22d2e2dfc0137.js: 70724,6]

The line quoted in the error, is as follows:

Let styles;

When running the application in development mode, no error is displayed in the browser or shell console.

What can be this error?

Thank you!

Obrigado pelo retorno!

Thanks for the answer

There is a new version you can download for this template

v 1.8

I receive an error after i create a component : selectors.js?1ea5:19 Uncaught (in promise) TypeError: Cannot read property ‘toJS’ of undefined

No problem.

Make sure the name you inject in your routes matches the name in your selector:

Routes: injectReducer(‘apidemo’, reducer.default);

Selectors: const selectApidemoPageDomain = () => (state) => state.get(‘apidemo’);

Hi. It is somewhere a issue. I start a new project from seed, i create a container. I delete the files created from new container and i paste the files form API examples. Also, i modified the path to files and the project don’t have any issue, but when i press on new route i receive same error (cannot read property ‘toJS’ of undefined.

Indeed. That was the problem. The “npm run generator route” inject a reducer name like component. The “npm run generator container” create a saga with other name. Not it’s work. Thank you

Hello good day!

Sorry for my English, my native language is Portuguese and I’m using a translator ….

I bought the theme Fortress – React Admin Template and I would like to understand some things.

Speaking about the CLI commands generators, in the documentation it just says to run npm run generate container or npm run generate router. Would you like to understand what happens when running this command?

What file will it write in? What will he write? I want to know the details.

I would like to know the same information for the other CLI commands generators: components, containers.

Another thing I would like to know is if you have an example code where a request is made for an API. What is the recommended flow of this API call, until it receives the response, save in redux when appropriate and display on the screen. In addition to treatment success or error, when sending a form for example.

Thanks in advance for the support and congratulations for the work is great!

Hello, thanks for your comment!

We created a new page called API Demo where you can see a complete demo on how to get, post, put and delete to a restful API endpoints.

Please download the latest version of the template.

Check it out online: http://preview.themeforest.net/item/fortress-react-admin-template/full_screen_preview/19568479

Basically, when you run the CLI command generator to create a container, for example, you will notice that actions, sagas, constants and reducers files are created. When you dispatch an action, sagas and reducers that are mapped to the type of the action (constant) will executed.

Also, in your routes, you have to import the sagas and reducers you will use in your page container.

Review the full API demo example and let me know if you have more questions.

That’s ok. Thanks

Local incorrect, sorry

Hi, I just bought this theme. Very nice theme. I have one questions. Do you have “seed” version of this theme? When i run “Npm run clean” all examples gone and i see a white page with a message. I saw a lot of themes that have “seed” version. The seed helps a lot because the developers what to build very easy without making the “App” container from scratched. Thank you.

Nte: I think the folders dashboard ans searc can be removing from App/components without destroy the seed ? I didn’t find any reference in the seed on this 2 components.

Hello, thanks for the feedback it helps us a lot to improve our template. We created new settings in order to show/hide the open views and header tabs and also removed the no needed components in the seed template. Change the App reducer.js initial values to set the settings you want ”/app/containers/App/reducer.js” Download our latest version, take a look: http://preview.themeforest.net/item/fortress-react-admin-template/full_screen_preview/19568479

Hi. Thank you for response. I have few suggestions for improving the template . This modifications will help us, the developers to build faster their apps.

Make pages for - [ Autentification ] Register, Recover password, Profile page - Pricing panel - Invoices - Help desk. - Email

Other suggestions: - Put all modifications in a change log file - Maintain the the template with components without - Keep the components/containers with full (having sagas, actions,reduces,languages)... In this way we can easy copy and paste a component and use it.

Congrats for choosing the boiler plate. In my opinion is the best template on the market even if don’t have yet a lot of examples. The boiler plate is grate because it is a complete one with redux, redux-saga, react-react and webpack 2 Note: If i can help you with mockups for the page, suggestions and components that i build base on your theme please contact me.

It’s great. “yes I will continue improving this theme. Adding more page components and new theme colors for the next weeks. Also a split panel navigation in order to have two views at the same time.” When you will release a new update ? I am waiting…. Thanks you!

There was a new update on April 7th (new components) and it will be a new one very soon.

sorry for my English. It’s great.

I would like to know what are the next steps for the theme. Internationalization? Any app, like mail? Update for Material ui next?

I’m really interested in your theme.

Hello, thanks… yes I will continue improving this theme. Adding more page components and new theme colors for the next weeks. Also a split panel navigation in order to have two views at the same time.

cool work, fantastic ! ;)

Can you make a theme for my website https://goo.gl/Ehn2Vs if yes, how much would you charge?

It uses crea8social.com and you can test the demo here: https://crea8social.com/try

Hello, thanks for your interest in my work. Send me a private message to talk about this project.

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