Jump to content


apeisa

Member Since 20 Jan 2011
Offline Last Active Yesterday, 11:15 PM
-----

#37598 Broke the installer? (Installing onto local testing server)

Posted by apeisa on 15 June 2013 - 04:23 AM

3306 is db port, 80 is for apache.


#37572 Need slight variation on existing module

Posted by apeisa on 14 June 2013 - 06:10 PM

Here we go: https://github.com/a.../CommentRatings




#37560 Handling the ecommerce part for drama ticket booking site

Posted by apeisa on 14 June 2013 - 02:02 PM

There are lot's of options for you, but I think all of them requires a custom coding (if you want to automate the process at all). It is pretty hard to help you at this point (no clear questions), but definitely when you have progressed a little you get lots of help from here.

 

So I suggest as a first action try to draw more clear picture for us how you want the process to work.




#37541 Release: Redirects

Posted by apeisa on 14 June 2013 - 11:06 AM

Thanks for the kind words ezeey! Nothing works with multisite :)

I hope to find some time this weekend to take a look. If you can provide any more information it would definitely help (how to reproduce, test site I can login etc).


#37461 MarkupTwitterFeed - where do I get the feed?

Posted by apeisa on 13 June 2013 - 09:22 AM

I find it amusing that twitter requires auth, when pulling public tweets... Boring.
</rant>


#37071 wire("page[s]") vs $page[s]?

Posted by apeisa on 08 June 2013 - 05:49 PM

This is all more PHP than ProcessWire. All that ProcessWire does is that template files have some predefined variables for nicer api. $page and $pages are among those.

 

 

Includes are different beast from functions (and from modules). If you include a file, it has all the same variables than the file that included it. So if you include a file from your template file, the included file will have $page and $pages available.

 

Functions have scope. So when you have this code in your template:

<?php

renderTitle();

function renderTitle() {
  echo "<h1>$page->title</h1>";
}

It will not work, since renderTitle() function doesn't know what $page is.



Here is working version of the same template file:

 

<?php
renderTitle();

function renderTitle() {
  $page = wire('page');
  echo "<h1>$page->title</h1>";
}

 

or always possible to pass variables:

<?php
renderTitle($page);

function renderTitle($page) {
  echo "<h1>$page->title</h1>";
}



#36721 Images pagination

Posted by apeisa on 04 June 2013 - 04:14 PM

It's not too simple task. I would probably build it independent from any ready made gallery/lightbox script, since making them work in that scenario nicely might be a bit too challenging. Maybe if they have some hook that allows you to do something custom on last click (pull new images with ajax in this case / or redirect to next page and open first image in this case) might do it.

 

Also from UI side, I don't think many users except it to change pagination in that scenario. Or maybe using different kind of gallery there: http://galleria.io/ ?




#36710 Images pagination

Posted by apeisa on 04 June 2013 - 01:42 PM

Whithin the colorbox it always shows only the 15th images per Page and next is again the first of page one (red arrow) - but when 15th I want that the next picture shown is the first picture of the 2nd Page (green arrow).

 

You can see it better on my Site: http://pwire.wels-ne...e-strassenfest/

 

 

I think the question is more for the gallery script you are using than for PW. It all depends how the gallery/lightbox of yours want the data. I think most of those scripts support just that kind of usage how it works now (supporting already visible stuff), but of course there might be other means also (some kind of json or xml feed that it reads), or "hidden html"...




#36600 ProcessEmailToPage

Posted by apeisa on 03 June 2013 - 02:42 PM

Pete, this looks fantastic (just watched the video).

 

Few questions popped on my mind while watching: why is parent page called category on module settings page? "Images" field name seems to be hardcoded? Does (or will it) support other attachments than images?

 

Again, brilliant work. Thanks Pete & Jason.




#36592 CMS Critic now powered by ProcessWire

Posted by apeisa on 03 June 2013 - 01:40 PM

Yes, very beautiful and well working site. And excellent front end coding also, very sharp and clean design. And I have visited only with mobile!


#36568 What IDE do you utilize?

Posted by apeisa on 03 June 2013 - 09:16 AM

I have used komodo for long time, but now have converted to sublime. Both are great.


#36433 Need slight variation on existing module

Posted by apeisa on 02 June 2013 - 04:37 AM

I build this yesterday and Ovi sponsored it for open source. Little tweaks and testing before release.


#36317 Multisite

Posted by apeisa on 31 May 2013 - 01:58 PM

I think urls and admin login would be enough at this point. I am happy to take a look.




#36078 ProcessBatcher

Posted by apeisa on 30 May 2013 - 02:05 AM

Just used this to remove over 900 pages, while keeping about 50 valid pages. Saved at least hour of work. Just a brilliant module, thanks Wanze!




#36013 "Best Practice" - "Cloning" Sites | Reuse of basic installati...

Posted by apeisa on 29 May 2013 - 09:18 AM

You create a site profile with profile exporter.