Jump to content

Peter Knight

Members
  • Posts

    1,476
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Peter Knight

  1. Soma has a Module called Page List Image Label. Would that work? You could also try the ListerPro module (paid but very reasonably priced) where you can create a custom view of lists of pages arranged by columns. One of those columns could be an image associated with a page. Next column could be the title.
  2. Do you mean that in the Admin you want a thumbnail beside the title?
  3. Did some further reading. Google have confirmed they are working on a global solution. Launch TBD
  4. I've been reading up on Referral spam in Google Analytics and wondered what others were doing to counter it. It's such a new problem that Google themselves have so far failed to deal with it effectively leaving us web developers to figure out solutions. Some of the guys on the forums are using .htaccess tweaks to block the domains in question etc. What (if anything) are you doing? I saw a WordPress plugin which I think is a good idea. It pulls in a central repository of known referral spammers and blocks them. Might be a good idea for a PW Module?
  5. @Horst - thats what I thought too. Hopefully Ryan can clarify.
  6. Skitch. It's great for taking quick screengrabs and then saving them to a dashboard of all your screenies.
  7. There's a relatively new Config module which enables setting basic config options directly in the admin. Was wondering if you could clear up some points as I'm a bit confused regarding the process and which files take precedence. Q1: Risk of wire/config being overwritten If we want to add a custom Configuration property under the Core tab, we are supposed to edit wire/config.php. For example, I made a new test property in wire/config.php. Refreshing the Config module successfully displays my custom property. Yet on the official docs it states that wire/config.php should not be edited as it'll be overwritten. Q2: Precedence or inheritance of site Vs wire config So, should custom settings instead be setup in site/confing.php? I don't think they should as adding new Configuration settings here has no effect on wire/config.php or the available Config Module properties Q3: New Site tab Again, adding anything to the site/config.php has no effect on my Config Module and the tabs are only. Core | Custom and Remove. Yet the documentation differs here.... I'm wondering if the Custom tab is what you meant instead of Site? Q4: Site Title In the current Custom tab, there is a Config property called Site Title. Where is the Config Module reading this from? It's not set in Site or Wire config.php that I can see.
  8. Reminds me of the old Scooby Doo cartoons and their cut-in sequences
  9. Could be something related to .fa-spin { -webkit-animation: fa-spin 2s infinite linear; animation: fa-spin 2s infinite linear; } located in wire/templates-admin/styles/font-awesome/font-awesome.min.css or one of lines following it which handle some rotation. Commenting it out removed the problem. No, nothing. I'm pretty sure it's only happening on this site. Definitely an edge case and noone else seems affected.
  10. @renobird Here's a Vimeo recording from the moment after I click Login. Do not adjust your sets!
  11. I have something real weird happening with my RenoTheme. If I log in, the entire theme rotates 360 degrees. When I expand a tree the sub-pages also rotate 360 degrees. On PE 2.6.8 and Chrome 43.0.2357.132 (64-bit).
  12. Thanks both for your help. @LostKobrakai - that worked and more importantly (for me) makes sense. I had thought that ->count was mainly only useful if you wanted to output an integer. Hadn't thought of doing it like this.
  13. I'm trying a twist on a simple if / else statement. If the blog_category field is populated (page select), display the categories. If not, don't output anything. This works: <?php if ($page->blog_category){ foreach($page->blog_category as $cat){ echo"<a href=\"{$cat->url}\">{$cat->title}</a></li> ";} else { echo"";} ?> But I've an added complication that the Categories need to have a "Posted under" before the very first Category. I've tried variations on the code below and the first part works but even if there are no categories selected, I still get "posted under" appearing on the page. <?php if ($page->blog_category){ echo"Posted under: "; foreach($page->blog_category as $cat){ echo"<a href=\"{$cat->url}\">{$cat->title}</a></li> ";} } else { foreach($page->blog_category as $cat){ echo"";} } ?> Have run my PHP through an online syntax checker and it's not showing any errors so it must be an issue. Any tips?
  14. Thanks Pete. I'd be interested in seeing that although I wouldn't attempt it myself. I was thinking of dumping all 1200+ into a containing page called "to be sorted" and that way my client can then manually move them into their correct locations over time. I know it's still quite a bit of manual work but the new structire and templates are still being designed so I need a holding bay for them until we're ready to figure out where they go. I've created a temporary field in PW called "old URL" which contains the previous full url (folder/folder/pagename) so he can easily identify where a post sat originally.
  15. Yes, I have page IDs. I presume that's good for creating a new PW page with matching ID as the old one. The Page IDs are some kind of bridge or reference for fetching images? Yes, I have page IDs. I presume that's good for creating a new PW page with matching ID as the old one. The Page IDs are some kind of bridge or reference for fetching images?
  16. I'm redeveloping a site from MODX to ProcessWire. The client has about 1200 pages and exporting the current database to a CSV and then importing content has been relatively easy using the CSV to pages module. Client is fine with manually porting over 1200 images but as he's just had his 3rd child and is a busy man, i was wondering if there was a way to somehow pull in images from each MODX post and import into each new PW pages a Images field. Looking for general thoughts. I'll have to outsource this as my own database chops are minimal but having some insight can help me brief a dev. Many thanks Peter
  17. Guys - what (for you) is the benefit of Leaflet JS Vs Google maps?
  18. @Pete I noticed you're using Marker Clusters on the map for simplifying and combining large numbers of markers. Did you do this within the MapMarker module or was it some custom programming? https://github.com/googlemaps/js-marker-clusterer
  19. Whats the process from here. Does Ryan need to add it to GitGub and it then becomes available?
  20. Working now. Nice job. How is he finding the editing experience etc or is it early days?
  21. Hi Veenar Nothing loading for me on Progenia.com.au I get a black screen and no content.
  22. Is it a CSS bug? Happy to try and help if the current version is available somewhere?
  23. I have template for Chocolates. I have a template for Boxes. Ok, not really, but it's way more interesting to explain it this way than my real template names and purposes. Anyway, my client has been creating Chocolates and building up a database of many different Chocs. After creating a bunch of chocolates, she then creates a page called Boxes. A PageSelect field is used o select the Chocolates to be included in each Box. It works great and you've probably done the same for staff and companies etc. That's been the process for a while. Create chocolates first. Then create Boxes and select chocolates to be added. Now my client has come back with a curve ball and said she wants to create a Chocolate and from this page, send it to a Box. She then wants to edit a Box and see which chocolates have been assigned to it. It's kinda like a reverse of what we have but more importantly, there's a 2 way relationship going on where each template has a PageSelect field which is syncronised across both. This is all in the admin BTW, we're not talking about selectors or front-end display. Having looked around the forums, there's a few requests and a few DIY modules but they're all quite old. Are there any plans to make official support for this or what's people experiences with the existing Modules?
  24. You can turn on debug mode via the config file at /site/config.php $config->debug = true; of if you wont want bug messages showing in the front end, you can check /site/assets/logs/ for any messages relating to your problem. BTW there's also a Module called Config (or something similar) which allows you to toggle debug on/off from the admin instead of having to FTP your config.php file.
  25. Thanks guys - that was indeed the issue.
×
×
  • Create New...