Discussion on Dandelion Pro - React Admin Dashboard Template

Discussion on Dandelion Pro - React Admin Dashboard Template

Cart 1,492 sales
Well Documented

ilhammeidi supports this item

Supported

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

443 comments found.

Very nice theme. Fell in love the minute I saw it. Just bought it plus extended support. Dan ternyata yang buat urang bandung. Makin mantaplah untuk beli hehehe… maju terus karya indo. Izin ke depannya nanya2 yaa…Salam kenal.

Siap, hatur nuhun bro

Hey there,

Could you update the changelog so that we can see what’s new in this update, please?

Kind Regards

Hi agarwalhriday1,

Thanks for purchasing,

We just update the change log. You can see in this item details

Kind regards.

Hi ilhammeidi,

Again I have a one small question with the react-form. That is how to use the image file upload with preview to work with the react-form. I was able submit all the field types including date time pickers, selectors, radio buttons. But when i include the file MaterialDropZone react from does not give me the uploaded file content even though it shows a preview of what i upload.

Here is the sample code of what I did.

There are the component definitions.

const renderDatePicker = ({
  input, meta: { touched, error }
}) => (
  <div>
    <MuiPickersUtilsProvider utils={MomentUtils}>
      <DatePicker
        keyboard
        {...input}
        label="Purchased Date" 
        format="YYYY/MM/DD" 
        selected={input.value ? moment(input.value) : null}
        animateYearScrolling={false}
        mask={[/\d/, /\d/, /\d/, /\d/, '/', /\d/, /\d/, '/', /\d/, /\d/]}
      />
    </MuiPickersUtilsProvider>
    {touched && error && <span>{error}</span>}
  </div>
);

const renderImageUpload = ({
  input, meta: { touched, error },
}) => (
  <div>
    <MaterialDropZone
      files={input.value ? input.value : []}
      showPreviews
      maxSize={5000000}
      filesLimit={1}
      text="Drag and drop file(s) here or click button bellow" 
      showButton
    />
    {touched && error && <span>{error}</span>}
  </div>
);

This is how used it:

<form onSubmit={handleSubmit(data => handleFromSubmit(data))} noValidate autoComplete="off">
<FormLabel component="label">Purchased Date</FormLabel>
            <div classname="{classes.picker}">
              <Field
                name="purchasedDate" 
                component={renderDatePicker}
                label="Purchasing Date" 
                required
                className={classes.field}
              />
            </div>
<FormLabel component="label">Rough Image</FormLabel>
            <div classname="{classes.fieldBasic}">
              <Field
                name="roughImage" 
                component={renderImageUpload}
                label="Rough Image" 
                required
                className={classes.field}
              />
            </div>
</form>

Please tell me how to resolve this issue. When I submit the form I get the value for purchasedDate but I dont have any value or field for roughImage.

Hi chamika529,

You can try to use dropzone ref props, for example use upload please check in sample apps social media > timeline and communication > contact > upload avatar/edit avatar. Here’s the source code /app/components/SocialMedia/WritePost.js and /app/components/Contact/AddContactForm.js

Feel free if you have any further query.

Kind regards.

Will you be able to give me a sample code on how to do that ? Not sure how to get it done with refs?

Hi chamika529,

I not allowed to paste dandelion source code here. So please take a look this sample code in those files bellow /app/components/SocialMedia/WritePost.js and /app/components/Contact/AddContactForm.js

Feel free if you have any further query.

Kind regards.

Hi, I’ve purchased your Dandelion Pro theme a half an hour ago, and I tried to make it work with NodeJS v8.11.1, but the build process has errors and it doesn’t work.

WARNING in ./node_modules/moment/src/lib/locale/locales.js Module not found: Error: Can’t resolve ’./locale’ in ’/var/www/dandelion/dandelion-pro_v101/dandelion-pro/node_modules/moment/src/lib/locale’ @ ./node_modules/moment/src/lib/locale/locales.js @ ./node_modules/moment/src/lib/locale/locale.js @ ./node_modules/moment/src/moment.js @ dll reactBoilerplateDeps

ERROR in dll reactBoilerplateDeps Module not found: Error: Can’t resolve ’@types/googlemaps’ in ’/var/www/dandelion/dandelion-pro_v101/dandelion-pro’ @ dll reactBoilerplateDeps

And other errors similar to the second one.

You can find the whole error and my commands here: https://docs.google.com/document/d/1mDgTFayBlgfBwcwaOeLJs5GZmOq1Y30QaGxZLPFrJNs/edit?usp=sharing

Please help us ASAP, we want to start working with it tomorrow.

Thanks, Szabolcs Zajdo

Hi Szabolcs Zajdo,

Thanks for purchasing

Don’t worry for the errors when npm install or npm build:dll it’s warning messages because the webpack dll cannot go through inside those dependencies directory, some dependencies work for backend side (such as fs and moment module ) so that will not built in dll libraries.

You can continue to start the project and should work as well after npm start.

The webpack dll itself use for optimizing building script. Here’s article about webpack dll https://medium.com/@emilycoco/how-to-use-the-dll-plugin-to-speed-up-your-webpack-build-dbf330d3b13c.

Feel free if you have any further query.

Kind regards.

Hi ilhammeidi,

Thanks for your reply. Yesterday I did start “npm start” but it didn’t run. I’ve checked it again, and it is working now. I must have overseen that. Thanks.

Hi,

We bought your theme, and we are looking for a first phase to sketch (using Sketch) our UI. Even there are two sketch source files, we did not find all the UI elements library. Did we miss something?

Best,

Hi merceyco,

Thanks for purchasing,

For sketch files bonus, You already got them all. We provide 2 landing pages designs and the UI including whole dashboard layout, table, form card and auth page (login and register).

Feel free if you have any further query.

Kind regards.

Need small support on how to configure SelectFeild with react from inside this template. I checked with the one that is included in the templated. But according to the demos in the https://redux-form.com/7.4.2/examples/material-ui/ they have used different type of react material ui npm module. Can you give me a example of how can i get it done with the available material ui with this template.

I tried follows but did not work as expected. Values does not get updated.

const required = value => (value == null ? 'Required' : undefined);
const email = value => (
  value && !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(value)
    ? 'Invalid email'
    : undefined
);
const minLength = min => value =>
  (value && value.length < min ? `Must be ${min} characters or more` : undefined);
const minLength8 = minLength(8);

const styles = () => ({
  fieldBasic: {
    width: '100%',
    paddingLeft: '5px',
  },
});

const renderSelectField = ({
  input, label, meta: { touched, error }, children, ...custom
}) => (
  <Select
    floatingLabelText={label}
    errorText={touched && error}
    {...input}
    onChange={(event, index, value) => input.onChange(value)}
    {...custom}
  >
    {children}
  </Select>
);

class AddUser extends React.Component {
  state = {
    showPassword: false,
  };
  handleChange = prop => event => {
    this.setState({ [prop]: event.target.value });
  };
  handleClickShowPassword = () => {
    this.setState({ showPassword: !this.state.showPassword });
  };
  render() {
    const {
      classes,
    } = this.props;
    return (
      <Fragment>
        <form noValidate autoComplete="off">
          <PapperBlock title="Add User" icon="ios-settings" whiteBg>
            <List dense>
              <ListItem>
                <Avatar>
                  <AccountCircle />
                </Avatar>
                <div classname="{classes.fieldBasic}">
                  <FormControl className={classes.formControl}>
                    <Field
                      name="userType" 
                      component={renderSelectField}
                      label="User Type" 
                      className={classes.textField}
                      required
                    >
                      <MenuItem value="">
                        <em>None</em>
                      </MenuItem>
                      <MenuItem value="Admin">Admin</MenuItem>
                      <MenuItem value="Operator">Operator</MenuItem>
                      <MenuItem value="Executive">Executive</MenuItem>
                    </Field>
                  </FormControl>
                </div>
              </ListItem>
              <ListItem>
                <Avatar>
                  <Email />
                </Avatar>
                <div classname="{classes.fieldBasic}">
                  <Field
                    name="name" 
                    component={TextField}
                    placeholder="Name" 
                    label="Name" 
                    required
                    validate={[required, email]}
                    className={classes.field}
                  />
                </div>
              </ListItem>
              <ListItem>
                <Avatar>
                  <Email />
                </Avatar>
                <div classname="{classes.fieldBasic}">
                  <Field
                    name="email" 
                    component={TextField}
                    placeholder="Email" 
                    label="Email" 
                    required
                    validate={[required, email]}
                    className={classes.field}
                  />
                </div>
              </ListItem>
              <ListItem>
                <Avatar>
                  <Lock />
                </Avatar>
                <div classname="{classes.fieldBasic}">
                  <Field
                    name="password" 
                    component={TextField}
                    type={this.state.showPassword ? 'text' : 'password'}
                    label="Your Password" 
                    InputProps={{
                      endAdornment: (
                        <InputAdornment position="end">
                          <IconButton
                            aria-label="Toggle password visibility" 
                            onClick={this.handleClickShowPassword}
                            onMouseDown={this.handleMouseDownPassword}
                          >
                            {this.state.showPassword ? <VisibilityOff /> : <Visibility />}
                          </IconButton>
                        </InputAdornment>
                      )
                    }}
                    required
                    validate={[required, minLength8]}
                    className={classes.field}
                  />
                </div>
              </ListItem>
              <ListItem>
                <div>
                  { /* <Button variant="contained" color="secondary" type="submit" disabled={submitting}> */ }
                  <Button variant="contained" color="secondary" type="submit">
                    Submit
                  </Button>
                  <Button
                    type="button" 
                    // disabled={pristine || submitting}
                    // onClick={reset}
                  >
                    Reset
                  </Button>
                </div>
              </ListItem>
            </List>
          </PapperBlock>
        </form>
      </Fragment>
    );
  }
}

Hi chamika529,

Thank for purchasing,

The documentation above is for material-ui v0.x.x. In this project we use material-ui v3.x.x.

So you can refer this documentation https://github.com/erikras/redux-form-material-ui/tree/5.0 or can check example use in http://dandelion.ux-maestro.com/app/forms/reduxform (just fill the form then submit to see the result value) and for source code in app/containers/Forms/demos/ReduxFormDemo.js

Feel free if you have any further query.

Kind regards.

I am not able to customize – dandelion-pro-react-admin-dashboard-template Please provide full customization documentation ,i want to use widget and component to new pages . For Example: I want to create new page with using some component of profile page and some component of contact page.

Hi EICE,

Thanks for purchasing,

Basically guide for create page and put components inside it is already described in docs as well.

All components listed in app/components/index.js, then just call them as dan-components.

In example for create profile page with some components of contact: create new page in app/containers (please folow the documentation in topic Start Coding > How to Create)

// app/containers/Pages/ContactCustom/index.js import { ContactList, ContactDetail, ProfileWidget, ContactWidget, Cover, Connection } from 'dan-components'; class ContactCustome extends React.Component { render() { return ( /* Put imported components here and arrange them as you like */ ) } }

Hope this can help :)

Feel free if you have any further query.

Kind regards.

Can I use this theme on Django?

Hi tim4ous,

This template built with react.ja, we’re not sure can implement in djanggo.

Thanks

First off. Amazing creation you guys put together. I cannot wait to get down and intertwined. Thank you so much for creating this! In the future, a nice addition could be an entire integration with firebase or mlab with some code sampling a backless configuration setup or anything fun deploying with heroku etc!

Thank you so much!!!. I will make these changes. However, there is one thing I do need to resolve while doing my twitter oath flow. Visiting /auth/twitter and then it gets redirected to /auth/twitter/callback which are all handled by the 404 page. I tried adding middleware to attempt to handle these and as well as package.json etc

module.exports = function addProdMiddlewares(app, options) { const proxy = require(‘http-proxy-middleware’); const apiProxy = proxy(’/api’, { target: ‘http://localhost:3000' }); const apiProxy2 = proxy(’/auth’, { target: ‘http://localhost:3000' }); app.use(’/api’, apiProxy); app.use(’/auth/’, apiProxy2); const publicPath = options.publicPath || ’/’; const outputPath = options.outputPath || path.resolve(process.cwd(), ‘build’); };

// compression middleware compresses your server responses which makes them
// smaller (applies also to assets). You can read more about that technique
// and other good practices on official Express.js docs http://mxs.is/googmy
app.use(compression());
app.use(publicPath, express.static(outputPath));
app.get('', (req, res) =>
  res.sendFile(path.resolve(outputPath, 'index.html')),
);

Finally figured it out. It was the service worker running production mode that was consuming the routes I wanted to go to the api server

Wow that’s great, we’re happy to hear that ;)

I have purchased your template and want to know whether there is a way to change Advance Table raw color based on some sort of a status. According to the https://github.com/gregnb/mui-datatables/ documentation of the plugin that you have used, we can only pass the string data array of data to the MUIDataTable. Note that my requirement is to have all the Advance Features like search, sort, print, and this extra requirement to have different colors for each raw based on a status. Further, this table will have more than 1000K entries. Thanks

Hi ilhammeidi,

Really thank your support on this, but my requirement as above. I need to customize the row color plus need to have callBack function to trigger when click on each cell. I looked into that example earlier anyway. Now I’m trying to use React-Table as you suggested, But its looks does not match with the theme and all :( But trying it as I don’t have any option left for the time being. So much appreciate your helps. I got few more days. If you have anytime to do any modifications to get this thing done with the same materiel ui please let me know. Thanks again!! In the react table they are giving some feature to update the React components that are being used to render the React-Table, but not sure how feasible to get over with that. Let’s see!!

Thanks and Regards. - Chamika.

Hi Chamika,

I just find a tricky way by using customBodyRender. But need define style by using regular css, because it use native javascript to add class.


// You can set each row in componentDidMount
componentDidMount() {
    // Get all row with "yes status" 
    const cell = document.getElementsByClassName('yesStatus');
   // Add class "rowYes in each row parent element (tr < td < label.rowYes)" 
    for (let i = 0; i < cell.length; i += 1) {
      cell[i].parentElement.parentElement.classList.add('rowYes');
    }
  }


// Add customBodyRender in columns state/constant
const columns = [
  {
        name: 'Active',
        options: {
          filter: true,
          customBodyRender: (value, tableMeta, updateValue) => (
          // Need this label to put status
            <Label
              label={value ? 'Yes' : 'No'}
              value={value ? 'Yes' : 'No'}
              className={value ? 'yesStatus' : 'noStatus'}
            />
          )
        }
      }
]

The result should be the rows with active == ‘Yes’ will having class ‘rowYes’.

Note: if you load such a big data inside it, probably will make performance slower in componentDidMount

Later we’ll try to put css in jss to make code cleaner and then implement it in the next update.

Feel free if you have any further query.

Kind regards.

Hi ilhammeidi,

Thanks again. Yeah that is some sort of a tricky implementation. But here as I’m dealing with many records there will be a performance hit. So I’ll wait for a more performative solution from you in the next release of this template.

Thanks and Best Regards, Chamika.

Hi! I am really interested in the theme. However, I would like to know its compatibility with IE 11. Is it compatible ?

Hi whatnxt,

This theme has not support for Internet Explorer.

Hi guys..How i can start this template? i tried with npm run start or npm start and nothing…please help me

Hi Nachitoxman,

Thanks for purchasing,

First you need to npm install first, after finish just npm start. Then wait until about a minute then open localhost:3000 in your browser.

Also for the detail is already described in documentation as well.

Feel free if you have any further query.

Kind regards.

Hi customers,

If you guys get any error related material ui picker. Please try to downgrade first material-ui-picker by script “npm install material-ui-picker@1.0.0-rc.6

It seems the installed version of material-ui-picker is higher than should be. The new version has different structure. We will find out how come this can be happen by tomorrow.

Or you can make some adjustment in code by following this docs https://material-ui-pickers.firebaseapp.com/usage

Thanks for your attention.

I was wondering how to actually launch this template. I’m familiar with Node.js, but React Boilerplate seems a bit different than what I’m used to. How can I launch the project?

Hi darranatraser,

First you have to install dependencies with “npm install”

After finish run “npm start”

For the details you can see in documentation including how to start app in production.

Feel free if you have any further query.

Kind regards.

beautiful work, Congratulations GLWS :)

Thank you

Give us Cyber Monday discount and I will buy! hahah beautiful theme!

Is it possible to put an background image instead this default image on login page?

Thanks you, yeah the background only gradient right now but can be customized with image via hard code.

Keren sekali om , ijin Bookmark dulu

Monggo silahkan

Hi,

Prior to purchase this templates, we have some queries about security and compatibility.

1. Is this template follows W3C standard?

2. Is there any compatibility issue with any browser?

3. Does is contains any harmful client / server side scripts?

4. Is it safe to integrate payment gateway using the same scripts it is running?

Please advise,

Thanks! Naveen Jain

hi Naveenbytech,

Here’s our answer:

1. Yeah this template has been checked with w3c validator.

2. For browser support are the latest version Chrome, Firefox, Opera, Safari and Edge on 21 Nov 2018. But It’s not supported in IE.

3. This template has 3rd party dependencies in MIT and opensource, we haven’t check about the security one by one of them.

4. Regarding point no.3 we haven’t the white list for the trusted dependencies. We provide starter-project with minimal configuration in this template and then you need do more for setup custom dependecies in package.json. Just keep the trusted dependencies only.

Feel free if you have any further query.

Kind regards Boss

Ultimate Team.

Hi,

We have purchased this template and found it in ReactJs.

We thought this is in HTML / CSS based template as per the description.

We don’t know ReactJS much and can not work on this template.

Is it possible if you can provide HTML version of this template or cancel the order in case.

Please let us know.

Thanks! Naveen Jain

Hi Naveen Jain,

Thanks for purchasing,

Unfortunately we don’t have the pure HTML version.

And this item specification and title is clearly come with React. Also with note “This is a React template. It’s built on Material-UI library. It will not work the Wordpress nor will it work as a static HTML template.” id description.

Then for the cancelation we’ve to say sorry regarding the policy we cannot accept to refunding it.

You can see the detail refund policy here: https://themeforest.net/page/customer_refund_policy

Feel free if you have any further query.

Kind regards.

Hi,

Prior to purchase this templates, we have some queries about security and compatibility.

1. Is this template follows W3C standard?

2. Is there any compatibility issue with any browser?

3. Does is contains any harmful client / server side scripts?

4. Is it safe to integrate payment gateway using the same scripts it is running?

Please advise,

Thanks! Naveen Jain

Incredible work!!! Good Luck!

thank you very much

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