-
Posts
495 -
Joined
-
Last visited
-
Days Won
4
Everything posted by totoff
-
This solved it for me too. Ask your hosting company on how to set CHOWN to apache (could be www-run for example). These settings are often hidden in the server admin surface or can be set via Web-FTP. Another alternative trick that might work is to run PHP as fastCGI on the server. Again, ask the hosting company if this is possible.
-
That's true somehow. But that's what we've learned from the software industry: The next big thing is always just round the corner.
-
I'll stay with ST though the slow development pace is a shame.
-
Hi, given your children of /work/ have a body field, this code should work (though not tested): <?php $portfolio = $pages->get("/work/")->children; foreach($portfolio as $portfolio_item) { echo "<div class='col-md-4'>" . $portfolio_item->body . "</div>"; }
-
$session->redirect($page->child->url); renders blank
totoff replied to Claus's topic in Getting Started
Back to desktop this is what I would have suggested - a dedicated template for this tasks. Can't think of a better solution, but not an expert myself. However, glad you got it working. -
$session->redirect($page->child->url); renders blank
totoff replied to Claus's topic in Getting Started
I'm limited to mobile right now and can't oversee all details but I wonder if the redirect is necessary? What would you like to achieve by it? Try without it for the moment. -
$session->redirect($page->child->url); renders blank
totoff replied to Claus's topic in Getting Started
Hi Claus, welcome to PW. I understand you have a structure like this: -products | --subproducts | --- subproduct 1 | --- subproduct 2 | --- etc. Given the structure above this is the intended behavior. It redirects to the first child. This is indeed weird. I doubt that you load the same page with the same template. Make sure the page you are redirecting to has a template file assigned. Check in admin if there is a "view" button in the page tree for this very page. View it from the admin by using this link. Does it render? If not, something is wrong with the template. Honestly I'm not sure how to do that but give this code a try: $session->redirect($page->child->child->url); But why would you like to do that? You would end up with all requests for /products/ redirected to /products/subproducts/subproduct1/. So, think twice maybe. Hope this helps. -
Easy and straightforward. Like it.
-
Hi PhotoWebMax, well done, a very good first site. Just one thing: Why do you present yourself with a vintage camera as brand icon? You make technical brilliant pics, modern and straightforward. Imo the vintage camera icon leads in a completely wrong direction. And, if SEO matters to you, may I suggest to review the site from a SEO perspective. Here is a good starting point with a lot of information: http://static.googleusercontent.com/media/www.google.com/de//webmasters/docs/search-engine-optimization-starter-guide.pdf It's from 2010 but still makes valid points.
-
Great site! May I suggest to use a favicon to enhance branding?
-
Hi Felix, very nice site, though - as a designer - I'm a bit unsure about the very strong "boxiness" of the design. Do you know what I like about your postings apart from showcasing great sites? They give proof that webdesign as a business isn't dead! Good work!
-
Same here. Only Homepage working.
-
For small projects I estimate the final price for the whole project before I start with the consulting. In this case it is indeed including project costs into consulting or - put the other way round - let consulting become part of the project. For larger projects where I suspect surprises I handle this completely separate: Step 1 consulting, step 2 webproject (or other media as required). Obviously in this cases the customer gets it's quote once step 1 is done. At the moment I'm trying to figure out how to secure me against to many rounds of amendments if the customer changes his mind.
-
I talk with them and then in my quote I offer a fixed price for a "consulting part" as a basis for my concept. The price itself is based on my hourly rate indeed. If the case is more complicated and they need marketing consulting in general (not only for a website) I offer mostly between one and three days pure consulting to put them on track. This can comprise workshops or some other kind of more elaborated consulting.
-
As lisandi was mentioning the law, I recently found this blog post and the according contract example helpful: http://stuffandnonsense.co.uk/projects/contract-killer/
-
Actually, it is too short. The get-to-know-talk is kept snappy in order to let the main briefing talk become a part of the paid contract instead of offering it for free. The reason is, that from my experience there is not much difference between a briefing (in order to learn what you have to do) and consulting. So I try to make it part of the contract.
-
This matter is very difficult to handle. I always offer much to much consultation for free and often find that the market simply requires me to do so (as Joss is mentioning). However, I try to do the following: I offer half an hour of getting to know each other and discussing the project for free. That should be enough to make a quote. Preferably this meeting is in my office space to save me time. If during the meeting I have the impression that consulting is required I discuss my impression with the client and let consulting become a part of the quote From my experience it is very important that consulting gets recognized as a separate part of the project with its own budget in order to be accepted. This must happen in the forefront. If you miss this step, you'll find yourself very soon in a situation of consulting for free. Billing it afterwards is nearly impossible. And, in addition, it depends on your company's image: If you are recognized as consulting firm (even if you are alone) it's much easier.
-
Many thanks Kongondo, you are about to become my PHP mentor ;-) I haven't had a chance to try this as I was offline since yesterday and will be offline again until Monday. I will try it than and report back, but it looks like the solution I was looking for. Thanks again!
-
Hi all, again this a more or less PHP-related question: I'm trying to reuse renderNav from the blog.inc file as found in the blog profile. The function accepts parameters: function renderNav($headline, $items, $currentURL = '', $mobile = true) The comment sections says: @param array|PageArray $items May be an array of Page objects or array of ($url => $label) Taken as it is the function outputs the title of the page objects in $items which works fine BUT I would like to output it a different field value ($page->client instead of $page->title in my case). This is where I am stuck with my limited PHP skills. How can I make the function output another field value than $page->title? How would I "put together" an array that contains this field values so that I can assign it as key => value pairs to $items? Thanks
-
It's explained in the documentation. The comment fieldtype returns an array over which you can iterate with foreach. The relevant part is the echo part in the code example given under the headline "OPTIONAL: Generating your own output". In short: In the example three variables ($cite, $text, $date) are populated with their respective values from the field and than assembled to an individual output. Hope that makes sense and apologies for my bad English on this technical matters ...
-
Yes, I do this every time I deliver a new site. I record a few very short screen casts explaining how to accomplish specific tasks. I publish it via Google Sites and keep it online for their reference "forever". Thus, I don't have to do time consuming trainings and they can repeat as often as they want. Unfortunately all this tutorials are confidential as they refer to the clients admin, can't show it here.
-
Please excuse me for referring to myself: discussed "a zillion times" ... This sentence should become part of the forum rules. Maybe some of you know the funny story written by Paul Watzlawick in "The Situation Is Hopeless, But Not Serious: The Pursuit of Unhappiness"? A guy is seeking for his lost keys under a lantern but can't find. Asked if he lost it under the lantern he replies: "No, I lost it somewhere else, but only here is enough light to find it."
-
Yepp, could be worth checking. But - as I said - I'm not an expert myself.
-
Hi lisandi, while I support your effort to discuss matters of user friendliness, please note that the matter "PW compared to Joomla, WP, XYZ etc." has been discussed a zillion times. So, I think this question has the potential to distract from what you originally intended. Better leave it to threads that already exist.
-
Unfortunately I don't understand very much of this problems. However, I once had a similar problem and it turned out that site/assets was not writeable for Processwire anymore. Might be worth checking if this causes the trouble. EDIT: Note that this might have nothing to do with file permissions but with the setup of your hosting environment. In my case I had to switch CHOWN to PHP-user in the hosting admin.