-
Posts
4,056 -
Joined
-
Last visited
-
Days Won
67
Everything posted by Pete
-
Hi folks The past few years I've been going for managed VPS solutions for my hosting. I always liked the fact that during setup of the new VPS I could send the support team a list of things I need and they would set them up for me. I also liked the relative ease of using WHM and cPanel over the command line. My problem is with how much is usually charged for the privilege. I realise I will always pay a premium for WHM and cPanel (what hosting companies charge varies wildly) but for "managed", most UK companies hike up the costs to a ridiculous level with nothing in between "unmanaged" and "managed". To clarify, all I want is that initial setup to be done by someone, then if I run into trouble with something I can just bounce some ideas of a support guy/gal and ask them to install something if I'm not sure. My support requests are generally in the region of 4 a year, if that sometimes. It's a shame nobody seems to do "per-incident" support with hosting. There is a massive gulf between what US and UK companies charge. I have no trouble with my current provider, Servint, but the closest datacentre to me is in Amsterdam. The connection is quick, but it would be nice to use someone like UK2.net where the servers are closer and things load that fraction quicker. They offer WHM and cPanel for an additional fee on their VPS package and the package I would need then comes into line with the prices I'm paying with ServInt, but they won't install anything. So I guess my question is: how hard is it to actually manage your own server from the command line? I mean things like upgrading PHP, mySQL etc, installing modules and so on? I like my safety net, and I guess as long as I had a host that could allow me to roll back to an image I would still have a safety net (with careful planning of upgrades out of normal hours) but like many people I am comfortable with an expert on-hand and fear change EDIT: Might have found an excellent, managed option with London datacentre options and reasonable pricing: http://www.futurehosting.com/ EDIT2: For cheaper than my current package I can also have running on SSDs? Where is my wallet?! On a more serious note, I'm not going to be silly and jump in right away with anything - I've been through various hosting companies over more than a decade (feeling old now) and know not to rush in just because something looks amazing. Edit The Third: But I'm still interested to hear people's thoughts on unmanaged and any links to required reading in that area that you guys recommend (I could Google, but that will return about a billion articles and I'm after advice from my peers ).
-
Crikey, is that ridiculous hacking scene in the movie Swordfish going to turn out to be real in a few years? (bit of swearing involved) I like the bit where he's squatting like he's doing... erm... well... something he should be doing in the bathroom. I find that helps me think too The line at the end should be "now all I gotta do is write some actual code". Every time I see that I laugh until I nearly cry.
-
I was reading through the site early this morning and noticed a mis-spelling that is potentially embarassing: Someone has typed Salman Rushdie on one of the pages as Salmon. He is not a fish
- 25 replies
-
- responsive
- bootstrap
-
(and 4 more)
Tagged with:
-
Relative time was introduced in 2.3: http://processwire.com/about/news/introducing-processwire-2.3/ Not sure about the differences as I've not checked out the other module. EDIT: Oooh he beat me to it by seconds
-
Don't they say what they do if you go to the modules page on your installion and click on them? Can't check myself as I'm on my phone but I would have thought they'd have a description of what each does there.
-
knolledge.sexy
-
I've not had a chance to look at the video yet, but I'm wondering it might be an idea to put videos on the ProcessWire website? Just looking at the topics you're suggesting it's the sort of thing people are definitely looking for so why not have them closer to hand?
-
brainstrain.co (mine hurts)
-
coolstuffbynico.wordpress.com We have a winner.
-
Seems about right. Nothing wrong with the way you've done it, but the short one-line version would be: $userpages = $pages->find("template=child-template, created_users_id=" . $users->get($page->name)); Rather than using $selects all the time, I would name it something more meaningful like $userpages above, then iterate through them: foreach ($userpages as $userpage) { ... It's more descriptive when you build your template file up and there's lots going on - helps you keep track of things a bit easier especially when you're using multiple PageArrays on a page, though it's not essential to do this and everyone has their own preference and naming style.
-
I had to stop liking your posts Antti because I was wearing my mouse out I should have been using this to save time on a tonne of stuff recently, but I hadn't noticed that you could create new pages with it now. It will be a huge timesaver for a bunch of simple pages that have tabular data as I can now add new "rows" (new page) and edit current rows (edit page) using Fredi without having to roll my own templates and code to reinvent the wheel
-
Love your post Teppo - it did make me wonder if there should be an official blog on this site if certain folks would be willing to post to it? I used Google Translate on that article above Antti - some amusing mis-translations I think by Google (such gems as: "ProcessWire does not matter by itself", "So there is no overhead - but you can also get paid nothing") but I got the idea and it was a nice, positive and concise assessment.
-
I tend to sort by created then by id in this case. Or if you're using the API to import something then overwrite the created time (can't remember if you can do that but certainly you can use another field).
-
Why would you want to use IDs instead of human readable (and memorable) URLs? I don't understand why that would be desirable. If you are worried about page URLs changing then there's a module you can use to take care of that. The subdirectory thing isn't a bug, your URLs in your example start with a / so this will always go to the root folder. You can add this in place of that first / to resolve that. <?php echo $config->urls->root; ? >
-
Php.net also has a lot of info if you're interested interested basics. I guess it's helpful knowing what things are called first though, but any good tutorial should cover that.
-
You don't need $this->input unless you're in a module or function - try it with just $input maybe?
-
The alert I got refers to the domain where it was uploaded, so the free server service might be the issue? Can you PM me the URL to their service and I can confirm.
-
@pwired - my Trend Micro at work threw up this error on the website you linked to: I've removed the link in your post because this scanner is usually right!
-
You're not putting it in the Body field in the admin are you? Because your PHP should be in the /site/templates/yourtemplate.php file.
-
If the gallery is private (I.e. requires a password to sign in) then Google will never find the images anyway will it?
-
Just ran into this issue myself as I wanted to use showIf in a reasonably complicated fashion with a repeater so I guess I'll just disable the showIf for now.
-
In fact I know ryan likes to retype pull requests himself so he has full understanding of the code changes and tweaks them as necessary. This is opposed to my occasional blind acceptance of pull requests on my own modules that is definitely not best practice!
-
Are you using repeaters in the template for the page you are trying to add? Or is this just at the stage where you enter a page title before going to the main page editing form?
-
Despite the challenges it looks like you had fun - nice project to work on by the look of the end result
-
@diogo - nobody asks the guy what he wants to do, but "there's a plugin for that" (paraphrasing Apple of course ).