-
Posts
4,632 -
Joined
-
Last visited
-
Days Won
55
Everything posted by apeisa
-
Any modules installed?
-
am / pm part is most problematic here, localization wise. I think we need to switch to datatables or other plugin to allow real date sorting in the long run. Or just prepend dates with hidden timestamp.
-
Yep! http://en.wikipedia.org/wiki/Area
-
Great module Soma! Maybe also having shortcut and selector for area in addition to volume?
-
You can define start=0 on where you don't want pagination.
-
Any hopes setting that date format as a configurable?
-
$articles = $pages->find("parent=/news/, limit=18"); $out = ''; foreach ($articles as $key => $article) { if ($key == 0) $out .= "<div class='slide first'>"; // Open the first .slide else if ($key % 3 == 0) $out .= "</div><div class='slide'>"; // Close the previous slide and open next $out .= "<div class='post'><h2>$article->title</h2></div>"; // render the actual markup } $out .= "</div>"; // Close the final .slide echo $out; not tested and written in browser. You can omit the limit if you want to.
-
Not sure what kind of markup you are after, but getting and looping three posts is simple as this: $articles = $pages->find("parent=/news/, limit=3"); foreach($articles as $article) { echo "<div class='slide'>$article->title</div>"; }
-
Drag and drop page sorting with Blog Profile not working
apeisa replied to bbb's topic in General Support
<Moved topic from modules forum here> -
It's not supposed for anything "serious". Only "Do you think David Beckham is hot?" type of questions for that module
-
Not to mention some old foxes had thousands of posts on old forums, that didn't have likes (there was some kind of karma system, but it didn't get converted). So the data is somewhat corrupted already (makes it harder to get "Ryan is first" result ).. Fun experiement still and happy to see the final list.
-
As for the Google Reader replacement, I settled for https://feedbin.me/ and Press app for android. Both are paid, but that gives me some confidence they might be there for years to come (I also considered self hosting, but I was too lazy/busy to do that). CMS & General tect-related: http://gadgetopia.com/ CSS, standards: http://lea.verou.me/ The Web Tech/Biz Classic: http://37signals.com/svn/ Resources (this is where I found PW in 2011): http://www.webresourcesdepot.com/ I actually prefer to follow rare posting blogs that have real gems - I think that is what RSS is most suitable. I have never bothered with news sites, that have 5+ posts per day..
-
This is great. One confusion though: I tested demo site on my mobile (android) and navigation didn't allow going any page that has children. It always opened the menu, no matter where I tapped (arrow or page title).
-
One of the reasons for table per field design is definitely performance.
-
If I remember correctly passwords created with PHP 5.4 are not working with 5.2 (different cryptography used). So you need to reset your admin password.
-
Request to modules devs: Modules directory compatible PW version
apeisa replied to Soma's topic in Module/Plugin Development
Well... I am 95% sure all my modules work in 2.3 (if they work in 2.2). My suggestion would be to have option to say the minimun version required. Then as a optional information there could be mention that "This module is confirmed and tested to work in 2.2, 2.3 and 2.4". And maybe anyone with their own user account can update if they have tested and it works (or doesn't). In short: I think current "Hey, lets update every module each time new minor version of PW is released" is broken and we should have better solution. It assumes that modules usually do break on minor version updates, but the reality is otherwise. -
Set 'of' before setting the value.
-
trackChange seems to be missing.
-
Thanks for the report. It will take few days before I can test this, so if anyone can try this with default install without any other modules or custom admin theme it would definitely help.
-
Or if the search form is on tag page, then no need to look further than $page->name This kind of stuff is definitely where pw really shines.
-
Yep, and a good one. Mine is merely a little notification about linkability.
-
If those search results are public, then I would suggest using url param instead of session for tag. It would keep possibility to link search results.
-
Just a guess but feels like permission problem.
- 7 replies
-
- admin
- permissions
-
(and 1 more)
Tagged with:
-
That solution doesn't scale, if client adds new page each day... I would add new image field called background image, set it to have only one image and then add this to template file: <style> body { background: url(<?= $page->background_image->url ?>; } </style> (written in mobile)
- 10 replies
-
- 4
-
-
- css
- image field
-
(and 1 more)
Tagged with:
-
Yep, this is great module. I also want to encourage people to write their own import scripts. It is simpler than you can believe and you can re-import easily.