-
Posts
4,314 -
Joined
-
Last visited
-
Days Won
80
Everything posted by diogo
-
pwurst.de
-
You answered your question: $i=1; foreach($latest_portfolio as $item) { $thumb = $item->portfolio_image->size(270); echo '<div class="span3' . ($i % 3 === 0 ? ' last' : '') . '"><article class="item"><a href="' . $item->url . '"> <img src="' . $thumb->url . '" alt="' . $thumb->description . '" class="teaser"/></a></article></div>'; $i++; } edit: too slow... Wanze takes the prize
-
I think clients listen to us much more than we sometimes think. Admittedly, not knowing all the story and context, I tend to think the problem here is the agency.
-
amazing!
-
sorry... i just answered to the last post of the previous page
-
There something wrong with the past popups page. This is what I see when I click an image on that page. Happens on chrome and opera and firefox.
-
Love them!!
-
$user->email, I think...
-
if you don't assign a file to it's template, the page will show a 404 redirect
-
I also came from symphony, but didn't put it on the list because with the time using pw I came to the conclusion that those things that symphony does well, pw also does, if not even better I love their debug tool, and when I joined the forums here I tried to think of something similar for pw http://processwire.com/talk/topic/260-breadcrumbs-how-to-and-what-it-says-about-the-system/#entry1882 (end of the post). That kind of tool makes all the sense in symphony (i guess you can't develop a site without) but not in pw, and I think Nik nailed it with the selector test.
-
This is what I was going to say edit: you can also do: wire('input')->post->char_name For others reading this post, the documentation is here http://processwire.com/api/include/ And welcome to the forums Valery
-
Thanks for showing up Mathias. I'm glad my post brought you here I must say I was very impressed with Webpop when I found it. The interface is great, and you can see the care that was put in building it. I also love that you respect freedom of markup so much. Since you are here, have a look at ProcessWire, I can guarantee that it will impress you @Joss, the internet is magic!
-
Happens a lot It can also get more particular: photographer website microblog music band website public bookmarking system and so on...
-
PortfolioJoss, I hope you don't mind that I add one dot to your list
-
I was even thinking of {fieldname} {fieldname} Label {fieldname} Label but I can imagine that it makes it more difficult... Anyway, If the brackets are sanitized, couldn't you do the str_replace() using { and } instead?
-
Yeah, very nice tip, but it was completely wrong
-
I thought it might be good to have a place where we can post other good CMSs and transparently talk about their positive aspects and, why not, compare them to PW. This might help PW grow by learning with the others, and hopefully, could even bring those tools devs to explain them to us. This idea came up to me after this discussion, and from realizing that after discovering PW I'm not as curious about finding other CMSs as I was before. I can Imagine that this has also happened to others here, and can never be good to stay in ignorance I almost stopped looking for other CMSs, but there are two that I would like to share for starting: The Secretary -> http://www.secretarycms.com/ (this is a free self hosted portfolios CMS. For a portfolios tool it's quite flexible. The user interface is also nice) Webpop -> http://www.webpop.com/ (It's a cloud CMS that gives complete control over the markup. This one is not free)
-
If you have it outside the templates folrder, use $_SERVER["DOCUMENT_ROOT"] $_SERVER['SERVER_NAME'] to get the absolute url of your documents root. It will prevent problems if one day you change the domain. edit: sorry, wrong function! That one gives you the path, for the url use the new one.
-
ProcessWire as a full featured blog/tumblr?
diogo replied to thomassausen's topic in Getting Started
As told by Luis and woop, it would be very easy to build this in pw. But if you want to take advantage of tumblr's social features and great interface, you should also consider having a tumblr blog and integrating it with pw. The tumblr API is very easy to use, and makes it very simple to integrate the blog in your own page http://www.tumblr.com/api_docs. There's even a php application that makes it even easier https://code.google.com/p/phptumblr/. Another solution would be to assume that the blog is a different part of the site, and have it on tumblr with a custom domain (ex: blog.domain.com) and in the site's navigation. -
i think the idea is great but the implementation is not very intuitive. did you try to make the other way around? i mean, what is inside something is processed, and what is outside doesn't. brackets would be good candidates, just like in php.
-
i'm on mobile and will not even try to write code. but look for the count method on the cheatsheet, and you should get there. edit: soma was faster
-
Here is something for us all to learn. Martijn's mistake happened because the dutch word "leren" means learn and teach at the same time. Strange fact but true, courtesy of google translate I suspected it could be something like this, because the word "lernen" in German means both learn and study, and I always found it funny when German people would say to me in English "leave me alone, i have to learn now".
-
Welcome to our small and cosy place leeaston. I'm sure you will enjoy the next weeks
-
Running a Daily Newspaper website with Process Wire.
diogo replied to Crssp's topic in Getting Started
best profile for your site is the crssp profile install the default profile and study it well. then you can make your site grow from there adding structure and functionality -
Running a Daily Newspaper website with Process Wire.
diogo replied to Crssp's topic in Getting Started
I don't think you need to do it, since you will be doing exactly the same work with php on your importing script.