-
Posts
371 -
Joined
-
Last visited
-
Days Won
8
Everything posted by MadeMyDay
-
Just finished a website for a Branding Agency I work together with in Karlsruhe, Germany. "Classic" Masonry stuff, but some nice additions for the client: They can - according to their client's brand - define the main color in RBG values in a field. These values are translated in Hex values and output via PW, so the tiles get the client's colors (mostly on hover) Tile sizes are controlled via a field They can decide to start a tile with an image, headline or logo Images are cycled through no matter how much images they define They can control the whole website, either if they want to create a new tiles overview or a single page or a page which collects its children for a one pager Cheers!
- 4 replies
-
- 13
-
Assuming your field is called "seo_title" your template code should look like this: <title><?= $page->get('seo_title|title') ?></title> Which means the seo title field is used and if not present the usual title. Forget about keywords
-
happens to me, too. I always charge them on a hourly basis then. But fortunately doesn't happen so often, so it can be done in a break ;-)
-
and results in recommendations ;-)
-
Yes, you are right. Always depends on the size of a company. But my impression is that most companies want to maintain their site on their own (regarding content). Mostly because they made bad experiences with agencies charging them for every little bit, for every little change. Of course, if a company exceeds a certain size and has an annual budget for their website, they are more likely to outsource everything related to the website. But I always try to anticipate their needs for the next few years and try to implement the system as flexible as possible. Can result in little higher fixed costs but after that they usually haven't to bother me for changing little or even medium details ;-)
-
Wasn't intended, sorry ;-) There is nothing wrong with that. What I wanted to say was: If someone can't afford it, there will be no contract. And if someone has a plenty of money, he gets more features. But I usually don't adjust my hourly rate depending on the clients. Of course. But it is not the way I want to work. See: Creating things is exciting, putting text on websites isn't. I am alone, I don't want to spend my time copying&pasting text on websites. It is something completely different if you are a.) not fully engaged or if you have b.) some (cheaper) employees with which you can handle such tasks. this is how agencies usually handle it, but as I said, I am alone and want to concentrate on the creative processes like concept, design and realization.
-
Not true. First of all I don't manipulate my prices depending on a potential cash flow. And second, hotels act in a very competitive market, so I wouldn't generalize it ;-) My goal is always to deliver a tool with which my customers don't need any support from me. That's the reason why I use PW. I am not like the old school agencies which deliver TYPO3 only for supporting contracts. My available time is short, I don't want to fix things, I want to create things. Mainly because of another website I did recently: http://hotelderblauereiter.de
-
Thx to all! It's done per individual script as explained here. Doesn't happen here. But since there some JS actions triggered when resizing the window there can sometimes go something wrong. Especially when resizing very fast over two breakpoints. Shouldn't be a "real world" issue, though ;-) (at least I hope that) It's just an Iframe with content from their booking provider. Perhaps they had some loading issues? After clicking on "Buchungsanfrage" you have to click on one of the buttons because the site represents two hotels with two booking forms (also one those weird decisions to run two different booking forms for two hotels which are side by side)
-
Ah, now I see. No, no ajax-voodoo here ;-) Thx for pointing me to pjax, I used history.js for that purpose once.
-
Thx. Erm, don't know what pjax is ;-) Transitions are usual CSS3 transitions, some of them triggered by JS with transition.js which is just a kind of API/layer for CSS3.
-
Just finished another one: http://www.hirschenhotels.com Their styleguide is a bit weird for a "romantic" hotel. Futura as font and these green/red colors are not ideas of mine ;-) On the PW side pretty regular stuff, mostly core functions.
- 21 replies
-
- 13
-
Yeah, and a very important notification. Which would lead us to the next possible topic: URLSegments... but one after another ;-)
-
as I said, this is one possible solution ;-)
-
Of course. I think there are several possibilities to achieve that (as always in PW). For example you could store the current tag in a session variable and add this variable to the search logic. So for example in your tags.php: $thisTag = $page->title; // you already have that I guess $session->set('currentTag',$thisTag); // store current Tag in session And in your search template (taken from the standard installation) // Search the title, body and sidebar fields for our query text. // Limit the results to 50 pages. // Exclude results that use the 'admin' template. // NEW: Look for tag in session $tagSearch = ""; $currentTag = $session->get('currentTag'); // get tag from session if( $currentTag != '') $tagSearch = ",tags.title=$currentTag"; // add tag to query $matches = $pages->find("title|body|sidebar~=$q, limit=50$tagSearch"); Of course you need to unset the session if the user isn't on a tag page anymore: $session->remove('currentTag'); so put this in your templates which are not tag specific.
-
First of all, create a template called "tags". It is totally fine to leave as it is, just a "title" field, no need for a PHP-file (for now). To be sure, only allow children with template "tags" in the template "family" tab. Then create your hidden "tags" page. Put same tags in it (that means: create children pages with your tags as title) if you like. Correct. Template for selectable pages is "tags". You can also define your hidden tags page as parent. No template file needed (for now). Not necessarily. or from the page select field itself (very convenient). So for that you need to have a .php file as template for the template "tags". First, create your tag list like this: echo "<ul>"; foreach($pages->get('/tags/') as $tag){ //iterate over each tag echo "<li><a href='{$tag->url}'>{$tag->title}</a></li>"; // and generate link to that page } echo "</ul>"; (totally untested, but you'll get it). Since the tag pages have no template yet, this will throw an empty page (or 404, don't know). So let us create a template for the tag pages, which lists all pages with that tag: // Beginning of your template here (head etc.) // select all pages with the tag of this tag page $thisTag = $page->title // Current clicked tag $tagPages = $pages->find("Tags.title=$thisTag"); // select all pages where page field "Tags" contains a page with title of our tag foreach ($tagPages as $tp){ // iterate over the pages with that tag // and generate some teasers (or what you like) echo " <div class='teaser'> <h3>{$tp->title}</h3> <p>{$tp->summary}</p> <a href='{$tp->url}'>Read more...</a> </div>"; } // Rest of your template here (footer, javascripts etc.) as I said, totally untested, but this should point you in the right direction.
-
Way too long, but not because of technical issues, more the communication gaps with the client from time to time. It's their logo. CSS3 Scaling with (hackish) fallback via img size for IE. Yes, iStockPhoto or alike. haha, never realized it until now
-
Another one finally online: http://pwpromotion.de A site for a recruitment agency, specialized in the beauty sector. No fancy PW features here although the application form built with the incredible Form Builder is quite complex (choose one "Fachrichtung" to open even more fields) ;-)
- 6 replies
-
- 12
-
ProcessWire conference, Switzerland (central europe)
MadeMyDay replied to Soma's topic in News & Announcements
I'm in. -
how to make it work subdomain with PW installed on root
MadeMyDay replied to fmgujju's topic in General Support
Perhaps I misunderstood, but why not point the subdomain to a separate folder with your application in it? So the server redirects requests to this folder and PW has noting to do with it. -
Hey Kunane, nice to see you here ;-) Just define "Maximum files allowed" as 1 in the image field (tab "details") that you use for the repeater item.
-
My new site (combining nico.is and stadtpirat.net)
MadeMyDay replied to Nico Knoll's topic in Showcase
@Nico: The PW-image seems to be missing: http://nico.is/site/assets/files/1013/depro1.jpg -
Comes in handy for checking new/changed but unpublished pages.
-
Sure you cleared the cache from the overview page? Most likely the problem. Otherwise check your selector which generates the listing. Usually selectors only select published pages, but if you have something like include=all in it, it will also select unpublished pages. Also: Be sure not to be logged in as superuser.
-
Soma, this is awesome! One minor suggestion: Instead of copying the image code by hand perhaps it is possible to copy it on click with Javascript? One major improvement: Somehow connect the image manager to a standard image field, so you can also insert existing images to it and / or mix it with single ones. Like I suggested here: http://processwire.com/talk/topic/1188-image-inputfield-like-in-tinymce/#entry10701 I know that we would need a way of symlinking to other images than the ones in the assets/files folder. But you are creative ;-) Great work!
-
include pw in another app: class conflict "Cannot redeclare class..."
MadeMyDay replied to stefan's topic in General Support
HA! All of them are joining the new hope Welcome Stefan (oldschool MODX hacker, we had a lot of ideas, among which got developed by him, most of them were dropped because of... well. The system.) Stefan, gimme a call (friday perhaps when all are eating their rabbits).