Jump to content

Macrura

PW-Moderators
  • Posts

    2,776
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by Macrura

  1. many many thanks to all who took a look at this! @pwired - thanks for pointing that out; yes, probably risky to set a 300 weight on a google font, i guess the fallback font didn't like it... I had checked this on a lot of machines/browsers, but i didn't see the issue you encountered... @Pete - thanks so much for looking at the site and finding that error...do you happen to remember where? i tried looking for it but i can't find that error...
  2. new site just launched... http://www.charleswuorinen.com/ major modules that were essential: admin template columns AIOM+ colorpicker (for custom page background colors) Font Awesome Page Label Form Builder ProCache jQuery DataTables Modules Manager Changelog Get Video Thumbs Field Change Notifier Hanna Code Redirects Template Notes Version Control Some custom modules for auto page titles, and custom page for managing works Front end Bootstrap Masonry/Isotope Flexslider dataTables Magnific Popup Soundmanager2 Fresco lighbox html5 video (using jackbox) extensively used Hanna codes to output lists of links, PDFs in various places; hanna code is also outputting the music players, scrolling flexslider galleries etc; the compositions list is using dataTables, and shows extra info in a magnific lightbox, which loads from ajax... once again, a site that really could not have been realized without PW!
  3. well they already have a logo, all the images; i can't see this taking more than 50-60 hrs if i did it with PW+Foxy
  4. How about this question: If you had to build a ecommerce website today from scratch for a budget of about $4,000 USD, what to use? (ex. Processwire+ FC, Shopify, Magento, BigCommerce etc. or any solution mentioned here..._
  5. 1.) well the whole point of doing this in processwire would be that you wouldn't need an integrated music player; you would use whatever music player you want. I prefer soundmanager2. You would then have the ability to use PW's drag and drop uploader for files; 2.) selling digital assets is quite easy these days, there are many services out there, like fetchapp which for example can integrate with FC (http://www.foxycart.com/features/integrations/fetch ) 3.) if you built it with PW, the system wouldn't need to integrate, it would already be integrated (? right) 4.) to maintain statistics would simply require reading the foxycart's XML feed and then creating or updating records within PW; a very easy thing to do; Having said all that, and being quite sure you could build a very good music download store with PW at a fraction of what it would cost to write from scratch, i have not yet used foxycart and fetchapp for a downloads store yet; I have built 1 shop for physical goods and one for class registrations, both with Foxycart. The only thing stopping me from building a music downloads store with PW is the lack of funding from the labels i work with, and the fact that they both already have shops running on Joomla/Maian Media, which works well enough and doesn't cost anything in terms of monthly fees (whereas FC has not only a monthly fee, but you also need to have a merchant account for credit cards); the next thing to consider would be to write a PayPal integration for for Apeisa's shop module, and somehow link into fetchapp, and thereby bypass foxycart and CC processing...
  6. works really well, thanks!
  7. last i checked this was still working: <?php $id = $video->youtube_video_id; // this needs to be the ID $content = file_get_contents("http://youtube.com/get_video_info?video_id=".$id); parse_str($content, $ytarr); echo stripslashes($ytarr['title']); // title of video
  8. yes! the image description would work really well, i can't think of any better way;
  9. Hey adrian - quick question - what about supporting getting the video title? I used to have clients put in the youtube ID and then i could get the thumbnail and the video title from yt api at runtime, but now i'm using your module since i prefer storing the poster image locally; but now i can't get the title of the video unless i somehow regex out the video id from the URL.. tia!
  10. your code is kind of messed up, you can't set the variable when you're making the days array, that array has no relation to the later array $days = array(); // array for dates $events = $pages->find("template=repeater_time_loc, check_access=0"); //get all the repeaters with event information foreach ($events as $event) { $days[] = $event->getUnformatted("date"); // put event date into the array } $day = array_unique($days); // eliminate duplicate dates asort($day); foreach($day as $key => $d) { // list all the dates $today_events = $events->find("date=$d"); // find the array of events for this date and put into new array $today_events $dat = date('l, d. M Y', $d); echo "<h3>($key) = $dat</h3>"; foreach ($today_events as $doday_ev) { echo "<p><a href='{$doday_ev->getForPage()->url}'>{$doday_ev->getForPage()->title}, {$today_ev->time} Uhr</a></p>"; } }
  11. sure, and you are better off anyway having the performers as pages as onjegolders suggested, but since repeaters are also a type of page, it's also good to know how to work with them as such, because sometimes you do need to build things that way, when for example a repeater object is going to be permanently attached to a page, there's no reason to have it be separate;
  12. i think there are some unnecessary steps here, you could just do this: $mw = $pages->find("template=repeater_mitwirkend, check_access=0"); http://cheatsheet.processwire.com/selectors/built-in-page-selector-properties/check_access-0/ then you have all the performers; to get the page you use: $event = $mw->getForPage(); https://processwire.com/talk/topic/958-repeatable-fields/page-12
  13. did you enable access for that role on the home template and the admin template? i think user access has to cascade from the home
  14. you can have your own custom js for any form, so you could duplicate a formbuilder theme, then add all your custom JS.. here's an example of a formbuilder form using some custom js: http://www.pinw.org/inquiry-form/
  15. i was wondering this same thing a few days ago, have a template where the title field is changed on page save, so don't want it editable, but needs to be visible...
  16. enable tags on image field.. use tag 'featured' $images = $page->images->findTag('featured'); or get first an array of all images from the template gallery or whatever then run your findTag on that array
  17. Hi steve, is there any chance that something changed on this new version that would truncate the field in the email if it has line breaks? I have this new version installed on a site but it is only showing the 1st line of the field, whereas the other site is using the old version and shows the complete field; they are on different hosts, so there could be something with that;
  18. just wondering if this should be added as a bug report for inputfield.js - is there a way to sanitize those special characters, i usually have to manually sanitize my files before trying to upload.. but for users who don't know about this they could get stuck trying to upload and having it fail because of the filename TypeError: Cannot convert string to ByteString because the character at index 5 has value 769 which is greater than 255. InputfieldFile.js:247
  19. that works perfectly.. i was able to have the page title in the email as well as create direct links to the page editor... Many thanks!
  20. well you're not making it clear what you want your selector to be and you are probably making it too complicated. you should check the way the search processor i posted is setup, in that code each discreet element in the selector is added after checking to see if there exists the get variable.
  21. hi steve, thanks - that would be awesome..
  22. if you need some more examples,i posted 2 gists from a site i made: https://gist.github.com/outflux3/5690429 https://gist.github.com/outflux3/5690423 these should be pretty obvious and provide enough different examples to get you going with setting up the search form, search processor, and search results;
  23. @netcarver - thank you for this module, I'm finding it really useful for several sites! One question is how can i modify the sent message to also include info about the page where the field was changed, as well as maybe a link directly to the admin edit for that page. TIA
  24. the search form in the default profile should cover the basics, and can easily be extended and modified
×
×
  • Create New...