Jump to content

Spica

Members
  • Posts

    122
  • Joined

  • Last visited

Everything posted by Spica

  1. Implemented it and works fine. Thanks a lot. Only the 'bicyclingLayer' => false, definition is missing in the headdefinitions
  2. Spica

    search

    thanks for your reply, Tom. I think that pointed me the right way. I am now testing grouping of selectors. Your suggestion combined with a second group should to the job. (Hopefully it doesnt fail proof). Even if it does not fullfill a hundred percent it is an improvement So this is my selector (field1|field2~=phrase-full),(field1|field2=phrase-segment1),(field1|field2=phrase-segment2), ...
  3. Spica

    search

    I have question on organizing a search. e.g. the skyscraper demo. If searched with "nyc" first entry is "33 Thomas Street". If I search "nyc thomas" I get no result. Because the phrase is split over two fields. But I would have expected to reduce the result list. Is it possible to cover this scenario?
  4. Hi Craig a Rodway, that sounds good. Just had a first glance on your modifications, not sure if I got it all. I will give it a try next days and return.
  5. ok. Read that already somewhen, but hoped to avoid that . Especially as it comes to a search over combinated fields with the geolocation. Would you then recommend a sql select with a join of tables or compare the simple raw sql result against another selector pw result?
  6. With lots of locations with coords generated with Map Marker I now want do do a radial search over the coords. Google gives an sql statement example: SELECT id, ( 3959 * acos( cos( radians(37) ) * cos( radians( lat ) ) * cos( radians( lng ) - radians(-122) ) + sin( radians(37) ) * sin( radians( lat ) ) ) ) AS distance FROM markers HAVING distance < 25 ORDER BY distance LIMIT 0 , 20; Source: https://developers.google.com/maps/articles/phpsqlsearch_v3#findnearsql So now I wonder, what is the best way to do it within pw. Is it possible to build a selector or better do a sql select?
  7. tried to outcomment # RewriteBase / and tweak the htaccess – without any change installation is in a subdirectory with a subdomain pointing on it. any ideas on that maybe?
  8. Well, thats already done. Normaly you would get an alert in the admin if missed out, not an internal server error, as I remember, or?
  9. After developing localy I put all files on my server. But when I switch debug to true I get a internal server error, only on the server. How deal with that? local PHP Version 5.6.10 server PHP Version 5.6.15
  10. Yes. But does the WirePDF input field accept a config path variable?
  11. ah,ok. now its working.( But a relative path would be better for moving the installation.)
  12. Sorry, typing error. I meant the CSS File Path in the WirePDF config mask declared with "Enter path and filename of a CSS file containing default styles to be used by mPDF for the HTML markup" for substituting the templates/pages2pdf/styles.css. e.g ../../templates/vendor/my.css, or templates/vendor/my.css does not succeed.
  13. Where to direct a custom PDF File Path in the WirePDF config to, e.g. for folder templates? Don t get it running.
  14. how stupid is that. Your right.
  15. yes, of course $fields->find(); gives all fields $fields->find("tag=mytag"); $fields->find("tag*=mytag"); none
  16. maby I dont find it, but what would be the best way to get this selector on fields $fields->find("tag*=mytag") As the pw provided tags are stored in the data column its not working this way.
  17. Ah, thanks. Very helpful. Long Read I think the permission name is still misleading. Without that tread impossible to understand. Didnt find anything in dokumentation, and had no hits with search before.
  18. I am a bit confused right now about the page-publish permission. What is it meant to. The right to publish pages or the right to edit published pages after some long time of searching for the reason why a user of a certain role was not able to edit all pages of the same template, i realized the role was missing the page-publish permission.
  19. You mean storing the variables in the session? Same problem here: how to execute/store variable with at least the id as argument.
  20. Yes, I mostly are finished with it. Just wondered as I 've tried a &title=somewhat somewhen before.
  21. Ok. No way around this. Thanks. Btw, is it possible to give e.g. title and name with page/add/…
  22. Hm. It seems to be not that easy. Mabey I better explain my target. A user gets a generatet pagelist. He is ment to create a childepage. Therefore each listed page gets a link. But title and name should be given by the system and not by the user. So I cannot use the add page routine by url. Name and title should include the parent_id (which is the one slected in the list) and userid. These I originaly wanted to pass as arguments to my executefunction. I think I cannot use a $input->get variable in that case. A $input-post variable would work, but only if I generate a lot of forms. But I would run into manipulation problems as LostKobrakai mention it is accessable/editable.
  23. <dt><a href='./something/'>Do Something</a></dt> <dd>Runs the executeSomething() function.</dd> How to pass some argument to the executeSomething() function?
  24. ok. Didnt know PageFinder::find. What is the difference to Pages::find. Cannot see any difference for normal use.
  25. yes. thought about that too. but is not solid enough as others may set filters without reflecting to exclude hidden product templates as hidden means all hidden pages. I realy want to make sure the pages could not be selected unless they are explecite included.
×
×
  • Create New...