Jump to content

Macrura

PW-Moderators
  • Posts

    2,756
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by Macrura

  1. 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
  2. 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)
  3. 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
  4. 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.
  5. @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...
  6. 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.
  7. 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/'); }
  8. 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!
  9. 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
  10. 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.
  11. 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?
  12. @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..!
  13. Hi, I was wondering if anyone has come up with a way to use the api to scan through say the body fields sitewide, and check for spelling errors, and correct, or make a report of the errors... trying to launch a site where much content was ported from an older site with a mass of spelling errors/typos. also on this same site the original editors typed everything using 2 spaces after every period. I'm wondering if there is some easy way using the api to run a preg replace or trim to make those double spaces into single spaces. -marc
  14. ditto, beers are owed. this is such a great idea and comes in and solves something that i was planning on doing with a module, once i got my head around that, which could have been a while from now.
  15. many many congratulations to Ryan and family!
  16. @diogo - i'm trying to use only 1 page per product; the variants of the product are basically size, so if we show all 5 size variants on the page, it's easier to make a comparison... just re-read your post, i was originally doing it with the get variable and having the server render the page based on that, but then i decided that was bad since i want to pro-cache the site, so i switched it to clientside, using js; but now i realize i also should have changed this to use a hash instead of the querystring; @soma - thanks - you also made me realize that i don't need to do this with a ?part=### querystring; i could just use a hash instead, like /#0001 ; i'm going to recode the links from the product search and the js to do the classes and then see if i can use the hash change... update - this has all been sorted... thanks soma & diogo; working well now, i'll post site url soon in showcase.
  17. Hi, I'm trying to finish a new PW site, and there's one last thing i'm trying to achieve; with this site, there are products where the product variants are child pages of the 'master product'; when a search returns a product variant, it has a querystring at the end that has the part #, like ?part=0001 the link takes them to the (master) product page, with that variant's specs highlighted (clientside using js), and an accordion open with the add to cart button for that variant. I'm trying to get it so that if the user clicks on a different variant (on the accordion), the querystring changes (to like ?part=0002) to reflect the newly chosen variant, (and then the js to highlight the specs also triggers). I've read 10 -20 solutions on stack exchange, and tried some jquery plugins, but i can't seem to figure this out... seems there should be an easy way to do it.. I looked at BBQ, which is probably what i need to use, but haven't quite got a solution yet... thought i'd run it by some of you fine folks here... TIA
  18. right, i'll just use it as is for now, since it is serving a purpose...on V2 of this site in 6 months i'll revisit and use the newer version, and also improve the page itself...
  19. @diogo - i'm using the 1st version, because i'm using 2.3 stable for this site; it's not live yet, but this will be a great thing to use, if you think it's ok for a live site; I wasn't planning on using the dev for this site as it is going live soon...guess i should stick with the 1st version for now..?
  20. @diogo - this is working great.... in 20 minutes i made a product listing page for a client that displays a sortable, filterable table of all of their products, so they can find things without using the page tree... -marc
  21. maybe regex when you run the search/replace with api.. i'm no regex guru, but i did find this...maybe a start /<script.*>.*<script src='.+gaAddons.js' type='.+'><\/script>/s or maybe html dom parser http://simplehtmldom.sourceforge.net/ also - not sure how many pages there are, but in some cases i have used phpMyAdmin with inline mode and it's pretty fast to get through a lot of content
  22. thanks kongondo... must have somehow missed that; this is actually perfect – the %= works great, and this is a small site. Speed is fine with this...
  23. @onjegolders - cheers & many thanks for pointing me in the right direction... good to know, i'll pursue this through my server settings...
  24. Hi, I'm using more or less the same search code as in the default profile, however when searching on words or combinations of words using 3 letters or less, there are no search results returned. The site in question is a company who's name is 3 letters, and there are a lot of products that are between 1-3 characters. I'm guessing this is something to do with the whitelist, or sanitizer? I'd like to be able to adjust the settings somewhere to allow for 3 letter words to be returned on a search. TIA
  25. Right...as diogo says, i mean wiring it by connecting the the design to the content...
×
×
  • Create New...