Jump to content

tinacious

Members
  • Content Count

    82
  • Joined

  • Last visited

Community Reputation

53 Excellent

About tinacious

  • Rank
    Full Member

Contact Methods

  • Website URL
    https://tinaciousdesign.com

Profile Information

  • Gender
    Female
  • Location
    Vancouver, BC, Canada
  • Interests
    ProcessWire! Web design & front-end development, Responsive Design, Accessibility, WordPress, Drupal, PHP frameworks.

Recent Profile Visitors

5,239 profile views
  1. Hi @Robin S thanks for your help. I've dumbed down the example since my initial example was difficult to understand. I'd actually be adding the Page Reference to a field on a repeater field on the city template. The city example may be a bit simple to illustrate what I'm trying to do. I am trying to build dependencies with a legal document which has content types Article, Section, and ConfigurableField. Article (page) Section (page, child of either Article or Section to support infinite nesting of Section types) ConfigurableField (repeater) Thi
  2. Picture the following hierarchy: Canada British Columbia Vancouver Ontario Toronto Nova Scotia Halifax United States California Los Angeles New York New York City I used the word "page selector" but should've said "page reference." Consider that I am trying to make a page reference for a city, so it has the template type of city, but I want to restrict cities to cities within the same country. For example, I have a fiel
  3. To add some info, I'm wondering if I can use a combination of selector and options: https://processwire.com/api/ref/pages/get/ Essentially, I'm not great with selectors and would love some help! 🙏
  4. Hello! It's been a while since I've done ProcessWire development, but I'm back (and quite rusty with it, and PHP). Forgive me if these questions have already been answered! I have a field called dependencies that I would like to list a list of other fields. So far, I've been able to accomplish this by using the Input Field Type = Checkboxes and the template of the repeater field. Let's say I have the following hierarchy: Article (page) Section (page) Field (repeater field) title dependencies (PageArray)
  5. This looks like a huge time-saver. Thanks for this!
  6. Thanks for the reply but that just mangles it further, adding 2 additional mangled characters.
  7. Hello all. Thank you in advance for your help. I am making a bilingual website in French and English using ProcessWire. It's my first time doing a multi-language site. I am storing a date object with ProcessWire in the database using the date field and retrieving it in PHP. I am detecting the language that the user is viewing the site in and then setting the PHP locale like this in a PHP object called $strings: setlocale(LC_ALL, ($is_english ? 'en_US' : 'fr_FR')); Then when I am getting the date, I am doing this: $formatted_date = strftime($strings['date_format'], $page->date);
  8. Hi all. Does anyone have any experience with creating a REST API for ProcessWire? Would this be feasible? I briefly looked into the PHP to JSON library used by the WordPress JSON API plugin. Is that the right approach to take with ProcessWire or would you recommend another approach? Thanks!
  9. Hi all, I've had some issues during the migration process with using a remote database including login and performance issues. I was wondering if there were specific measures to take into account when using a remote database. My first issue is the performance. I noticed that now since I've been using a remote database that the site takes longer to load. Is there anything I can do to improve the site performance like cache the database or anything? Everything is very slow, especially in the admin pages when loading the pages list, editing an item, etc. My other issue was not being able to l
  10. Thanks Adrian, I decided to just use the Google Maps API and the values created by the ProcessWire module to assist in that. I used the visibility: off for the POI and that worked. Thanks.
  11. Thanks but this is the code I have: In the head: <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script> And then in the body: <?php // Render the map $map = $modules->get('MarkupGoogleMap'); echo $map->render($page, 'address_map', array('type' => 'ROADMAP')); ?> Where would I put the code you suggest?
  12. I'm attaching a screenshot. Timeless Nails, Tango Palace, etc. I hear they're called POI (points of interest) but I am unsure how to add any settings for disabling these with the module. Thanks!
  13. This is an amazing module! I've only scraped the surface but just from reading through this thread it seems very powerful. I was wondering if there was a quick way to hide the businesses that show up on the map. I'm using this to make a restaurant site and I'm trying to avoid having other restaurants (but businesses in general) pop up on the map.
  14. Hi all, I'm currently making a web app using ProcessWire. It will be in Danish and I am having trouble making the date render out in Danish. Any suggestions? Thanks!
  15. I got this error too. Turns out I had put /assets/files/ in my .gitignore and cloned it on a new machine, I suppose in an attempt to de-clutter all my testing uploads and what not. It wasn't working because the /files/ directory wasn't there. I just created the folder "files" manually and the error went away.
×
×
  • Create New...