Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Macrura

  1. Hi Luis, I've almost got this working, the main issue now is that the code seems to loop, and also i was getting an error because of the unmatched brace on the } "// end !logged in" line... maybe that's why this is not working? so after you click the login button, you keep getting back to the login page, i guess because since it is all on the same template? I tried an alternate idea of having only the login code on the template and then including the markup code for the page, contingent on being logged in, which works; but i'm not sure this is necessary - and with this method i can't figure out how to throw the wrong password error... thanks again for your advice and the code! -marc
  2. Hi Matthew - thanks - yes i have a policy where i will only do sites where someone associated is a Sopranos double; And you're right about those little grey boxes, the font is a bit small...I'll have to mention that to the client.. Oh - and to follow up about Joomla expats...easy way to identify us, we all look quite relieved.
  3. Thanks Luis, I really appreciate your post - this looks like a very simple/elegant way to do this - i'll report back as soon as i have a chance to integrate this. -marc
  4. It would be 1 password to access the album, everyone with the password would be able to access it; this will be on a non search indexed subdomain of their main site, the links only given to the various press/reviewers. after the promo period, they would unpublish the page, and we would use the redirects module to send incoming requests to a contact page;
  5. I have a client who is a record label and they need to have some pages for promoting albums, where there can be a password they give to a reviewer, so the reviewer can go to the URL, type in the password, and be able to view the content (which will be streaming audio and downloads of the album in question). i have found some simple ways online to do this with PHp, but i'm wondering if there is a better/simple way to interact with PW session to achieve this. The client doesn't want to have to add roles/users or deal with permissions...they just want to have an input field where they can put in the password for that album... TIA, Marc
  6. thanks all for taking a look at this. As i said, this was the first PW site done for a client, and despite the learning curve, it all went relatively fast, and what was especially important was how i was easily able to respond immediately to any request the client had; is seemed that the answers to virtually all of my questions were already in the forum, and when i couldn't find a way to do something, the forum came up with solutions. The site has been live for over 3 months, and none of the content has gotten messed up..(thanks to PW fields, and limited use of WYSIWYG..!) Which is very refreshing, after coming from the world of mostly Joomla, where all of my clients seem to go especially wild with fonts, bold, italic, spacing, font size, (and makes it look AWFUL!) and then i have to periodically go in and do spring cleaning for spans... Also - I haven't had to provide any training, tutorials, or support for this site since the site went live, which also illustrates how easy, and user-proof PW is. As far as why no women composers...ha... that's an interesting question, and i'll have to ask Howard about that next time i speak with him.. but it is a statistical reality in contemporary music that men outnumber women... and I once heard a conjecture from my freshman music history professor, who said that males are more driven to compose because they can't biologically propagate the species...
  7. Hey thanks Joss- i'm also a musician (performer/composer) masquerading as a web developer.... since you're a composer, you might like this, which is running on PW: -marc
  8. Thanks all for checking it out and the likes. this site is using formbuilder, as well as solutions from these forum threads: though currently the homepage pop up is disabled... the forum has been an essential resource! -marc
  9. Hi, Here is another processwire powered site, completed recently. http://www.kapelis.com/ the way this is setup would not have been possible without processwire, which has made it easy and accessible for the client to update all aspects of the site without having to code or use a wysiwyg... -marc
  10. @soma - advice taken ! thanks -marc
  11. thanks netcarver & diogo - it's working and so simple to implement with PW. this is what i ended up with: <?php if(!$session->noPop){ include("./popup.inc"); $session->noPop = 1; } ?> -marc
  12. Hi diogo - thanks for the code - i tried it but couldn't get it to work, though i think i understand what this is doing; what if a visitor lands on an inside page, but then clicks to the homepage; i think i need to setup a session variable when the visitor lands on the homepage, which can be compared when they come back a 2nd time...? -marc
  13. I have a client who wants to have a modal pop up box (i'm using the Zurb 'Reveal' jquery plugin for it) on their homepage, but they only want it to appear once per visit, so if the user clicks back to the homepage, they don't get the pop up again. Just wondering if anyone has any idea how to do this with php/processwire, or should i be using jquery cookies? Thanks, Marc
  14. Hey diogo - thank you for checking out the site, and for pointing me to the responsive images solution; i'll see if i can donate some more time to this and integrate that;
  15. @teppo - thanks for checking it out; I'm going to do some optimization; i just enabled gzip in the htaccess; (i was avoiding doing too much work since it's sort of a donation project) but i think i'll probably also setup minify on the scripts and css; for the images, they are huge; i'll have to see if i can reduce the size, maybe downgrade the jpeg quality and save some bandwidth... @WillyC - yes, i guess you have to go to the class to see more...and this it hot yoga, so the room is really hot/humid...you sweat a gallon.
  16. @Nico - this is using Ecwid, which is a great ecommerce plugin; http://www.ecwid.com you setup all the products over on the ecwid account (this site is using the free plan), then you can get the add to cart code and paste it in; but since it is easy to get custom output in PW, i just have the users enter the product id # into the PW page and then the necessary code to display each button is automatically output in a foreach... <form><script type="text/javascript">xAddToBag('productid=<?php echo $product_id ?>');</script></form> @arjen- thanks for checking it out - it's nice to use the PW logo instead of just a text link, since IMHO it is the hippest CMS logo out there;
  17. New site made with PW: http://yogacentergreenwich.com/ [edit - should have provided some details...] - formbuilder for contact form - image gallery pagination code from here - pw logo from here - ecwid for shopping cart - campaign monitor for the newsletter -marc
  18. Thanks Ryan for your input on this and for the offer of the code. I'm still considering alternative options for this, and it's sort of low-budget and then need it soon, so i may end up having to go with a prebuilt system; I'll get in touch if/when that option looks necessary.... -marc
  19. Thanks a lot Tom! I did look at that post, so thanks for reminding me about that; I guess i'm just going to go for it with PW; the client want's something uber-simple and minimal; the users of this system will be mostly 65+ and i'm wary of doing it with one of the big three, since it's always so hard to hit the target exactly with those pre-built components/plugins... I'll see how far i can get and post back here. -marc
  20. I'm trying to determine if i can build a site for a client using PW; this client has requested a site for a homeowner's association; - members only site - front-end user login (about 70 users) - when users login they will be able to -view a list of announcements, and a list of events - submit an event (planning to use the formbuilder, post to 'events' page) - submit an announcement (formbuilder -> page) after reading many posts on the forum, it seems that this can be done without a tremendous amount of code (also thanks to the formbuilder); the area i'm not sure about is having users be able to edit a submission, or their own user data; so if they submit an event or announcement, how to have them be able to edit it, on the front-end once they are logged in, and also how to enable them to have access to their user data (i.e. to change username, password or other fields); TIA, marc
  21. i agree to would move everything into a subdomain, or at the very least block robots with a robots.txt file, while you are working on fixing those things; and also in future it is a good habit as arjen says to first test the site in a subdomain when migrating from a local version to a live server...
  22. no, i think you should stick with what you have, my first comment was more of a general recommendation for future reference.. I just think you have some things messed up in your template files, i could even see it viewing the source; i don't think uploading your local install files will necessarily fix this; really you need to look at the firefox web console and see the very many redirects coming from soundcloud, and 404 file not found errors; that should give you some clues of where to start fixing; at this point i would just go forward and finish developing the site on the server.
  23. Couple of things - 1.) I always just upload the whole site from my local install, install the DB, change the mySQL info in the site/config, and it always works great; this would mean you could avoid having to run the exporter, and then the PW installer...might save some steps; 2.) You site has some big issues; I would suggest to install the firefox web developer tools and look at the console; most of the problems you are having are related to soundcloud and a calendar script, but once you see the console output you'll know, because there are a LOT of errors, like these: [17:55:57.800] ReferenceError: Validator is not defined @ http://www.fem-k.com/_php/_php/_php/_php/calendar/calendar_form.php?objname=date3&selected_day=0&selected_month=0&selected_year=0&year_start=2012&year_end=2022&dp=1&da1=1346299200&da2=1661918400&sna=1&aut=&frm=&tar=&inp=&fmt=j%20F%20Y&dis=&pr1=&pr2=&prv=&pth=../_php/calendar/&spd=[[],[],[]]&spt=0&och=&str=0&rtl=&wks=∫=1&hid=1&hdt=1000:274 [17:55:58.945] GET http://www.fem-k.com/_php/_php/_php/_php/_php/calendar/images/iconCalendar.png [HTTP/1.1 404 Not Found 1068ms]
  24. I'm also interested in automated backups; i found this on Codecanyon and will probably purchase/try it for use with some PW sites.. http://codecanyon.ne...or=stormbreaker Update: I have purchased this and installed it; it works very well; I was able to backup my processwire site and database with 1 click, and then setup a cron job to back it up once a week; the script saves your settings in a json file (so no database); I'm having it save the archives to a remote ftp, but it also supports local and dropbox backups. Update 2: I just took a look at stillmovingdesign's suggestion, and the cpanel backup looks great...i like that the files are not stored in the web root;
  25. OK - right, this is in fact the select module by Hani, (got so used to installing that,forgot it was a separate module..); But i can confirm that the option/value feature of this module doesn't work for me, or if it does, the code might need to be updated to allow for changes to the list after the initial setup; It works fine if you don't have the option/value pair; I guess i'm going to start using apeisa's suggestion, since it will enable the end users to add options without having to go in and edit a field; I usually have a hidden 'settings' page with the global site settings, so i have seen it suggested elsewhere in the forum to setup a child page within that settings page, and below that define dropdown options; so in my case i would have a child page of settings called 'language choices' and then each of those could contain the option/value pair... -marc
  • Create New...