Jump to content

kongondo

PW-Moderators
  • Posts

    7,529
  • Joined

  • Last visited

  • Days Won

    160

Everything posted by kongondo

  1. Here you go http://modules.processwire.com/modules/skyscrapers-profile/ Welcome to ProcessWire stbazilio
  2. Maybe this post should be in the wishlist forum?
  3. Just remember to set debug back to "false" on a live site
  4. ...so maybe the name of the table has to be changed, hehe...Anyway, not to rehash the original [old] post...the idea was that posts count alone do not reflect "top" posts....In other words, it's a mechanism to "weight" posts... And yes, that's the (controversial/imperfect) formula...e.g. liking a post does not necessarily mean the post was helpful ....
  5. @Pete...read the old post Horst linked to...it explains relation Sorting by member ID = Alphabetical sorting by member name actually
  6. You sort of answered your question ... ...arrays...http://processwire.com/api/fieldtypes/images/ Hint..."foreach...." ;-) ...Edit...am too slow...Martijn beat me to it
  7. Soma, is that a question? Happy new year Horst!....thanks for the "lies, damned lies and statistics!"...oops that should be "likes, damned likes, and statistics!" Seriously though, nice effort!
  8. Well happy new year to you too! This is nice, thanks Ryan. This is a massive positive change. I am assuming you'll start a new thread to announce the change? ... Cheers Edit: Silly me...of course you will...
  9. I'm a bit confused by your code. Where did you define $children? Is it an array or a single variable?
  10. Not exactly...I don't think so. I think, in essence, terry wants to sort by the custom date field (the 20XX) and...the most recent child page to be assigned Page number 1, etc, etc (ASC). So: Gamma (2014) - when I view this page, it will have integer 1 (i.e. page 1) Alpha (2013) - ....page 2 Omega (2012)-.....page 3 Beta (2011) - ......page 4 If the custom dates change..... Alpha (2014) - page 1 Omega (2013) - page 2 Gamma (2012) - page 3 Beta (2011) - page 4 Or so I think...
  11. Nice work Claude! And it loads very fast!
  12. ...well you can ...Edit your first post using the full editor (click on "Edit", then click "Use Full Editor")
  13. MarcC, Works fine for me in Chrome. What version of PW are you using. I have tested in both stable (2.3.0.) and dev versions (2.3.9.) - default and default "warm" themes respectively. Am on Win7. What do they mean "it doesn't work"? Errors? What happens? Edit: Dev - tested "Warm", "Classic" and "Modern"...all work fine in FF and Chrome.
  14. Lol!....on days like these I just call it a day (if I can) and drop everything...catch a movie or something
  15. Welcome to the forums Marek! This knowledge: http://processwire.com/api/ + the basics of this http://www.php.net I am feeling too lazy to write...here's some light reading to help you get started http://processwire.com/talk/topic/2396-tips-on-getting-started-how-you-got-started/ http://processwire.com/talk/topic/1555-learning-oop/ http://processwire.com/talk/topic/2994-learning-php/ http://processwire.com/talk/topic/1927-php-the-right-way/ http://processwire.com/talk/topic/3518-what-ide-do-you-utilize/ http://processwire.com/talk/topic/2124-interactive-tutorial-knockoutjs/ http://processwire.com/talk/topic/4550-debugging-tips/ http://processwire.com/talk/topic/3115-javascript-resources/ http://processwire.com/talk/topic/2076-time-saving-tips/ http://processwire.com/talk/topic/1029-php-54/ http://processwire.com/talk/topic/2492-book-recommendations/ http://processwire.com/talk/topic/3925-project-management-for-developers-how-you-do-it/ http://processwire.com/talk/topic/4164-what-useful-freecheap-toolssoftware-for-freelancerssolopreneurs-do-you-use/ http://processwire.com/talk/topic/4250-whats-your-development-process/ http://processwire.com/talk/topic/4039-what-rss-web-designdev-feeds-do-you-follow/ Bottom line, only you can answer your main question (your topic title)....
  16. Happy new year! What the error is saying is that you are trying to call a class that has already been called (there's a better way to express this but Google is your friend). There's various ways to solve this issue: include_once: http://www.php.net/manual/en/function.include-once.php require_once: http://www.php.net/manual/en/function.require-once.php Another way around this is when you make copies of existing classes, to rename them...e.g. CommentFormCustom to MyCommentFormCustom. The experts here will give you better answers... .... Further reading. http://stackoverflow.com/questions/708140/php-fatal-error-cannot-redeclare-class http://stackoverflow.com/questions/2418473/when-should-i-use-require-once-vs-include http://stackoverflow.com/questions/2595171/php-include-once http://www.w3schools.com/php/php_includes.asp http://www.w3resource.com/php/statement/require_once.php
  17. @creativ3minds, My suggestions/questions: Maybe it will be easier to answer your questions if you divided them into separate new threads. I notice some of your questions are somewhat PHP related (e.g. concatenation). Others are about the PW API (both basic and advanced). Currently, your post is way too long IMHO. Have you read up on the basics of PW? i.e. the API
  18. ...please ignore, I don't know what I was thinking ;-) hehe...I logged into the "wrong" install...
  19. I don't get this request. In PW, same fields can already be reused in different templates and can be set as required. And, if you want a field to be always required on every page, you can set it as global + required. Maybe I am missing the point
  20. For starters, checking out your fiddle, I can't see how you are including matchCarousel.plugin.js. Have you checked for errors using Firebug? You probably have already but I don't want to assume anything...
  21. Again, it would be helpful to post your question....then the answers will come flooding in...;-) (hopefully)...so far all "we know" is that your question involves a jQuery carousel that is getting data from a JSON file...That's a bit vague. What have you tried? What is working? What is not? etc. etc...
  22. Uh? Really? if you searched the forums you'd find quite a number of jQuery related queries and solutions...I don't mean to be rude...but why didn't you just post your question? As for whether there are programming experts on these forums (your thread's title) ...I am honestly at a loss for words (and that doesn't happen often).... Initially I thought this was spam ;-)
  23. Am I seeing double? Enjoy ur vacation!
  24. I may be way off here but I think Joss meant to use the cities' templates to control permissions; design-wise, the templates wcould be equivalents if you wanted to. Maybe you have other reasons why you want to use one (literal) template for all cities....?
×
×
  • Create New...