Spica
Members-
Posts
122 -
Joined
-
Last visited
Everything posted by Spica
-
Implemented it and works fine. Thanks a lot. Only the 'bicyclingLayer' => false, definition is missing in the headdefinitions
-
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), ...
-
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?
-
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.
-
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?
-
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?
-
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?
-
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?
-
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
-
Yes. But does the WirePDF input field accept a config path variable?
-
ah,ok. now its working.( But a relative path would be better for moving the installation.)
-
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.
-
Where to direct a custom PDF File Path in the WirePDF config to, e.g. for folder templates? Don t get it running.
-
how stupid is that. Your right.
-
yes, of course $fields->find(); gives all fields $fields->find("tag=mytag"); $fields->find("tag*=mytag"); none
-
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.
-
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.
-
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.
-
Hello Process Module pass argument to function
Spica replied to Spica's topic in Module/Plugin Development
You mean storing the variables in the session? Same problem here: how to execute/store variable with at least the id as argument. -
Hello Process Module pass argument to function
Spica replied to Spica's topic in Module/Plugin Development
Yes, I mostly are finished with it. Just wondered as I 've tried a &title=somewhat somewhen before. -
Hello Process Module pass argument to function
Spica replied to Spica's topic in Module/Plugin Development
Ok. No way around this. Thanks. Btw, is it possible to give e.g. title and name with page/add/… -
Hello Process Module pass argument to function
Spica replied to Spica's topic in Module/Plugin Development
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. -
<dt><a href='./something/'>Do Something</a></dt> <dd>Runs the executeSomething() function.</dd> How to pass some argument to the executeSomething() function?
-
ok. Didnt know PageFinder::find. What is the difference to Pages::find. Cannot see any difference for normal use.
-
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.