Leaderboard
Popular Content
Showing content with the highest reputation on 07/13/2014 in all areas
-
A couple of years ago i would have never thought i would say this, but i'm hoping Germany will win.4 points
-
Hey, I wrote a little tutorial on how to add dynamic meta tags to your page: http://supercode.co/posts/processwire-best-practice-meta-tags/ Any questions left? -- nico2 points
-
I’m currently working on a module called Page Depth that lets you return a page’s depth relative to the root, to a closest selector or a page. Basic functionality is in there. It currently has three functions $page->depth(), $page->depthFromClosest() and $page->depthFromPage(). I’m thinking of adding an integer hidden field named depth to prevent having to run the whole functions each time it’s called, but since it’s pretty basic it doesn’t have much impact on the load time even in its current state. It supports the PageLanguageName module, admittedly I haven’t tried it without it but think it should be working fine. If it doesn’t let me know and I’ll fix it.. finally got a chance to test it, working fine! I’m publishing it now in its unfinished state thinking some of you might have requests or ideas what this could be useful for. I’m currently using it to prevent too many subpages (where pages are individual comments and would be replies to other comments) on a comment system. Documentation and download at : https://github.com/plauclair/PageDepth2 points
-
2 points
-
I've updated this module to version 3 which adds the ability to use headlines as page breaks and adds support for several shortcodes.2 points
-
I'm interested as well, but what about Munich? It's great to reach and in terms of travelling there and accomondations, it's a lot of cheaper than Switzerland Here are some coworking spaces you can rent quite cheap for conferences: http://www.combinat56.de/ http://www.werk1muenchen.de/2 points
-
This Textformatter allows you to designate areas in a single textarea to be converted to a collapsed accordion list. The markup pattern for this module is based on the Pagination Textformatter module with the idea that they could be interchangeable. Github Page Simple Demo To define an accordion item Put 5+ hyphens '-----Your Title Here' on a single line (within paragraph tags) to specify a title for the accordion item. The paragraphs below will be collapsed. This is the same idea as the Pagination Textformatter, however titles are not optional. If you just put the dashes, the item with be automatically titled "Untitled". To end an accordion To end a group of accordion items and return to regular textarea content, put exactly 5 slashes on a single line '/////' (within paragraph tags). This is only needed if you want to end collapsed content and return to regular textarea content. Notes I've been using this on a production site for nearly a year, but before Ryan released the Pagination Textformatter it was using with a totally different markup pattern to designate the accordion items. It should be pretty stable, but consider it a beta release. Markup pattern inside a textarea (Nearly identical to the Pagination Textformatter) ----- Accordion Item The paragraphs beneath each accordion item are collapsed by default and open when you click on the title specified above. You can use multiple paragraphs, and any other content allowed in the textarea. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede. ----- Another Accordion Item Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede. ///// The 5 slashes above signify an end to the accordion group above. You only need to specify the end of a group if you want to return to regular textarea content. You can continue to use the same pattern to collapse content into accordions as many times as you wish. Results in the following markup: <dl class="accordion"> <dt> <a href="#accordion-item">Accordion Item</a> </dt> <dd> <p>The paragraphs beneath each accordion item are collapsed by default and open when you click on the title specified above. You can use multiple paragraphs, and any other content allowed in the textarea.</p> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p> </dd> <dt> <a href="#another-accordion-item">Another Accordion Item</a> </dt> <dd> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p> </dd> </dl> <p>The 5 slashes above signify an end to the accordion group above. You only need to specify the end of a group if you want to return to regular textarea content. You can continue to use the same pattern to collapse content into accordions as many times as you wish.</p>1 point
-
I'm no SEO expert but i think none of the major search engines pays attention to the meta keywords tag anymore. Can't look it up right now but there should be plenty of resources, including videos from Googles Mat Cutts. In fact, if you abuse it (intended or unknowingly) it may hurt your rankings. In most cases it's probably best to focus on adequate meta titles and descriptions and don't bother with keywords. -- EDIT For future reference; some info here: http://www.metatags.org/google_ignores_meta_tags_in_ranking1 point
-
Let's break this down The name of the repeater: mp3_repeater Having iterated the repeater (foreach), each single repeater instance is assigned the variable: $mp3 $mp3 contains various fields one of which is a file field called: file The field file has its own 'internal' fields such as name, description, etc... Putting this together... $mp3->file->description ...should work. You had a typo in your syntax ($file). Btw, why are you using this? data-src='/processwire/site/templates/audio/$mp3->mp3_url' This should work... data-src='$mp3->file->url'1 point
-
Of course it is extendable. And I think I should do it with textbox-list module, too. But I think it's better to keep an example as clean as possible (no extra modules).1 point
-
Very good tutorial and a very cool logo I'm using something like your example but with textbox-list module for keywords.1 point
-
1 point
-
I've used different templates on occasion where there were only one or two minor differences. It's okay to do this as long as you have your header and footer in separate files (like they are by default) so if you change those you don't have to change them in your templates (from memory in MODx the default template had everything in it, header and all).1 point
-
Welcome to Processwire! After reading your post I'm still confused as to what you're trying to do. If you're using Omeka as the database then why not keep PW separate and pull data from Omeka as required (or even automatically) using their API: http://omeka.readthedocs.org/en/latest/Reference/api/ Or you could maybe create an Omeka plugin that bootstraps PW and doesn't even use the PW admin. Or my favourite (though I'm biased): create a script that imports all the data from Omeka into Processwire and remove the need to use both systems if Omeka is Goldington back feature-wise. It's relatively easy to do this although I will confess to knowing next to nothing about Omeka. It's just that whenever I gear Iframes being used in a solution I automatically question why1 point
-
Did you know you can probably do $page->parents->count() to get the depth from the homepage? The other scenarios are a bit trickier of course. I think that you probably don't need to have a hidden fieldwork storing this unless you were having dozens of comments deep in your scenario. Even then it's reasonably cheap resource wise. I would instead make savings by caching the comment output using MarkupCache whenever a new comment is made - that way people just viewing the comments don't incur any overhead, plus you can cache whether or not a reply button exists at a certain depth for your threaded comments.1 point
-
Leaving Brazil without face, The Dutch won 3 - 0 claiming third end position and also cash in 20 million. A day of days Well done. My Boss (a german guy) invited me today, sunday in the afternoon, having a barbecue and going to look the match germany - argentina. What do you guys think who should win ?1 point
-
Every time i read about some new amazing feature in a CMS, it's always stuff that is a totally natural part of Processwire and has been around and used by us PW folks for ages. Read this for example. http://alistapart.com/blog/post/longform-content-with-craft-matrix And always, always!, there's some Wordpress guy in the comments saying: "You can do that with wordpress!". Yes, of course you can, but only with a bunch of ugly hacks and tweaks and 37 plugins that may play nice together if you're lucky. I have split emotions about this. A bit of sadness - Processwire should be given much more attention and recognition. At the same time, I feel lucky for having discovered it. What about you guys?1 point
-
1 point
-
1 point
-
new german updates for actual PW dev 2.4.7 (11 July 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--fieldtype--fieldtypepagetable-module.json wire--modules--inputfield--inputfieldselector--inputfieldselector-module.json wire--modules--process--processmodule--processmodule-module.json pw-lang-de-dev-update.zip1 point
-
I discovered Processwire some weeks ago and i love it. I´m implementing 3 sites for my customers. I´m working on my first module, wallpapers,etc. I hate e-commerces or social sites made with Wordpress. Wordpress is a blog cms (44mb approximately). A lot of plugins, widgets and third-party themes that are not necessary in processwire or other cms. I love this community and the Processwire´s code and I hopes it will be the wiiner of a lot of rewards soon.1 point
-
Mmmm indeed interesting, November would suit me very well... How about a doodle?1 point
-
Hi Kae, About processwire and seo: https://processwire.com/talk/topic/45-url-schema/ https://processwire.com/talk/topic/4957-seo-optimization-module/ http://modules.processwire.com/modules/piwik-top-keywords/1 point
-
Hi Guys I also had problems with the German Output of month names. So I test it on my server with a demo script. What ever I tried the output of date() was english. The solution was handover the timestamp and format it in the template with the strftime() function and it worked. The PHP-Manual for date() say this: To format dates in other languages, you should use the setlocale() and strftime() functions instead of date(). So for me that solves the problem. Greetings Jens Weigel1 point
-
Hdesigns, I live in Chamonix and always ready for action!1 point
-
I'd also be in for a "meet and eat...meat" in a swiss city. Who's still interested?1 point
-
1 point
-
1 point
-
1 point
-
I think with Neymar missing it was always going to be a struggle against Germany. Brazil seemed weak to me before and Neymar was really their shining light that got them through to this stage. Without him I am not so sure if Brazil would have got as far as they did.1 point
-
Great to hear Now I just need to hear from @tobaco that everything is working for him with him and I'll be a happy camper - literally - I am heading camping for the rest of the week, but I'll follow up with any other issues here when I get back.1 point
-
@Adrian. Migrating WP sites like a boss now Thanks for the fix, that seemed to do the trick, I have not tried it thoroughly yet, but I got past the previously issue and content is being created.1 point
-
1 point
-
Thanks for the reply Do you any guide where we can create our own admin theme. Because we are required to use a template bought by our company.1 point
-
[ Deleted this post as it's the same post by the same author as here https://processwire.com/talk/topic/4469-output-date-language/?p=64082 ] (Soma)1 point
-
Inspired by @apesia recent post about a meetup in Finland, I thought I would try and reignite this thread and set a date for some sort of PW meetup in Switzerland. No need to call it a conference, just a very casual meetup to talk about experiences with Processwire and ideas for the future. We only need a few people - it could just be me and @soma. In fact the whole reason I wanted to have a meetup is to actually meet the real person behind that alien avatar so I can dispel my suspicions that he is not just an alter ego of Ryan. Open to having micro talks if anyone is interested - possible topics could be about best practices or case studies of projects you have worked on. Have a few possibilities for locations to host the meetup in Basel. Also open to meeting in other cities nearby like Bern or Zurich depedning on the amount of people and interest. Have setup a Doodle to get an idea of possible dates - thinking sometime in March (not during the Basel Fasnacht carnival!). Please vote on the Doodle if any of these dates work : http://doodle.com/sgvy6kxavs5t2agw1 point