Jump to content

BFD Calendar

Members
  • Posts

    420
  • Joined

  • Last visited

Everything posted by BFD Calendar

  1. @ cstevensjr, yes I checked that post and searched the forums but found nothing really helpful for Mac localhost. @FrancisChung, will do that tomorrow and maybe post when there's anything remarkable to be found. Thanks.
  2. Since a few days without any system changes, updates or whatever Processwire is running very slow on my localhost:8888, it takes almost a minute for any page to load, including admin pages. I'm using MampPro on Mac OSX 10.10. Other (html) sites run fine and I'm just working on one PW site. Anybody has any idea where to look?
  3. sforsman, thanks but that didn't solve the problem. Tried with different browsers from different locations on different computers... I have other sites with same provider and same config.php setup and no problem there. It remains a mystery to me. echo ini_get('session.cookie_lifetime'); says 86400
  4. Worked like a charm with ready.php
  5. Great to learn something new and very useful again. School is on Monday so I'll try it then. Thanks!
  6. The Great Ryan solved the problem in PW dev 2.6.18. Hurray!
  7. I'm importing students names for a school website, so only the 'students' template needs to be active in all languages. I can find that in the script but my next question is where I can find the page-creation API script to add the code.
  8. When importing pages from a csv file with ImportPagesCSV they are only active in the default language. Is it possible to make them active all at once in all languages, on import or afterwards? I tried ProcessBatcher but it doesn't support this. Maybe someone has another solution...
  9. And after another upgrade to PW dev 2.6.17 the problem still persists. Very annoying.
  10. The $config->sessionExpireSeconds in config.php is set to 86400 but still I have to log in as admin after about 10 minutes of inactivity. Any other hidden corners where I should look to set this right? $config->sessionChallenge is set to true. $config->sessionFingerprint is set to false.
  11. Bernard, don't be sorry, suggestions are always welcomed. But I prefer simple solutions instead of making things more complex than they should be.
  12. @BernhardB - Why would I need another module to do something which is just a basic feature of Processwire? My initial choice to use Processwire was because it's a simple easy to understand manage and use CMS. Including for people like me who aren't PHP wisecracks. As I said before, Processwire is to me a bit like an old Landrover, you can repair (almost) anything with metal wire, silicone and Rock'n'Roll tape. Just a regular lick of grease and gear oil should keep the machine spinning. @Macrura - Thanks I'll report it there.
  13. Refreshed modules several times, from different browsers. No errors in the console. When I type or paste a new entry in the field the >> turns into a sad emoticon and then text entry disappears as soon as I click anywhere or save. Checked in Firefox and Safari.
  14. I have same type of page fields on other pages, they don't work either. On my 'places' page I have one for city input PageAutocomplete, one for state input PageAutocomplete and one four country input AsmSelect. Both PageAutocomplete don't add new pages while AsmSelect does. Uhm, where do I put on console again?
  15. Since upgrading from 2.6.1 dev to 2.6.13 I can't create new pages anymore from a page field. Details Single Page or empty page, input PageAutocomplete and advanced *= and 'Allow new pages' checked. I can type and see the list of pages appear, but when I type in a new name it just disappears when hitting return of clicking outside the field. It worked fine before upgrading.
  16. On one site I still don't get all the modules listed. Is there a way to refresh the list? Logging out didn't do anything.
  17. Yep, 'images' instead of 'image' was the culprit. Thanks!
  18. I just used your code. The name of the image field on the slide template is 'images'. When I show the slide pages in a list the images show up. The images are all 1000px wide but a different height (733, 725, 762,...). <?php $cf = wire('modules')->get('MarkupCrossfade'); $settings = array( 'pages' => wire('pages')->get("template=slides")->children(), 'title_xforms' => "scale(1.0) translateY(300px)\nscale(1.0)\nscale(1.0)\ntranslateY(300px)", ); ?> <html lang="en"> <head> <meta charset="utf-8"> <title>Slideshow</title> <style> @font-face { font-family: 'BebasNeueRegular'; src: url('<?php echo wire('config')->urls->assets; ?>fonts/BebasNeue-Regular.eot'); src: url('<?php echo wire('config')->urls->assets; ?>fonts/BebasNeue-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } body { background-color: #333; overflow-x: hidden; padding: 0; border: 0; margin: 0; } <?php echo $cf->renderCss($settings); ?> .markup-crossfade li div h3 { font-family: 'BebasNeue Regular', 'Arial Narrow', Arial, sans-serif; font-size: 36px; letter-spacing: 2px; } </style> </head> <body> <?php echo $cf->renderHtml($settings); ?> </body> </html> I would also use the slideshow on different pages with different images for an artist website. Like the films page could have a slideshow of film stills and the drawings page could have a slideshow of drawings and so on. But now I'm just testing what's possible on my local server.
  19. netcarver, Error I get is: "Notice: Trying to get property of non-object in /site/modules/MarkupCrossfade/MarkupCrossfade.module on line 93".
  20. I'm getting no images in Firefox Developer nor Chrome on a Mac. Text animations work fine.
  21. I have a list of pages with quotes. The quote is in the headline of the page, other stuff like author etc goes into other fields. On the home page the code is $randomtxt = $pages->find('parent=/resources/quotes/, headline!="", sort=random')->getRandom(1); echo "<br><br><center><b>{$randomtxt->headline}</b></center>"; http://www.performan.org - text under video. Before that I used an old script 'GetRandomText' that just grabs text from a text file with all your quotes. http://www.clubmoral.com/ddv - text at top of page. here the image also changes randomly.
×
×
  • Create New...