Jump to content

Luis

Members
  • Posts

    295
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Luis

  1. Well, I didn´t used DropBox so far, thus no idea about the differences. Maybe the best would be to compare the product features of both services.
  2. Hi Matthew, i´m sorry, but i´m actually not seeking more beta testers. Almost 80% of the core developement has been completed. I´m now in huddle-together-mode and will create a new preview Video by next week. Please take note that this is a commercial project of mine. But I will write a detailed Case-Study after release of v1.0.
  3. I´m using Cubby. https://www.cubby.com/ If you choose the Pro Version, your devices syncing via LAN. Another option is your own cloud. http://owncloud.org/
  4. Celebrating at Berlin with ~ 1.000.000 crazy people and Jonas Myrin http://t.co/xXWeimcG

  5. I write a casestudy when finished.
  6. Sounds a bit like "if then" logic in the backend view. Correct me if I misunderstood.
  7. Have you tried this ? http://www.fyneworks.com/jquery/star-rating/
  8. Well, 90% of what i´m doing on the Mini is coding. For this workload the mini is just fine, i´m developing in Aptana Studio and in the background there running instances of Opera Browser, Mamp, Inet Radio and Mail. If I need to do some gfx I open Adobe Fireworks, at this point I notice the little Memory, so if I upgrade the memory to 8gb, I think everything would work perfect, but there is no need for me.
  9. I'm using the 2012 MacMini in the Office with an 27" Monitor. i5 with 4gb of RAM. If u choose the Mini, upgrade the RAM. Adobe suite is a bit slow on mine. But all in all i'm feeling contended with the Mini.
  10. good work Nico. I just tweaked the breacrumb for myself, I use the breadcrumb really often and so I moved it to the top. For those interested. Open the main.css in /templates-admin/styles Search #main add: margin-top:32px; Search nav add: margin-top:32px; Search #breadcrumb change: bottom:0px to top:0px;
  11. Hi Folks, today we will learn how to set up a simple jquery plugin called calendario and fill events trough our admin backend. || ATTENTION || Modern Browser needed First of all, we need the jquery plugin. Grab your copy here: http://tympanus.net/...alendar-plugin/ Now create a new template file, lets call the file calendar.php In the next step we have to include all the needed files from the .zip package. You need the following .css files: calendar.css custom_2.css demo.css Just include them in the <head> </head> of your template file. Feel free to merge them together, so you could save some http connects. Now we need to include the needed javascript. Make sure you have included the latest jQuery library. Include the jquery.calendario.js and the modernizr.custom.63321.js right into the bottom of your template file. Save the calendar.php Now we will set up Processwire where the magic wil happen. We just need one new template. Create a new template called calendar. Assign the field headline to our template. Allow children to just use this template. Hit the save button. Now create a new Page as child of home and call it Calendar. Assign our calendar template to this page. Almost ready. Now we have to do some little scripting in our template file calendar.php Add this html markup to our calendar.php <div class="custom-calendar-wrap"> <div id="custom-inner" class="custom-inner"> <div class="custom-header clearfix"> <nav> <span id="custom-prev" class="custom-prev"></span> <span id="custom-next" class="custom-next"></span> </nav> <h2 id="custom-month" class="custom-month"></h2> <h3 id="custom-year" class="custom-year"></h3> </div> <div id="calendar" class="fc-calendar-container"></div> </div> </div> Now we have to call the javascript function, to get the calendar running. Just put this snippet right under the included jquery.calendario.js <script type="text/javascript" $(function() { var transEndEventNames = { 'WebkitTransition' : 'webkitTransitionend', 'MozTransition' : 'transitionend', 'OTransition' : 'oTransitionend', 'msTransition' : 'MSTransitionend', 'transition' : 'transitionend' }, transEndEventName = transEndEventNames[ Modernizr.prefixed( 'transition' ) ], $wrapper = $( '#custom-inner' ), $calendar = $( '#calendar' ), cal = $calendar.calendario( { onDayClick : function( $el, $contentEl, dateProperties ) { if( $contentEl.length > 0 ) { showEvents( $contentEl, dateProperties ); } }, caldata : { <?= getEvents(); ?> // this is our function to grab our events }, displayWeekAbbr : false } ), $month = $( '#custom-month' ).html( cal.getMonthName() ), $year = $( '#custom-year' ).html( cal.getYear() ); $( '#custom-next' ).on( 'click', function() { cal.gotoNextMonth( updateMonthYear ); } ); $( '#custom-today' ).on( 'click', function() { cal.gotoNow( updateMonthYear ); } ); $( '#custom-prev' ).on( 'click', function() { cal.gotoPreviousMonth( updateMonthYear ); } ); function updateMonthYear() { $month.html( cal.getMonthName() ); $year.html( cal.getYear() ); } // just an example.. function showEvents( $contentEl, dateProperties ) { hideEvents(); var $events = $( '<div id="custom-content-reveal" class="custom-content-reveal"><h4>Termine am ' + dateProperties.day + '. ' + dateProperties.monthname + ' ' + dateProperties.year + '</h4></div>' ), $close = $( '<span class="custom-content-close"></span>' ).on( 'click', hideEvents ); $events.append( $contentEl.html() , $close ).insertAfter( $wrapper ); setTimeout( function() { $events.css( 'top', '0%' ); }, 25 ); } function hideEvents() { var $events = $( '#custom-content-reveal' ); if( $events.length > 0 ) { $events.css( 'top', '100%' ); Modernizr.csstransitions ? $events.on( transEndEventName, function() { $( this ).remove(); } ) : $events.remove(); } } }); </script> We are almost finished, but we are missing some very essential, have a look to our javascript. We are calling a function named getEvents() This function will grab our events and fire it right to our calendar. So here is the code: function getEvents() { $events = wire('pages')->get("/calendar/")->children(); foreach ($events as $event) { echo "'$event->title' : '<span>$event->headline</span> ',"; } } Put this snippet above the javascript includes. We will now create our first entry. Go back to the PW admin backend and create a Child of Calendar. Title and name need the Date on which the event has to be displayed. You have to form a date in this format: mm-dd-yyyy e.g. 12-27-2012. The headline field is our Event description. Hit the save button, go to your site and enjoy your event calendar. With a little coding you could extend the calendar to let it look like mine attached as screenshot. Hope this was useful to somebody. Cheerio.
  12. Luis

    ProcessWire on the web

    Ryan... since you talked about Pu, I see the Pu, too. Its like looking into clouds, you never see the Sheep hunting Lion until somebody told you how to look. Not Good, Pu everywhere
  13. I wish everyone some nice days and would thank this great community for all the efforts. For the non-krauts Guten Rutsch ins neue Jahr = have a Good Start in the New Year.
  14. Luis

    Hi Everyone

    Welcome aboard, For your safety, please take a moment to listen to this important message about safety on board. In preparation for departure, fasten your seat belt by placing the metal fitting into the buckle. For your comfort and safety, adjust the strap so it fits low and tight around your hips. To release your seat belt just lift the face plate of the buckle. As you know, turbulence is sometimes unexpected so we advise you to take a look at Somas Cheatsheet, you will find a copy under your seat (http://processwire.com/api/cheatsheet/) On behalf of all of us, we wish you a very pleasant flight. Thank you, for choosing ProcessWire.
  15. yes right, never thaugt about images via tinyMCE
  16. Sowas nennt man work Life Balance im büro http://t.co/gsauD5Sj

  17. By default Processwire doesn´t generate any markup. Could you please provide us more information about your site setup? Do you use any site profile oder module?
  18. $me vs. PDF Anstoß zur 3. Halbzeit

  19. Ich hasse dynamische PDF Generierung aus einer Datenbank! $me = enrage;

  20. Kaffeemaschine zerlegt, gereinigt, works! Karma +1

  21. Luis

    ProcessWire on the web

    Looks like the London Underground.
  22. could you please provide a code sample, so we could take a look. thank you.
  23. New Preview: Office Management Suite made with #Processwire: http://t.co/DwfZ8Q8q

×
×
  • Create New...