Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/26/2014 in all areas

  1. If anyone is interested in a (now) free font conversion tool for OS X: http://fontprep.com It works a treat for converting any free TTF or OTF libraries you have.
    6 points
  2. On WNYC I have found an interesting podcast archive called "New Sounds" with very different 'none mainstream' music in it. I came across this when research on my own name , - they use a picture that I have shot: O Berimbau --- all podcasts, Rythms of Minimalism, Piano Grooves, The New Latin Tinge, Acoustic World Music, & more podcasts
    3 points
  3. I've just tested it on a clean install (from the latest dev version) Setting: entity_encoding:named entities:8212,mdash,8221,rdquo,233,eacute in 'Additional TinyMCE Settings' works as expected. It replaces only the defined special characters to it's named entity upon opening and editing a page, including working with the html source modal window. It leaves the rest unbothered, so if i for example enter a '€' it will not convert it to the named equivalent. So you don't need to mess with a 'core' setting in InputfieldTinyMCE.js. Some reasons why things might not work for you: lose the single quotes around the entities setting, i don't think they should be there you've got two named entities following each other, where it should be a repetition of: odd(numeric),even(named) try clearing your browser cache, re-login and see what that does. PS i wouldn't bother with the apply_source_formatting setting; it seems to be removed or at least deprecated ( http://www.tinymce.com/wiki.php/Configuration3x:apply_source_formatting )
    2 points
  4. I've pushed some updates to the CKEditor Inputfield fixing some bugs and updating to the latest version of CKEditor (4.3.2). I recommend upgrading if you are already using a past version. I've also added a couple of detailed tutorials to the README file including: How to make your own custom styles menu How to customize the appearance of the editor While you are upgrading, be sure to grab the latest version of the HTML Purifier module as well.
    2 points
  5. Hello, I've this ticket booking website where people buy tickets for dramas. I'm using default user management system of PW to manage user and user sessions. I've a similar problem like this one : http://processwire.com/talk/topic/4986-session-gets-lost/ I've noticed that many users are getting logged out when they are redirected back to the site after payment. Since I'm using temporary pages stored for each user when they make a purchase, system can not identify the transaction and thus seats remain on hold even when the user has paid for it already. What I wish to know is, is there any way we can prevent users from getting logged out? probably by extending the session timeout? Also, how proper it'd be to maintain cookies of purchases like I could write a cookie of user's ID including the show & seat details. If user is logged out when redirected back, I could use his/her ID to automatically log user in and successfully complete the transaction. Does this idea sound okay to you? Is there anything else I should be considering? Thanks in advance, really appreciate your support.
    1 point
  6. I've been working on this one for a few months and just launched it this morning: http://villasofdistinction.com I also did the previous iteration of this site, 5 or so years ago (which was running ProcessWire 1.0). The new site is powered by ProcessWire 2.4 (2.3 dev). The site is responsive and designed for a good experience on both desktop and mobile. While I did all the development, the site's design/look and feel was created by the client (they have their own internal design agency). Most of the work in this project was actually not anything you can see on the front end. Instead, most of the work went towards back-end management, workflow and web services. The client has a large number of editors and agents that needed various capabilities, workflows, feeds and such. So there's a lot more going on here in terms of a management platform than in the previous iteration... and that's mostly what kept me busy for so those few months. Modules used here: Foundation 4 Profile All In One Minify (AIOM) FieldtypeMapMarker (with MarkupGoogleMap) Pro Cache Form Builder Hanna Code Redirects Selector test Changelog Version Control for Text Fields Batcher Admin Template Columns CKEditor Select Multiple Transfer CollagePlus And a few custom modules
    1 point
  7. Dear SiNNuT, By the way, based on your excellent comment that since ProcessWire stores everything as UTF-8, and the link at StackOverflow that you listed, which then led me to this article (from 2003!): "The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)", by Joel Spolsky http://www.joelonsoftware.com/articles/Unicode.html I educamated myself, and said, "Duh", and realized, as you so correctly pointed out, that I don't need the entities anyway. I just need to make sure I have this line in my templates: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> When I checked, I was already using that line. So, I'm removing my entity declaration from TinyMCE. Sigh. One learns something every day. One hopes. Well... better to do it correctly now, than to continue in ignorance. Addendum: and then one reads an article like this: http://line25.com/articles/10-html-entity-crimes-you-really-shouldnt-commit which says that one should use html entities. Lot's of opinions. But I just checked, and after removing my TinyMCE entity declarations, and purging my cache, and re-logging in, I was able to paste a copyright symbol in the body text, and it displayed correctly -- no entity needed. Thank you again, for your help. Peter
    1 point
  8. Curly qoutes looking garbled has got nothing to do with the fact that it's a raw character or its htmlentity equivalent. I'm not saying that it is very very wrong to store htmlentities in the db but it is just not neccesary, and there are some downsides to it. http://stackoverflow.com/questions/9299152/do-i-need-to-use-html-entities-when-storing-data-in-the-database There's a lot more to read if you google. PS maybe you could mark this thread as solved.
    1 point
  9. Wow. Wow. Wow. I am SO totally grateful to you Ryan (and helpers) who have made it possible to customize and use CKEditor inline mode (or regular mode) with custom style of how content typed into a textarea looks (to me in the Admin as I edit) and also begin to develop and apply custom styles that also allow me to change how content looks on the site to visitors by allowing the editor to apply custom styles. Sorry, I am making this sound more complex than it is. I just stumbled on those two write-ups you did from the links in the Field > Input (the two links noted in your post). This REALLY value-adds the editor side of PW for me, allows me to allow clients to add custom styles to contents and is a GREAT benefit. Thanks!
    1 point
  10. C64 - ZXSpectrum - Amstrad , Atari, BBC. I liked the Zilog Z80A more than the 6502. Does anyone still remember the grundy newbrain ? I loved it ! http://www.pinterest.com/pin/125115695868553811/ Oh man those where the days in the 80's with basic/assembly and cassette tapes. (and house music !!)
    1 point
  11. The password requirement has been retired for at least a couple of months now on the dev branch. https://github.com/ryancramerdesign/ProcessWire/issues/278
    1 point
  12. PRINT "I LOVE MY COMMODORE" You key in this and press RETURN I LOVE MY COMMODORE The computer prints this READY ▋ Admittedly this is a border case for a book-related thread, but I simply couldn't resist after todays comments in the admin theme thread: anyone remember that user manual C64 shipped with? The one that was part how-to guide for using C64.. but mostly an introductory book for Basic programming? Well, for those who do remember (or don't but would like to) it's available as an HTML version from lemon64.com.. and commodore.ca has even more of that same stuff in PDF format. They really don't make manuals like that anymore (probably for a good reason -- just imagine a modern PC or Mac shipping with C/C++/Objective C manual) but that's also one of the few manuals I remember reading from cover to cover more than once.. and actually enjoying it "Before you can use sprites it's important that you understand a few general things about how computers work.."
    1 point
  13. This is not intended behavior. Good call. It's happening because the TemplateFile class is checking if the file it's given exists from the constructor rather than from the render() method. The PageRender module gets a copy of the TemplateFile instance from the Page, and then changes the filename if you've given if one. As a result I think I can solve this just by moving the "file does not exist" exception out of the TemplateFile constructor and to the render() method. I've just made the change, so it should appear in the next batch of commits to dev.
    1 point
  14. Thanks, Ryan! Unfortunately I'm not familiar with traditional web service communications but looks like I have to... Running several instances in one script could be a great addition for entry-level coders who actually like PW and don't know (or don't want to know) how to dig sql dbs. Such functionality significantly reduces a need to know sql as now you can use PW in "external storage" scenarios. E.g. storing any shared catalogs in dedicated PW instances and have the same interface, api, maintainability through PW admin, etc. By the way, I guess that new api variable should be called $wires .
    1 point
  15. I don't think that you could get two instances of ProcessWire running from the same PHP script. Perhaps that's something we should work towards for the future (and we really aren't far from it), but currently the convenience and simplicity of being able to use functions like wire('api var'); among others, takes precedence over true isolation of the ProcessWire instance. While I've not tried it, I'm pretty sure this would prevent you from having more than one PW instance operating from the same PHP script. You would need your multiple PW instances to use more traditional web service communication.
    1 point
  16. Lovely job, Ryan! I was so close to booking a 10+ person venue for an impromptu ProcessWire gathering at Calvigny, but $52K per night just sets off my grunge alarms. Maybe the pools aren't refilled nightly or something, you never know.
    1 point
  17. Nice work - that's pretty much exactly what I was thinking. I am not sure about setting the flags to system and permanent though as the defaults for a function. I think there should at least be a comment on that line that users should adjust to their needs as I don't think this is a typical use case. Glad to see that code of mine is getting some use - I have to say it was quite an effort to figure out and as you said, very un-PW in its complexity. I would love to hear from Ryan as to whether there is an easier way to achieve this. Also, for the sake of putting all the information about creating and working with repeaters from the API in one thread, I think it is worth mentioning the special getNew() method for creating repeater items. It is used in the Page Tree Migrator module and described in detail on this page: http://processwire.com/api/fieldtypes/repeaters/
    1 point
  18. Like I mentioned here before, strange things seem to happen on the last few days. I do think a little more effort could be made to get processwire some more votes. it is a couple of months now since i asked Bitnami to register processwire for the contest and started the ball rolling back in November. http://processwire.com/talk/topic/5043-vote-for-processwire-on-bitnami/?hl=bitnami Such was my excitement at discovering processwire. I have felt since then that the push to win this is a bit lacklustre. Let's rally in the troops and win this.
    1 point
  19. Thanks! I've been lurking in the shadows for awhile now and working on my first big project. I'm loving it more and more. That worked like a charm. When I'm done with this project, I'm going through each line of code to see if I can become fluent. I'm like a kid in a candy store with this CMS.
    1 point
  20. Thanks, yes the forum is full of useful but scattered posts and when I have the time I try to sort them out. Next step could be to put everything in a database with a nice front end.
    1 point
  21. Very, very smart. This is the kind of site that should be used as a long case study (small ebook, to be honest) going through details such as why dedicated work-flows are so important (and how to define them) the importance of rigidly defining the brief, the necessity of being able to recreate ideal workflows in the back-office for the editorial/site management reasons, the creation of an editorial hierarchy and managing it the level of expertise required to attack such a project the importance of a consistent and understandable API to have a chance of a) creating the site and b) modifying and developing the site over a sustainable period why developing such a site within a rigid structure such as Joomla or Wordpress would undermine most of the above, underlining the importance of being able to create a dedicated application And the finally, why ProcessWire made all the above not only possible, but delivers a fast, effective, enterprise class solution. So, a big PW advert, basically. ProcessWire needs such a write up.
    1 point
  22. Hi Eltom, I am not really sure why this worked for you before - maybe I am misunderstanding exactly what is happening. Sessions last until the browser is closed or the user leaves the site (ie a redirect back from Paypal). You'll need to use cookies or you could save the data in PW pages. I haven't ever used PayPal, but I assume they return some transaction number along with some identifier that you also sent them initially, which can be used to identify the purchase. Take a look at these links: http://cheatsheet.processwire.com/input/properties-and-methods/input-cookie/ http://davidwalsh.name/php-cookies http://www.thesitewizard.com/php/set-cookies.shtml You can also set and get cookies with javascript/jquery. This is a great little jquery plugin for making this simple as possible: https://github.com/carhartl/jquery-cookie Hope that helps.
    1 point
  23. Nope, it is enough to set it on home-template, it will be inherited from there (unless you restrict it on some other template).
    1 point
  24. just a thought about install routine: what about a select option for the date/timezone? In the moment you have to change it manually in the /site/config.php
    1 point
×
×
  • Create New...