Jump to content

Macrura

PW-Moderators
  • Posts

    2,778
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by Macrura

  1. +1 for more info about shopify integration... i have a new ecommerce site that has to go into production, and was considering PW+FoxyCart; I would be interested in the pros/cons re PW+shopify vs other systems...; i guess it must be mostly features – since foxycart can handle everything with respect to the checkout process, i would wonder what advantage Shopify provides. It costs a lot more as well.
  2. @vineonardo - thanks for making this... it will be good to have this on an ereader and be able to study it sometimes.
  3. Hi Luis, thanks - here are the screenshots:
  4. Macrura

    Minify

    Just wanted to post a problem i had with Minify and the fix, in case anyone else runs into this: Problem: If you have an already minified css file (like for example a boostrap.min.css) as one of the files you are including in your minify concatenation string, the files with the string 'min' somewhere in the filename won't get processed, and consequently the URLs within the CSS files will not be correct; If this happens you'll see a recursive loop in your console, as the network requests for something like an image start to initiate a new minify process and this will create about 20-30 additional network requests that keep getting longer and longer.. sort of like this: builder/ builder/builder/ builder/builder/builder builder/builder/builder/builder/ builder/builder/builder/builder/builder/ and so on and so on... the fix is to set the behavior to minify all files, (or to use an unminified version of the css which is easier and would survive updates to the module); In case you don't want to or can't change the css files you are using, you can change this setting in the Minify/min/config.php file as follows: /** * By default, Minify will not minify files with names containing .min or -min * before the extension. E.g. myFile.min.js will not be processed by JSMin * * To minify all files, set this option to null. You could also specify your * own pattern that is matched against the filename. */ //$min_serveOptions['minApp']['noMinPattern'] = '@[-\\.]min\\.(?:js|css)$@i'; $min_serveOptions['minApp']['noMinPattern'] = '';
  5. Macrura

    Minify

    @Fourjays, can't see anything wrong with your code; maybe it is a server issue - there are some settings in the minify config file that might help.
  6. @mathew - thanks for looking; the foxycart for this site was very simple/easy and flexible to implement; i have no complaints overall except that i wish i could do validation easier on the add to cart buttons; but i'll probably get that sorted soon. the FC people are always helpful and polite; the system runs perfectly smooth as far as i can tell so far. It's a little tricky to integrate the checkout page into your site; since they host the checkout pages on their servers, they have to cache your 'checkout' template, which can be problematic if you have a complicated design (it didn't seem to like bootstrap); i wasn't able to get that working this time around, so i'm using the default checkout, which is also fine; maybe not as elegant as having the checkout look like it's part of the same site. ecommerce is definitely not my 'thing' so foxycart will probably be my 'go-to' solution, since it sort of just plugs in and works...
  7. btw -the client loves pw and appreciates the community so is offering 20% discount, using coupon code 'processwire', until June 20.
  8. @wishbone what about setting the template to not use trailing slash
  9. Hi Ovi, i also came across this; http://www.myjqueryplugins.com/jquery-plugin/jrating there is also a rating implementation within Zoo, so perhaps that could be looked at to see how it is done.. http://www.yootheme.com/zoo/downloads/download?layout=single i will probably need a similar functionality at some point down the road..
  10. @Jason & alanfluff -thanks for checking out the site, much appreciated. @NooseLadder - thanks for looking and yes, you're completely on point, the company is a very small business with limited resources...(basically a one-man operation) but there is a plan to photograph all of the products for 'V2'... For the veneers, there is a 'veneer gallery' for this version, and there will be a 'veneer picker' on the product pages for V2 which will be a popup lightbox that lets you see the veneers close up and select one, for which the selection will populate the veneer choice select box. also in the works would be validation for the veneer selection (to make sure a value is selected).... i haven't been able to figure out foxycart add-to-cart validation yet and am waiting on a reply to a post in the FC forum as to how i can use jquery.validate with FC, which would make things super easy.. -marc
  11. Hey Ryan - thanks for checking it out!
  12. you can look in the browser URL when you roll the mouse over the edit link for a page;
  13. thanks apesia, for bringing up this topic... hopefully by the time i get to V2, i'll come up with a way to deal with that; i'm using jquery validate for another form on the site, maybe there would be a way to integrate that with FB.. i also forgot to include in the first post a little about how that project evolved and ended up with PW.... it started a long time ago when we first tried to do the site in Joomla, using RedShop; that was basically a disaster; RedShop promised all of the 'features' you could want, but was rife with problems and almost nothing worked. I found myself on the RedShop forum almost every day reporting bugs, spelling errors in the component etc.; then Joomla 1.5 reach EOL, and we tried to upgrade, and that failed in many ways also (components, template etc..).. once i found processwire, the plan was to do a simple corporate brochure site, which would be like a product catalog, no ecommerce. During the work on that, i experimented with csv import on another PW site and discovered how to easily import the old website data, so that it took only a few hours to import the existing relational product database (MSaccess/Cold Fusion); And then i read about foxycart, so that became the solution for the parts store, since the existing site provider was discontinuing CC transactions on their servers, i guess they are not PCI compliant; Once we got that going, it was just a small step to enable add to cart buttons for the 'current' product line...
  14. On firefox, it scrolls already right to the first empty field, which has a red halo around it; this is using the latest stable version of FormBuilder; are you saying that FormBuilder is using browser native alert? I thought this was jQuery UI.. -marc
  15. hi kongondo - awesome! thanks for looking #1 - fixed (made required) #2 - not getting this, because the formbuilder is showing alerts for required fields, when they are not filled in (?) #3 - changed h2 to h3.. and i agree about the 'query'...changed to search... the formbuilder links won't work, sorry, unless you are a formbuilder registered user (it's a 'VIP' forum)
  16. hi all, new PW site launch: http://www.ohmspeaker.com/ some of the modules that were helpful or essential for this: cropimage formbuilder fredi importcsv minify piwik analytics procache batcher redirects version control template decorator modules manager page link abstractor sitemap xml admin custom pages markup simple navigation (for the sitemap) forum topics related to this site dev: Legacy Site URL redirects: http://processwire.com/talk/topic/3641-redirect-legacy-url-to-new-pw-page/ Clean up spelling: http://processwire.com/talk/topic/3519-use-api-to-spellcheck-whole-siteclean-up-spacing/ hashes in URLs on change selected product http://processwire.com/talk/topic/3496-help-with-url-param-change/ FormBuilder http://processwire.com/talk/topic/2904-how-to-redirect-by-id/ http://processwire.com/talk/topic/2821-3rd-party-send-conditionally/ http://processwire.com/talk/topic/2820-use-session-to-remember-form-selections/ Custom Menus http://processwire.com/talk/topic/2787-custom-menu-not-related-to-page-tree/ other notes: The skyscraper profile provided the example for how to get started with the advanced product search, a.k.a. the speaker finder. The standard search has been extended to show results in different categories. there is some use of Soma's word limiter for the news teaser text, and for making meta descriptions out of body fields, from this topic: http://processwire.com/talk/topic/3429-how-to-set-text-linecharacter-limits-in-templates/ the design is built on twitter bootstrap framework Fredi proved to be totally essential for the client, in being able to rapidly edit things without having to find things in the admin. This site is going to replace an existing site on a different domain (ohmspeakers.com). At some point we weren't sure if/how we would be able to handle the shopping cart element, and then found foxycart, which proved to be the best choice, very flexible, and easy to implement for this type of site. FC is hands down the simplest and easiest way (imho) we could achieve things like the legacy product pages, where there are various parts and upgrades displayed on 1 page. this version is sort of a "v1", and will be expanded/improved a lot for a v2, which would happen in about 4 months.. BTW - these speakers are really good; i now own 3 pairs ... they look great and do sound totally amazing...! -marc
  17. Hi Ryan, very nice solution, and this would be ideal if a client needed to retain original cfm URLs, which i guess could be really important in some scenarios; great to know this can be done. I'll be posting this site tomorrow in the showcase, it's the biggest site i've done yet with PW.
  18. @n0sleeves i ran into this problem about 2 years ago; you have to tell the client that they need a proper server that supports htaccess; and then do a dns entry to get the website domain to point to the site host.... most CMS won't work or at least are a huge headache to get working without the htaccess file...
  19. yeah thumbs down for Drupal & Joomla 6 (2013) Movie saw it last week, in this 5th sequel, Drupal meets Joomla, Drupal loses Joomla, Drupal finds Joomla again, marries Joomla... Drupal & Joomla VII (2014) (sci-fi) Drupal meets Joomla. Drupal loses Joomla. Drupal builds Joomla. Drupal, Wordpress & Joomla (2015) Drupal meets Wordpress. Drupal loses Wordpress. Drupal finds Joomla. Chase takes forty minutes, dialogue six, and gun shots fill in void. Drupal & Processwire (2016) Drupal meets Processwire, they belong to different gangs, war breaks out.
  20. hey thanks horst - i didn't know you could not have slashes on a per template basis; that should solve this, i'll report back tomorrow if i get it all working! ok got it working!... this is the template that the store_item_detail.cfm page is using: <?php if($input->get->item_ID) { $pid = $sanitizer->selectorValue($input->get->item_ID); } $fwd = $pages->get("template=product-legacy, legacy_item_id=$pid")->url; if($fwd) { $session->redirect($fwd); } else { $session->redirect('/default-page/'); }
  21. Hi - I'm finalizing a new ecommerce site, and the old site was around for a really long time, i guess it used coldfusion or something like that. The old URLs look like this: /store_item_detail.cfm?item_ID=20&cart_ID=1027539129526 All of those same products are in the new processwire site, and i imported the item_ID fields, so i have access to those; first i tried creating a new page called store_item_detail.cfm with the idea that i could get the item_ID as a get variable and then redirect to the new page; but since the old system doesn't use trailing slashes, i'm kind of stuck on this one... all i really need to do is get access to that item_ID without PW throwing a 404 and then i can do the redirect... TIA!
  22. Hi Luis - wondering if the PW piwik view could take into account child pages, when there are character delimiters in the page title; for example we have a slash in 3 page titles, and in the piwik, it shows those all as children of the text before the slash; in the PW piwik it only shoes the parent, but doesn't open up to show the children... -marc
  23. Macrura

    Minify

    can you post the code you are pasting in the template? if you are getting a 400 bad request, it's probably because you have a trailing slash on the base path, or the path is no good; you can edit the paths within the module; I am using this on a new 2.3 site and i can confirm it works as expected, and i just needed to edit all of the paths in the module itself and the path in the code that you paste into the template, with the actual paths to where my assets are located; @olliemackjames - same thing, you just need to edit the paths.
  24. and aren't you missing the closing </li>; also not sure why you need the section tag within the <li> item, unless you are outputting the full news article text?
  25. @teppo, many thanks for the reply.... for the spelling ultimately they might have to hire someone to go through and manually spellcheck all of the body fields on the relevant pages; i know there are some database spellcheck tools, but in this case there's not an overwhelming number of pages... i appreciate the code for the space fixing, and i'm going to test it on a few fields..!
×
×
  • Create New...