Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by gmclelland

  1. Thanks @mr-fan and @adrian! @mr-fan your setup is similar, but in my setup there would be a main calendar page and each event posting would have it's own public page. On that event posting a page there would be a button for "Add to calendar" so that people can add that event to their personal calendars. So I'm still confused conceptually how this would all work? Am I supposed to examine the url in my event posting template and check for a .ics extension and do the proper theming?
  2. I'm wondering what is the best way in Processwire to dynamically create .ics files from all my existing event pages? I would basically like a button on my event pages that says "Add to Calendar" My pages have a startDate and endDate fields. Pages have urls like events/name-of-event I would like it if someone visits events/name-of-event.ics, it would dynamically create the ics file download. Is something like this possible with Processwire?
  3. I posted a similar topic that might be relevant to this discussion. https://processwire.com/talk/topic/11905-globally-access-the-page-tree-in-the-admin-theme/ I like how wagtail.io has a sliding page tree.
  4. Thanks @pwired, I really just wanted to share how that other cms is making their page tree available on every page in the admin in way that is quickly and easily accessible. It looks like it could also provide a way to browse a large tree of pages when editing on a mobile phone. Currently Processwire requires you to click on the pages link which requires a full page load. Having the Pages Tree always available is a nice feature in modx and Pimcore. I'm still very new to Processwire, so it might be a while before I can figure out how to do something like this. Others may want take that design pattern and run with it.
  5. Just came across this interesting video https://vimeo.com/86719782. At 53 seconds into the video you can see how the Wagtail cms (https://wagtail.io/) admin theme is able to show their site's page tree just by hovering a global link. Maybe that is something that can be done for Processwire? Just a thought
  6. Thanks adrian for the help. Yes, that can happen if you don't set any page aliases with the https://www.drupal.org/project/pathauto module. The Pathauto module is used on pretty much every Drupal site.
  7. Oh... That's what that setting does. Yes, it works for me. Thanks for pointing me in the right direction. The only thing missing now is maybe some kind of text formatter module that would convert /1002 type links to /my-cool-page? I've only used Page Path History once a while back, but it seems like Page Path History module is just covering up the problem by creating a ton of redirects without fixing the source of the problem which is the content is linking to the wrong page? In Drupal, your not supposed to see the node/1002 links on the frontend. Instead, you see the node's alias which would be something like /my-cool-page. Their is a https://www.drupal.org/project/redirect module that is used to store changes of the node's alias. For example, changing /my-cool-page to /my-cooler-page, but that is really only useful for when other websites link to the node's alias. Internal links in text areas are always like node/1002 and then transformed on output into /my-cool-page. As far as I know the systems that do this are modx, concrete5, Drupal. Anyways, thanks again for responding. I appreciate your help.
  8. Maybe it would be possible to add another option to the ProcessPageEditLink module? something like "Absolute page id"? that would insert links like /1002
  9. I just tried out the module and I can confirm that it works just like it says. I'm new to Processwire, so forgive me if what I'm suggesting is to much. I come from the Drupal land. In Drupal, all pages have a id called an nid(node id). With core Drupal you can visit any page with /node/10003 and it will redirect you to that page. When links from the editor are inserted into a textarea, they look like /node/10003. When the page is viewed, the https://www.drupal.org/project/pathologic module converts those types of links into their aliased name(like /my-cool-page). I believe Concrete5 does the same thing with it's core page link abstractor. Couple of things/possible suggestions: Is there a way to rewrite links that are inserted via the wysiwyg editor into a textarea? For instance, clicking on the link icon in ckeditor opens a modal dialog where you can select a page, but when you select a page it inserts something like /parent/child-page instead of /1002. If it just inserted /1002 then the editors wouldn't need to look at the short links tab because this module would automatically handle everything. Maybe there can be a way to use a text formatter module to convert links like /1002 to /parent/child-page when outputting the page like https://www.drupal.org/project/pathologic? Drupal also adds the following to the page to assist with SEO: <link rel="canonical" href="https://www.mywebsite.com/my-cool-page" /> <link rel="shortlink" href="https://www.mywebsite.com/node/4796" /> Processwire looks really good, but I can't imagine not having some kind of way to handle links breaking when the site tree changes. For big departmental or documentation websites, this happens all the time. P.S. I have seen the other two modules page-link-abstractor and page-path-history. Hope that helps, thanks for sharing your module I think it is definitely moving in the right direction!
  10. @Soma - I like the freeform blocks concept. Your block concept sounds a lot like Concrete5 and also in Drupal you have https://drupal.org/project/panopoly which you can create these blocks with https://drupal.org/project/fieldable_panels_panes and place them into a layout using the https://drupal.org/project/panels "In Place Editor"
  • Create New...