Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About ttttim

  • Rank
    Jr. Member
  • Birthday 09/07/1989

Profile Information

  • Gender
  • Location
    Utrecht, Netherlands

Recent Profile Visitors

1,558 profile views
  1. Is there a way to add a (new or existing) page to the top of the asmSelect list? By default they're added at the bottom.
  2. I have a table field with a DateTime field inside. Everything works fine as long as a select a date in 2019 but when adding a new row with a date in 2020 (or further) the date changes to 2019 after i save the page. Any ideas?
  3. Someone recently pointed to me that I wasn't using http strict transport security header. From what I've read it forces a connection to https instead of http. Is there a different compared to the use of the default method from the ProcessWire .htaccess? RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  4. Hi, I'm working on a website where in the back-end in one template i have multiple page reference fields using the same conditions (parent and template). Is there a way if i selected a page in field A it won't show up anymore in the list of field B or field C etc? I was looking at creating a custom string but i couldn't wrap my head around it.
  5. Thank, that worked like a charm! I had to switch $key and $value though. $page->of(false); foreach($images_sorted as $key => $value) { $page->images->get($value)->sort = $key; } $page->images->sort('sort'); $page->save();
  6. I'm building an upload form for user to add images to a page. I would like for the user to change the image order after they add the images. Basically how the image field in the backend works. So users can drag and drop the image order. The problem is that I don't know how to rearrange the data of my image field based on the order a user submits?
  7. And still you where able to answer my question! sort=parent.title Is what i was looking for.
  8. I have an event page were you can select multiple sub-categories with a page field using checkboxes. Now i want to display all the sub-categories but also have them sorted by their parent category. I tried something lik below but that didn't work. $tags = $event_cat->find("sort=$event_cat->parent"); foreach ($tags as $tag){ echo $tag; } Any ideas?
  9. Thanks for your answer but i'm not sure if i follow. What do you mean with the last bold part?
  10. I have a parent page containing a list of it's children. When you click on one of the children the page opens up in a modal box trough ajax. So far so good. But if i directly load the page through the url (parent/child) i get the child page. Is there a way of loading the parent page instead with the child page opened inside the modal box? I was first thinking of using URLSegments so it would load the parent page with the child name as segment however since the segment is an actual page it will load the page instead. Any ideas?
  11. After installation i'm getting the following error while uploading an image set_time_limit() has been disabled for security reasons Does anybody have an idea how to solve this?
  12. Hey Arjen, Thanks for the quick reply!
  13. Is there a way to hide your development site from search engines? Or is it a simple as adding the following code to the header? <meta name="robots" content="noindex">
  14. Yes, i've had the problem for a while now. If I go directly to the link it works fine. Could it be a hosting problem?
  • Create New...