Jump to content

pmichaelis

Members
  • Posts

    73
  • Joined

  • Last visited

Everything posted by pmichaelis

  1. Ah, ok. Sorry, I used an older version. But upgrading seems impossible due to requirements ...
  2. Hey, thanks for this module and your work. Is there a way for managing permissions for the general settings page? I editied the module itself ans set up a custom permission, but it doesn't seem to work.
  3. Hey there, Great module. Thanks for the functionality. I am using checkboxes of a multi-lang page reference field in the subscription form and I was wondering if multi-lang fields are supported by default, because the checkboxes are not translated. The Label of the field is translated correctly, but not the rest. Thanks for some information.
  4. Some more Infos for the cssmin errors using php7 https://github.com/nystudio107/minify/issues/8 That seems to fix the errors
  5. Hey Bernahrd, really good work. Thank you so much for your effort!
  6. Wanted to let you know, that I had some issues with AOIM running php 7. Error messages were generated because of non well formed numeric values. Maybe the issues are bound to my hosting environment. The following changes resolved them Changend line 775 in /site/modules/AllInOneMinify/lib/cssmin.php to: return intval($size); Changed line 713 in site/modules/AllInOneMinify/AllInOneMinify.module to $_timestamp = intval($_timestamp . $file['last_modified']);
  7. Ok, thanks for the reply. I was just wondering, because the modal dialog keeps all these options. An altnernative would be to store the data (url, title, rel, target) as json in order to have them.
  8. Sorry, that I need to post my question again. Is there a chance for storing these values to the db?
  9. Hey, thanks for that module. Maybe I missed something, but how to get the propoerties, like target, title, or rel in a page template? Are these values stored anywhere? Thanks for help.
  10. Hey kongondo, I downgraded to 2.7.2 and the descriptions work ... Thanks for that.
  11. Sorry, I still can't figure it out. All the descriptions are not displayed as HTML. A can't update Menu Item, or anything else. Does anyone have a hint for me to solve this?
  12. Hey, thanks for your fast reply. I attached a screenshot with my current setup. You are right, the page is multilingual. Maybe you cna give me a hint, how I can solve this? It seems, that the HTML is not rendered correctly. I tried to edit the HTML of the decription field and put Markdon tags in the description, which are displayed correct.
  13. Hey kongondo, thanks for thi great module again. A few days ago I figured out, that the output of the main menu builder header is not formated in html. Maybe it has to do with some other modules installed, because I never had the issue, that the output is not "rendered" as HTML. Does anyone else have this issue, too?
  14. Hi, is there a possibility to have multiple marker icons? Right now I have "locations" pages, that belong to a category. Depending on the category I want to show different marker icons. echo $map->render($locations, 'geo', array( 'icon' => $icon, 'markerTitleField' => 'title', 'useMarkerSettings' => true, 'fitToMarkers' => true )); Thanks for any help.
  15. Hey Sebii, thanks for your help, but I could not figure it out. foreach($product->image as $image) { $image->tags = "tag1 tag2"; $page->images->add($image->url); } $product->imgae is an external array of images. It has nothing to do with the page images. So there is nothing like $image->tags.
  16. Hey, I would like to add tags to an image field upload via api. Does anybody have some information on that? im using the following code to update images on a page. # remove images if(count($page->images)) { $page->images->deleteAll(); $page->save(); } # upload images foreach($product->image as $image) { $page->images->add($image->url); $page->images->tags = ? // not working } $page->save(); During Page Update the backend says: Session: Item 'tags' set to ProcessWire\Pageimages is not an allowed type Thanks for help.
  17. Hey kongondo, Thank you very much for this great module. Currently I am using it to buil ddropdown navigations and I would like to know if there is somethin planne like an "active trail" (class names) for the parent list items. for e.g. - Blog (active trail) - Blog Post (active) thanks for any information.
  18. @steevooo If it is just about storing local configurations you can also use config-dev.php in your sites folder and put this file in the .gitignore https://processwire.com/api/variables/config/
  19. Thank you! Your were right about the field renaming. Using PW 2.7.2. by the way. Works like charm.
  20. Thanks a lot for this modules. I used it in several projects and it always worked fine for me. Today I ran into a strange bug. The Image Extra fields don't seem to be created in the database. When I check the orientation field, or any other extra field it says: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_backgroundImages.orientation' in 'field list' during page creation. I looked up the the corresponding mysql table and yes, there is no field created. could this be connected with the multilingual support? I set up a multilingual site on which english is not the default lang. Thanks for your help.
  21. Hy there, Great Module! I use "AIOM" in conjunction with "Template Engine Factory". The HTML minify function ist not working, if i have both modules installed. Maybe it it because the minify process is hooked to Page::render and not to Templatefile::render?
  22. Hi everybody, First of all: Thanks to everybody for keeping the community alive. Every time I search for something in the forum I find the solution. Great work! I wanted to share a small module with you / my first one. I use it in order to switch the user language on page load. Processwire GeoInfo GeoInfo is a small module that Implements Geoplugin PHP web service. Please donate to "geoplugin.com" in order to keep the service alive. The Module ads two methods to retrieve data from the web service. $page->GeoInfoIP('IP ADDRESS'); you can enter the ip address manually. If left blank the server remote address will be used. The retrieved data is then stored to the active session, in order to limit the requests. The web service gives back following data. 'geoplugin_request' 'geoplugin_status' 'geoplugin_credit' 'geoplugin_city' 'geoplugin_region' 'geoplugin_areaCode' 'geoplugin_dmaCode' 'geoplugin_countryCode' 'geoplugin_countryName' 'geoplugin_continentCode' 'geoplugin_latitude' 'geoplugin_longitude' 'geoplugin_regionCode' 'geoplugin_regionName' 'geoplugin_currencyCode' 'geoplugin_currencySymbol' 'geoplugin_currencySymbol_UTF8' 'geoplugin_currencyConverter' for e.g. $page->GeoInfoIP('IP ADDRESS')->geoplugin_countryCode; will give back the country iso code. $page->GeoInfoLatLong('LAT', 'LONG'); Enter Latitude and Longitude in order to get following information: 'geoplugin_place' 'geoplugin_countryCode' 'geoplugin_region' 'geoplugin_regionAbbreviated' 'geoplugin_latitude' 'geoplugin_longitude' 'geoplugin_distanceMiles' 'geoplugin_distanceKilometers' for e.g. $page->GeoInfoLatLong('40.712784', '-74.005941'); will give back the city name "New York City". Todo store places in json file / check if place exists implement nearby "service" https://bitbucket.org/pmichaelis/processwire-geoinfo
×
×
  • Create New...