-
Posts
868 -
Joined
-
Last visited
-
Days Won
1
Everything posted by DaveP
-
Local Job Centre (if our experience is anything to go by) will get you loads of graphic designer applicants. The company I work for (which does mainly print advertising) needed a GD about 9 months ago and we had dozens of applicants of varying skill levels and with experience in a range of fields. The lad we were replacing went on to do web stuff elsewhere and I know from shortlisting/interviewing the applicants that some of them had at least an interest in web design.
-
Don't worry about it. You need to create an empty db and a user. It's a security thing. Keep a note of the db name, the db user's name and password, enter them in the installation screen and you should be good to go.
-
You haven't mentioned, so I will, that you need to create a mySQL database and a user of that database for PW to use. If you are using a WAMP, XAMP or LAMP setup, they often come with phpMyAdmin already installed, or if you are on a hosted server you might have cPanel, all of which allow you to create a db and a user. Is that any help?
-
Thanks for the explanation and sorry for the duplicate question.
-
<?php $parent_page = $pages->get('/path/to/parent/'); echo "<p>{$parent_page->title}->numChildren {$parent_page->numChildren}</p>"; echo "<p>{$parent_page->title}->children->count {$parent_page->children->count()}</p>"; ?> (My parent page is called 'Sites'.) Would, you'd think, generate the same number of children for both methods of determining that number (wouldn't it?). Any ideas, or am I being stupid (again)?
-
I have edited my code. As always there are many ways to do the same thing in PW. As far as pagination goes, you will need a LIMIT clause somewhere, I think.
-
There is probably a better way just using 1 selector string, but you could do two, and then sort the resulting pagearray - $my_pages = $pages->find("template=post, frontpage=1, max_date>=$today, limit=10"); $my_pages .= "|" . $pages->find("template=post, frontpage=1, max_date='', limit=10"); $my_pages->sort("-created"); (Written in browser, but should work.) ***Edited since arjen's reply below but still doesn't work. I give up
-
W - 7 A - 2.2.21 M - 5.5.16 P - 5.3.8
-
I have a site with a working cart on my local WAMP stack. This is the entire 'cart' template - <?php /** * Page template * */ include("./head.inc"); include("./navbar.inc"); ?> <div class="container"> <h1>Your Cart</h1> <?php echo $modules->get("ShoppingCart")->renderCart(); ?> </div> <?php include("./foot.inc");
-
Installation error: Unknown MySQL server host 'Config'
DaveP replied to sbarner's topic in Getting Started
Steve, your config.php looks pretty much as would be expected. Does your mySQL setup use 'localhost' etc? I have seen setups where you need to connect via a db name and a system username, rather than the usual stuff. What mySQL & PHP versions are you on? -
Module LibFlourish – Flourish auto-loader for ProcessWire
DaveP replied to Adam Kiss's topic in Modules/Plugins
<disclosure>I used to sell Encyclopaedia Britannica.</disclosure> -
Recommend a Code editor with FTP, for working on template files
DaveP replied to Crssp's topic in Getting Started
Yes, just set up the remote project in the Project Explorer pane (default left side) and you can work with remote files as easily as local. -
Recommend a Code editor with FTP, for working on template files
DaveP replied to Crssp's topic in Getting Started
http://aptana.com/ Can be a bit slow at times, but will do exactly what you are looking for and a lot more. -
Haven't used any of them - more a case of just throwing them out there. I'm starting restarting a biggish project very soon and have been looking for a starting point for the site. My design skills are woeful, so any way I can draw on work others have done is a major help.
-
Almost on-topic (and certainly relevant to Joss's comments above) - http://www.seomoz.org/ugc/use-google-docs-to-manage-your-digital-projects-from-freelance-to-large-agency
- 11 replies
-
- etherpad
- collaboration
-
(and 1 more)
Tagged with:
-
@digitex I'm pretty sure that you have solved the problem for your use case. Can't see that causing any other issues, but I'm sure Ryan will confirm or correct that. (In PW it usually is as simple as that )
-
Problems Accessing a ProcessWire CMS via a BT Connection
DaveP replied to GOTK's topic in General Support
I'm beginning to suspect your hosting company's firewall. Try http://www.downforeveryoneorjustme.com/ - enter your url (eg www.oursite.com/processwire/) and see if it can be seen from elsewhere. If it can (and I'm sure it will be), then it is just your own IP through your BT connection that appears to be blocked. If it is, then raise a support ticket with the hosting company, asking them to unblock you. (We had the same thing this afternoon... ) -
This is interesting - http://docs.jquery.com/Tutorials:Safer_Contact_Forms_Without_CAPTCHAs
-
Me too. Just this afternoon I logged in to a trade site using not just username + password, but dealer code + username + password (3 inputs!) only to be later confronted by this monstrosity... So what the heck is the need when I'm already logged in, and what exactly is that behind the D?
-
Don't you mean $theWordThatMeansThoseThingsThatHurtLikeHellWhenYouHitThem ? camelCaseSelfDocumentingCode
-
Great value, too. TRS-80 Model III for just $2295, and that's with 2 x 184k 5 1/4 inch floppy drives! http://archive.org/stream/radio-shack-catalog-rsc-09-computer-catalog-1983/radio_shack_catalog_rsc-09_computer_catalog.1983#page/n21/mode/2up
- 74 replies
-
- template engine
- twig
-
(and 8 more)
Tagged with:
-
I believe it would be Radio Shack in the US.
- 74 replies
-
- template engine
- twig
-
(and 8 more)
Tagged with:
-
It was just the two in \site\templates-admin\default.php No need for apologies. <edit>Just remembered I had seen the problem before.</edit>
-
I have tried it. There are a couple of uses of short <?=....?> php tags that break the menu if php is configured without short open tabs (which my WAMP setup was), but I don't know whether to blame PW or your theme or my applying your theme to an earlier PW version (as expressly forbidden above ). I'm a big fan of Bootstrap anyway but this is a wonderful theme.