-
Posts
2,769 -
Joined
-
Last visited
-
Days Won
31
Everything posted by Martijn Geerts
-
Great, love it !
-
Agree with Ryan. If it is an article consider a custum date field in your template, default to current date. ( so editors don't have to do anything, unless they want to) Then the sort can use that date. That date is manipulatable.
-
Current stable version, 2.2 or 2.3 and starting with dev branch?
Martijn Geerts replied to Russell's topic in General Support
Hi Russel, The lasts months I'm using the devs and they are more stable then many other CMSses out there. I wanted those devs because: 01. for multi languages , 02. for the PDO and last but not least, 03. I'm curious. Ryan is fine-tuning & changing the admin frequently last weeks. (love it) But if you're finishing a project now, a changing admin can be a little confusing for your customers. That's not your case as you told us. I think within 2 months the dev has become master.- 1 reply
-
- 1
-
-
Date rendered out in another language?
Martijn Geerts replied to tinacious's topic in General Support
For local time formats I use the strftime function. setlocale(LC_TIME, "fr_FR"); echo strftime(" in French %A and"); setlocale(LC_TIME, "de_DE"); echo strftime(" in German %A.\n"); etc. -
Love the new speed at 100. Thanks
-
Module Pagetree Add New Child Reverse (on Top)
Martijn Geerts replied to horst's topic in Modules/Plugins
Wow, I can't wrap my mind around this. How is this possible without heavy overhead. Great work Horst, thank You ! Sneakpeeked at the code... clever -
Agrio new website and corporate identity / branding
Martijn Geerts replied to Raymond Geerts's topic in Showcase
Thanks for trying -
You can make it depending on services etc. (ready.mobi) But the more you depend on services, the bigger the change that it will fail in the future. (google changes api, ready.mobi get bought by MicroSoft etc & developer winns the lottery and quit working at all) We already have to deal with a lot of service depenencies. (Google maps, Twitter integration, FaceBook likes etc etc.) For mobile detection (read available device width) I think it's better to handle it yourself.
-
I can hear from your post that you're an experienced developer. Give your self some time, play around with the API. You'll see that PW handles one to may, many to many relations very well. After a while you'll see that PW is a framework with a admin build on top. If you wish to use SQL directly you're free to use it. Best to use $database (PDO) variable instead of $db (mysqli). ps, I'm very bad with SQL, so ProcessWire is heaven for me.
-
I think it's do-able with my module. With a few changes to the <thead> and a little modification in the loop. if($this->thead) { $out .= "<thead><tr>"; $out .= "<th colspan='{$columns}'>".wire('pages')->get($pid)->fields->get($fid)->label."</th>"; $out .= "</tr></thead>"; } ps, the module is intended as starting point. That's why I never added it to the module directory.
-
Can't help you with the WYSIWYG editors. ( I think inserting tables with WYSIWYG is even more evil then inserting images ) A way to go for tables could be a repeater. ( if there are not to many rows ) Take a look at this page, there's a module that convert a repeater to a table.
-
@Marty Walker with fontawesomePageLabel you can show an open or a close icon behind the title. (depending on the open or close state of the folder, or what ever icon you wish). The CSS fully customisable. FontawesomePageLabel has a JS approach, so you can use it in conjunction with all others know other PageLabelModules
-
I've build the texformatterImageInterceptor, but i've never used it. I just don't like images inserted in WYSIWYG. LIke a lot of people here.
-
it's fast !!
-
While building FontawesomePageLabel the animation of the pagelist tree annoyed me a little. ( Thought Soma was talkin about that animation to. And the animation is to slow imo. (now 400ms) ) When clicked a ?open=1234 get url for a page deep inside the tree the animation time really adds up. Say it's 5 deep, then you've to wait 2 seconds (5 * 400 ms). That's without the xhr request. * I think it's better not to animation at all when you request that page with get ?open=1234 * Ryan said XHR request is while animating.
-
New ProcessWire admin theme on dev branch
Martijn Geerts replied to ryan's topic in Themes and Profiles
Great improvements Ryan. But we've to think about the button colors to. Red color = Warning, something terrible could happen. Green = Approve something we want Then we have neutrals. Below is a result when playing with chrome. Just removed some unnecessary space. (some margins & border-radius ) -
how do I implement support for iframe in HTML mode?
Martijn Geerts replied to ozznixon's topic in General Support
Welcome ozznixon ! why not add a field to your template an name it iframe_url or something. Then in your template file: if($page->iframe_url) { echo "<iframe src='{$page->iframe_url}' class='my-iframe'></iframe>"; } -
<diogo>What about replacing it for the buttons appearing on hover?</doigo> There was a bug with it, but can't remember exactly what is was. Something with moving, I think.
-
<horst>Could it be that there wasn't a 100% transparency at this images parts?</horst> Looks like imagealphablending issue or something. I'm not realy into images, but I know raymond works precise with images/photoshop.
-
Will processwire be a good fit for our listing websites?
Martijn Geerts replied to spark's topic in Getting Started
Adds the same flexibility to your member profiles as you have in regular channels Don't know what a channel is, but a user is a page, using the user template, which can be extended the way you want. Register & edit members directly in Control Panel channel entries Using the PW api it's easy to create users/pages & update pages/users, or in admin Use all fieldtypes in member profiles No problem, see post 1. Choose membergroup upon registration Use a fieldtype of type Page extending the user template, or use roles Comes with a full member profile management example template set (Registration, update profile, update password, update login templates) Search the forum, there are plenty of examples. Don't forget users are pages. Registration -> create a page using user template. update profile & update password -> save page update login templates -> Don't know what this is All can be done quite easily. And after you've done this, you'll will feel convenient working with ProcessWire. -
can I use my own database table in processwire?
Martijn Geerts replied to liyiwu's topic in Getting Started
for shure: // mysqli will be depricated, so use PDO if you start with it $sql = "awesome query"; // $database variable is available in your templates. $database is the PDO way. $query = $database->prepare($sql); $query->execute(); Oké, stupid me: Welcome to ProcessWire greentea -
New ProcessWire admin theme on dev branch
Martijn Geerts replied to ryan's topic in Themes and Profiles
Hope the icons go to 14px. Font Awesome is designed for 14 px. -
Early stage InputfieldMailChimpCampaign
Martijn Geerts replied to Martijn Geerts's topic in Module/Plugin Development
There's to much overhead & scripts are to complex to continue this one. I'm sorry. -
Gonna tell in my post that post one is dead. ( to much overhead to use in production & crappy coded )
-
Cheatsheet is your friend.