-
Posts
7,529 -
Joined
-
Last visited
-
Days Won
160
Everything posted by kongondo
-
@adrian, curious why you are not on 2.3? Just a btw...
-
Probably no need to delete all the fields. You may need some, e.g. headline, summary, body. Just rename them, their labels and description as you see fit. That can save you some time
-
Aah
- 14 replies
-
- 1
-
-
I'm guessing maybe the subtle silhouetted figure in the background.. She was there a minute ago...now she's gone...
- 14 replies
-
- 1
-
-
Ryan, I'm really impressed, amazed at your level of productivity, responsiveness (and generosity)!
- 74 replies
-
- 5
-
-
- fields
- alter table
-
(and 1 more)
Tagged with:
-
- 14 replies
-
Thanks all!
-
I have searched the forums and couldn't find an answer. I am wondering how to use "OR" or || or | in my selectors in cases where I don't use either find() or get(). For instance, the following code does not work. Nothing is output. Why is that? if ($page->template=="home|basic-page") {echo "something";} // doesn't work Using | with find() and get() work just fine. Thanks.
-
How to setup Relations (?) for a MP3 DB with PW?
kongondo replied to horst's topic in Getting Started
What a fun project! Horst, you totally rock! -
I've just tested and it works fine for me (English version). In the input field settings, it says that what is in the Date Input Format Code is automatically build from the date select above, unless you modify it. I have played with modifying it myself and letting PW do it for me and it still works...It accepts dots, dashes, slashes...Not sure why it's not working for you..
- 5 replies
-
- datepicker
- format
-
(and 1 more)
Tagged with:
-
No. See this. it's a fun page...
-
Matthew, Thanks for this. Small typo, the last li -> a also has id= 2 instead of id = 3. Good example!
-
@aren URL segments will accomplish what you want in that case. See the following links. Also search forums for "url segments" http://wiki.processwire.com/index.php/URL_Segments_in_category_tree_example http://wiki.processwire.com/index.php/URL_Segments http://processwire.com/talk/topic/3302-non-hierarchal-structure/ http://processwire.com/talk/topic/3275-hide-parent-page-from-url/ http://processwire.com/talk/topic/2822-url-segments/ Btw, maybe in future best to start own thread so that OP doesn't feel his/her post has been hijacked
-
Not sure I understood, but this module by Ryan imports CSV files and supports importing of various fields. His site profile module possibly supports fields as well? Haven't used it, just reading this.
-
There's a couple of ways to approach this. I can't find the forum posts atm but Ryan and others have addressed this before. One, it sometimes depends on how you have organised your pages (e.g. used sections or not?). On the other hand, some sites will have lots and lots of pages. Here, PW offers pagination. Btw, "several hundred" is not that much. Have a look at the skyscraper profile. I get your point though. However, in some cases, it does not make sense to have all your data as PW pages. This is especially in the case where those pages do not need individual URLs. For instance, a directory listing company employees. One could have this in their own database tables and have those called and displayed on one PW page. OK, back to some solutions. Have a look at this module by Soma.That can be customised to suit your needs. Going the custom database tables means you will miss out on the wonderful PW API. As for admin themes, as you know, creating your own admin theme in PW is a breeze..
-
Thx...I was hoping I would have it up and running quickly but life got in the way...Hope to finish it soon...
-
Hehe....I guess I better get myself one then
-
Jetag, I don't think you can access users' details in that way (I could be wrong though ). PW API already has $user variable. See the cheatsheet and the API page. For example $users->find("selector")
-
Thanks Nik
-
Hi Nik & Teppo, Thanks for your responses. I think I didn't express myself clearly and got confused. What I was trying to do in the end is to be able to query an external database. Yes, in the example above I was querying PW tables. Aaah, I knew about PW start, limit and end selectors but thought they wouldn't do what MySQL LIMIT does. My understanding then is that if the tables are in PW, use PW selectors. If the tables are external, use PW database class (or other database abstraction layer e.g. ezSQL ), correct? Many thanks.
-
How to setup Relations (?) for a MP3 DB with PW?
kongondo replied to horst's topic in Getting Started
Horst, awesome! -
OK. Thanks Diogo...I will go the $db-query way.
-
Have a look here if you haven't
-
You mean like this? So as to do this...If yes, there's a solution right on that post.