Jump to content

alec

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by alec

  1. Didn't have time to search more. I am now on leaflet map.
  2. Just installed PW and GoogleMapMarkup(didn't work with PW and google map for a while) and in admin map fields works fine, I have added google key... But in front end when i render map I got error Error: Please add the maps.google.com script in your document head. I have added script to header, and everything else on the right place. But still gor error, also I have error about google namespace:"MarkupGoogleMap is not a function", before i have error: google map initMap is not a function. So I changed function in map url to MarkupGoogleMap <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBfuPL8-V9WoZBU8fZ26NuP7I9SuZoqYmA&callback=MarkupGoogleMap" async defer></script> I think that this has something to do with google api. Is someone have simillar problem and maybe some answer to errors?
  3. Hello everyone. I have strange things happening when I want to edit Site translation files. When I try to edit files I got error: " Session: File does not exist: /site\templates\include\footer.inc (translation file not needed? textdomain: site--templates--include--footer-inc) " Here I noticed strange division on left. Somehow it is change direction. Can anyone explain to me why this is happening, and can cause this error?
  4. Hello everyone. I have strange things happening when I want to edit Site translation files. When I try to edit files I got error: " Session: File does not exist: /site\templates\include\footer.inc (translation file not needed? textdomain: site--templates--include--footer-inc) " Here I noticed strange division on left. Somehow it is change direction. Can anyone explain to me why this is happening, and can cause this error?
  5. Yes, I want to avoid Drupal because it is too "heavy", there i need to think about thousands of things, where 99% of those things I don't need. I need some cmf that I can control.
  6. Hello, everyone. I have new project for web hosting company. I already finish one similar project last week, of course I use processwire as a front end system. And backend is billing system that runs on whmcs. Now this new project is also for web hosting company, but it is more like enterprise site, with many functions that will be extending site later, like www.redhat.com site or www.uk2.net I have two solutions to complete this project, one is processwire and another is with drupal. Drupal is good for enterprise sites, but I don't like it because it is massive, and development process is pretty borring. I don't like all that pre settings on drupal, installing modules, and work with views... There is a lot mouse clicks in all that stuff. The site I need to build will have following functionalities: - Products displayed on front end (like hosting packages, vps packages, servers). As in processwire everything is a page, would be some problem to create larger number of products (pages)? - User registration ( not needed now, but later maybe site will need integration) - Blog system - Chat integration (external chat app) - Search filters for products - Need good security also - ... So, what I need is some suggestion of someone who has similar project. Someone to tell me is processwire good for this project (here I think about development speed, I already know that PW is beast:) ), is it capable for enterprise site who will be constantly extending? And will have a lot of integration with other system via api, for example billing, cloud...
  7. Is it possible to load image with this module?
  8. One more question. Is it possible to extend fields from rss chanel, where I would import photo and other rss fields?
  9. Thanks @adrian Feed Loader will do the job. I hope that it can pull external feed from multiple sites.
  10. I want to pass external feed to my site.
  11. Hello community, I have project for news site where I would use rss feed generator, to import news from other sites. Site functionality would be like in this script http://pluscss.com/demos/aggregator-pro/ I find this module http://modules.processwire.com/modules/markup-rss/ written by Ryan. So I have question about this module, is anyone try it, can it be used for project i describe above? There are a lot wordpress plugins, and cheap scripts on internet for rss generator, but I want to create one with processwire.
  12. Yes, that helped me. Thanks a lot Soma! I have better understanding of module class now,
  13. I see it, but how to call it in home template? When I list 10 products how to add "Add to cart" button in every listed product.
  14. Hello. I am using Apeisa shop cart for one of my project. And I need some help with displaying products on home page. When I use foreach loop I can only display fields from shop template. But I need to display "Add to cart" button. How to add $modules->get("ShoppingCart")->renderAddToCart(); in foreach loop. <?php $products = $pages->find("template=shop, limit=10"); echo "<div id='wrapper'>"; echo "<div id='list'>"; foreach($products as $product) { echo "<div class='item'> <div class='item-body'> <div class='cena'>{$product->sc_price} €</div> <span class='item_title'>{$product->title}</span> </div> </div>"; } ?>
  15. I'm working on one real estate project. Curently I am working with field for price, I was thinking to create int field for price, to display price on every property(i have managed that it is quite easy). But, also I will need a form, where users can choose min and max price. For example: 0 - 1000 1000 - 10 000 10 000 - 50 000 ... What would be the best way to implement values for price in search form?
  16. I have problem with links on site, today client called me and said that first there wass 500 error on site, and now when i checked, 500 error is gone ,but links to pages on site doesn't work, when i click some link to page, they gave me 404 error (The requested URL /about/ was not found on this server.) Any suggestions?
  17. @Diogo Thanks, i think that your link is solution. I have created form with form builder, for classified site. Users can ad their Ads via form. I was use textarea, but it is not good solution, cause with textarea input field text is messed up, no space, no text brakes. I just want some text editor, like this one in forum, where users can clear write their input. And to display exactly how they write.
  18. I know Is there then way to display tinyMce on front end? I have problem with text input. When user add text via form, output is sooo ugly.
  19. Is it possible to display content of .doc .txt file on front end? If I upload .doc file, how can I display content of that file?
  20. For this, what code for user registration wolud be? I want to implement this login process for my project, but I dont know how to do user registration. Can someone help?
  21. Hello, community. How to create user registration form on front end?
  22. I have found one solution for adding images to infowindow. In google map module I have add variable field called images, which is field of page images. Then i assing that variable into java script. I have wrote on modules page all process: http://processwire.com/talk/topic/690-map-marker-fieldtype/?p=56159 foreach($pageArray as $page) { $marker = $page->get($fieldName); if(!$marker instanceof MapMarker) continue; if(!$marker->lat) continue; $url = $options['markerLinkField'] ? $page->get($options['markerLinkField']) : ''; $title = $options['markerTitleField'] ? $page->get($options['markerTitleField']) : ''; $images = $page->images->first->url ? $page->images->first->url : ''; $phone_number = $page->phone_number ? $page->phone_number : ''; $out .= "$id.addMarker($marker->lat, $marker->lng, '$url', '$title', '','$images','$phone_number'); "; }
  23. To me, It's like converting mercedes to VW Golf.
  24. Hello again, I have question about form builder. I need to create classified site for jobs, where users can publish their listings from front end. I would create backend fields for categories, expiration for ads... And I will create one template page, for examle "add", so that users from front end can choose categories etc. and then publish add (listing). Can It be done with form builder?
×
×
  • Create New...