arjen
Members-
Posts
1,222 -
Joined
-
Last visited
-
Days Won
8
Everything posted by arjen
-
Would you be so kind to tell us which kind of error you are getting (possible with debug->true in config.php)?
-
info bar, close on click, set cookie, don't show again [SOLVED]
arjen replied to onjegolders's topic in General Support
If you use a page for the message you can use the $page->id? That also makes it possible to re-use messages. -
info bar, close on click, set cookie, don't show again [SOLVED]
arjen replied to onjegolders's topic in General Support
Great you got it working. Since it was a small intranet, I didn't bother since I knew all users were using Javascript. -
info bar, close on click, set cookie, don't show again [SOLVED]
arjen replied to onjegolders's topic in General Support
I've done this before using a textarea field attached to the homepage. I've put the $homepage->this_field in right under <body> in my main.inc (the file which holds most html). Then I check IF cookie value (i.e. noshow+something_unique = 1) exists and IF message content exists. You have to make sure you set an unique cookie, otherwise the next message might not be shown. -
Module Stable version: The ACE Editor, your new favorite Inputfield
arjen replied to Adam Kiss's topic in Modules/Plugins
Great work Adam! You should apply the 1.0 release of the modules on the Projects Using ACE page. -
Thanks, Ryan. I think adam already did some great work! Will check this soon!
-
Great work guys! Really like the look and feel. Very nice typography. But the best thing is the focus on ProcessWire's strong points!
-
Right hook right after the PageListActions
arjen replied to arjen's topic in Module/Plugin Development
Will do Nico after the flash copy/paste has been introduced. -
Right hook right after the PageListActions
arjen replied to arjen's topic in Module/Plugin Development
And there my first real module: https://github.com/arjenblokzijl/ProcessPagePathCopy The origin A client needed to copy a lot of handpicked pages. You can do it using "view" and rightclick, but I thaught a single click might be a bit easier. So I wrote (thanks to Soma) this little module which adds a "copy path" action. You can also select a prefix or select which template(s) the actions should be applied to. The client can use command/ctrl + c, switch to his e-mail, do command/ctrl - v, switch back press enter to continue to the next. I need to implement a flash based solution to make the last step redundant. Hopefully that is done the next couple of days. -
You used to be drunk when you drank 2 pints. Now you can handle 10 of those. The great thing about ProcessWire with some help from the likes of diogo and others and some logical thinking, a bit of exploring and some confidence you'll get there!
-
This might be a long shot, but do you have enough space on the HD?
-
What I meant is that I always use Textile to preserve the styling of the website. I don't prefer a WYSIWYG because it brings the best above in people. That's why when it comes to editing web text I'm a strong believer in Textile (or Markdown).
-
A long shot, but have you enabled cache? I was struggling with the same problem a while ago and disabling cache fixed this issue for me!
-
I usually do this by hand. Since I'm working more and more like the blog profile (to keep markup as seperated as I can from logic) my template and markup files are this day really small. So tidying it up by hand it pretty easy.
-
Since I'm a big fan on Textile and coming from Textpattern I've been trying to add a little bit of info about Textile next to the Body textarea. I've found out that creating an own /templates-admin/ can be a solution. I've created a sidebar next to the $content, but it would be nice to have it next to the body field. I only want to show it next to a textarea with the textile formatting enabled. This makes the experience for the client a bit better I think. I also thought about the description field and some custom CSS, but would it be nice to include some HTML without using markdown (and be limited to href's) and doing some more UI work using jQuery. Any ideas on how to implement this to make maintenance a bit easier? Do I need to create a module or can anyone point me out to another module which might be of interest to me? Thanks! ps: I've attached how Textpattern looks like.
-
The profile was originally build for an older version of ProcessWire and I think Ryan has it on it's to do list. Since it's not really useable you should consider installing the blog profile. Tons of stuff to learn from there!
-
Unlearn the clutter in the ProcessWire context is indeed positive, Pete
-
My apologies since I misunderstood you. The way you've done it seems fine to me. You can also create a pageArray: $happyPeople = new PageArray(); foreach($items as $people) { $happyPeople->add($people); } Now you manipulate the array like sorting, shuffling or all other stuff using the API. Not tested, written in browser.
-
If you're looking for a WordPress like theme switch: there isn't one. If you're looking for a quick theme switch, I would seriously reconsider using this CMS. The strength of ProcessWire is that it is fully customizable. But since it requires (some) coding from the developer/designer point of view that's also it's weakness considering a plug-and-play CMS. You can't simple install a theme and switch to another one. The upside is that here a really friendly community who can help you start coding. Besides it's not as daunting as it may seems. I've learned a lot here. Read some forum posts before coding anything. Working with ProcessWire needs a little bit of unthinking. With unthinking I mean you have to unlearn all the stuff you've learned from previous CMS'es.
-
This is the post which helped me understand getting pages by date. I think you can work it out! <?php $start = strtotime( date('Y-m-d') . " 00:00:00"); $end = strtotime( date('Y-m-d') . " 23:59:59"); $items = $pages->find("template=linkmain,publishdate>=$start,publishdate<=$end,sort=-userid");
-
Right hook right after the PageListActions
arjen replied to arjen's topic in Module/Plugin Development
Thanks soma! I will look into this today! -
Right hook right after the PageListActions
arjen replied to arjen's topic in Module/Plugin Development
Thanks to the both of you, but I need this to use javascript to copy the path to the clipboard. Since I don't want to interfere with the default PW actions I've modified a theme that aligns the path right. There also will be /very-interesting/long/urls/using-this-technique so the path will be shortened for viewing purposes.