Jump to content

Sradesign

Members
  • Posts

    67
  • Joined

  • Last visited

Everything posted by Sradesign

  1. No Js error at all It doesn't work I tried that too. Thanks I checked it and doesn't seems to work
  2. Nope no change we have some line added in the new config file but nothing regarding the sessions and messages changed.
  3. Yeah I'm working on this admin when I finish it I may send it to rayan to put it up for anyone who want to use it. I'll check it but I didn't change anything
  4. <?php if($notices){ ?> <?php foreach($notices as $notice){ if($notice instanceof NoticeMessage) { $class = 'success '; $text = $notice->text; $icon = 'check'; } if($notice instanceof NoticeError || $notice->flags & Notice::warning) { if($notice->flags & Notice::warning) { $class .= 'alert-warning'; $icon = 'warning'; } else { $class .= 'alert-danger'; $icon = 'exclamation-triangle'; } } if($notice->flags & Notice::debug) { $class .= 'danger'; $icon = 'gear'; } if(!$icon) $icon = 'fa fa-check'; ?> <div class="alert alert-<?php echo $class; ?> alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> <i class="fa fa-<?php echo $icon; ?>"></i> <?php echo $notice->text;?> </div> <?php } ?> <?php } ?> This is my code for showing the messages and below is the code that I have in order to create them. foreach($files4 as $filename) { $user->doc4->removeAll(); $user->doc4->add($upload_path . $filename); $user->message("Added file 4 : $filename"); unlink($upload_path . $filename); } $user->save(); $user->of(true); $session->message(__('Personal Information updated successfully')); $this->session->redirect($this->page->url);
  5. See the attachment please this is my own admin which is separate from processwire admin is basically a page with my custom template and restrictions.
  6. no I load my messages in frontend pages after login cause I have separate admin pages for myself and do some action in it like updating user details and etc before update everything with messages was great but now everything stay in browsers cache by the way my project is on wamp localhost.
  7. Hi I have a problem after updating from 2.6 to 2.7, all the flash messages that I have in frontend stays and I can not remove them the only way to get read of them is to remove them whole session from browser. Best Regards, Ali.M
  8. Hi Teppo Is there anyway to show the changelog table in a template? I want to show it in frontend templates.
  9. Hi Martijn, I want to know this too how you can setup a different markup for an specific field not specific type of field for example I have 2 inputText I want one to be. <div> <label>...</label> <input>...</input> </div> and the other field <div> <label>...</label> <input>...</input> <span>....</span> </div>
  10. Hi how we can change the markup of specific field in forms ? for example I want to create something like this with my login form. http://www.keenthemes.com/preview/metronic/theme/admin_6/page_user_login_5.html I can change the wrapper for the form but it do it for all the fields in simple word is there anyway to have our own custom markup for the form ?
  11. how process wire will read it? I don't want to use parse I want to have built in solution?
  12. Hi I want to ask for a webservice to create the user trough webservice. this can be use for mobile apps and etc to create the user in processwire from an external app or website.
  13. Exactly Ivan I'm looking for the same thing, see my goal is too have different type of admin that they have different access they see some custom page which is inside processwire admin structure now for any custom page you need to make eaither a process or use admincustompage with admin custompage you are ok but you can not have different field for each page and also you can not assign differnt user to just see that page, also for example I made a custom admin page using admincustompage module but I can not remove it from navigation for specific user role.
  14. No I'm talking about the template of admin panel to be something like this: http://lab.westilian.com/westilo-admin/full-width-fluid-layout/index.html or http://themepixels.com/demo/webpage/quirk/templates/index.html
  15. Hi is simple because is way faster to code and add elements standard based on bootstrap and also because anyway I load bootstrap in my template for datatables and etc so is better the reno it self be bootstrap ready.
  16. Hi is going to be great if anyone add bootsratp for reno and make it bootstrap ready.
×
×
  • Create New...