-
Posts
796 -
Joined
-
Last visited
-
Days Won
6
Posts posted by benbyf
-
-
Hi all,
Not sure if this has been asked already but...
Recently came across an agency with a build script for PW! I was amazed and also bemused, as alot of the script was used to create the right fields and templates in the DB from other local copies, and they'd done this by separating out tens of JSON files with individual field / template export data and sticking it back together on deploy creating new id's adhocly. (a far as i could see as id's were ommited)
Anyway, in my experience I've always felt that export profile and profile installing has worked well for buiding for live as you get a stable install with your site template, fields and pages.
If anyone has any scripting experience with PW I would love to know:
Anyone else use build tools?
What do you use them for with PW?
and what languages/environment you use to create them?
- 1
-
my latest tut+ tutorial went up today called: How to Develop a Processwire Theme - which is a very basic intro to creating a template for PW
- 10
-
whats the intagram strategy, its like they're locking it down more and more with the new approval process and new sandbox mode. https://www.instagram.com/developer/sandbox/
also do you create one client, or multiple clients - new one for each site? If multiple its almost impossible to do as each time you have to setup, submit to approve with instagram (including a step that asks you to submit a video of how your using instagram...) and wait.
boo instagram boo!
this still the case or am i missing something?
-
my beginners guide is now live on Tuts+: How to install and setup PW CMS http://webdesign.tutsplus.com/tutorials/how-to-install-and-setup-processwire-cms--cms-25509
I also saw that Francesco Schwarz post went live today: 4 Reasons to Choose ProcessWire as Your Next CMS http://code.tutsplus.com/articles/4-reasons-to-choose-processwire-as-your-next-cms--cms-25062
- 13
-
quick installation question: I was able to get wireshell working globally on root but would prefer it to work for another user but couldn't work it out.
-
That worked, I had $user overwritten, so i changed it for $u and $p
-
error persists - it errors with the first call to $user->isLoggedin() (in the head.inc used to hide the nav if not logged in)
-
HELLO!
I'm using $user->isLoggedin() three times on one template (in the head.inc, template-page.php and foot.inc). I'm using a custom login in my template file:
// If they aren't logged in, then show the login form if(!$user->isLoggedin()){ // check for login before outputting markup if($input->post->user && $input->post->pass) { $user = $sanitizer->username($input->post->user); $pass = $input->post->pass; if($session->login($user, $pass)) { // login successful $session->redirect($homepage->url); } else { // login error $session->login_error = 'Login Failed. Please try again, or use the forgot password link below.'; } } if($input->post->user && $input->post->pass) { $login = "<p class='error'>" . $session->login_error . "</p>"; } $login .= "<form action='./' method='post'><div class='login'> <input type='text' id='user' name='user' placeholder='Enter your SP Company Code' /> <input class='hidden' type='password' name='pass' value='' /> <p><input type='submit' class='btn' name='submit' value='Login' /></p> </div></form>"; } // end !logged in
Using the correct logins works and everything is cool, but putting the wrong passwords in creates a Internal server error on both the head.inc and foot.inc $user->isLoggedin() functions.
I'm probably doing something absurdly stupid here, any ideas?
thanks
-
really? mind telling me the steps? was trying to set it up with mail-in-a-box - this is the domain im setting it up on https://mail.nicegrp.com/
-
mainly advice on what you'd want to see if you were new to PW theming
-
anyone have any thoughts or examples of tutorials for theme building in PW, just about to write mine as part of a series on envato. Ideally I'm looking to make my tutorial about making a complete theme for a simple website based from PW's site-default.
- 1
-
Or pay me
-
tried letsencrypt on my DigitalOcean server running Ubuntu and Nginx and totally failed to get heads of tails of it... :/
-
I sometimes tweet the official @ handle but was wondering if it would be better to tweet hashtag instead..? #processwire
- 2
-
Hi!
I'm writing some tutorials for Tuts+ and I'll put some information here when I have it. Love to hear your suggestions, and I think a couple of other people are wirting tutorials there and of course many other places.
- 4
-
creating a new post for tuts elsewhere on the web https://processwire.com/talk/topic/11782-pw-tuts-elsewhere-on-the-web/
-
What extra tutorials would you like to see?
Also
3. I mostly use processwire for my full time freelance web designer work unless there's a legacy cms (in which place I usually try and move them to pw anyway)
I'm a front end guy and it's a dream not having to do it the "template engines way" I'm looking at you Drupal :/
- 3
-
Usually if I have a client who has used Wordpress or Drupal I just up sell them on the factor we can make it less cumbersome to use, which is generally to case. There's of course lots of other reasons too.
If they haven't used any cms before then but have heard of Wordpress etc I generally list off pros and cons of the each and generally walk on Drupal 7 or lower projects a they require more effort in my experience and money.
- 1
-
Writing some tutorials for Envato Tuts+ anyone have any recommendations of topics to help Processwire beginners? Starting with Installation, admin guide and themeing.
- 8
-
managed to do it by incrementing the version of PW 1 each time till 'export profile' module worked and i could export. Thanks!
-
whats the intagram strategy, its like they're locking it down more and more with the new approval process and new sandbox mode. https://www.instagram.com/developer/sandbox/
also do you create one client, or multiple clients - new one for each site? If multiple its almost impossible to do as each time you have to setup, submit to approve with instagram (including a step that asks you to submit a video of how your using instagram...) and wait.
boo instagram boo!
-
HI!
Having real issues exporting from 2.3 to 2.6.
Moving to a new server as current one is runing php 5.3.3.
The PW2.3 install wont support modules site profile export or pw upgrade. I've tried moving wholesale the files and db to the new server with php 7 but getting this error from MySQL on import:
SQL query: CREATE TABLE `fieldgroups` ( `id` int(10) UNSIGNED NOT NULL auto_increment, `name` varchar(255) CHARACTER SET ascii NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 MySQL said: Documentation #1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key
Any help would be ace.
-
strange. I didnt make it obviously
-
Hello!
Just started a meetup.com group called South West Futurists: http://www.meetup.com/South-West-Futurists/
If you happen to be in England and living in the west country, drop by.
- 3
new site for Historian of Music
in Showcase
Posted
leannelangley.com/