Jump to content

Warran

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Warran

  • Rank
    Newbie

Profile Information

  • Location
    Manchester, UK

Recent Profile Visitors

122 profile views
  1. Hi Thanks - I'll try that and report back.
  2. Hi I've searched the forum for an answer to my question so apologies if this has been answered and I haven't found it. I'm also a newbie so please forgive my ignorance. This is my problem: I have child pages and each of the child pages (amongst other things) has a file field with one PDF in it. I'm trying to pull a 'list' of the pdfs from each child page onto their parent page. Using $examplefield->url returns 403 forbidden so I tried using $examplefield->httpUrl but this just returns nothing. Any help would be appreciated. Here's my code: $newsletters=$page->children; foreach($newsletters as $pdf){ $doc=$pdf->newsletterfile; echo"<div class='news-link'> <a href='{$doc->httpUrl}' target='_blank'> <img src='{$pdf->newsletter_thumb->url}' alt='{$pdf->newsletter_thumb->description}' /> <h3>{$doc->description}</h3> </a> </div>"; } Warran
  3. Thanks for your reply wbmnfktr I contacted the hosting company and it is indeed them. It's being caused by the host's DDoS protection system. They are working on a fix. Thanks again.
  4. Thanks for your reply wbmnfktr I've raised the query with the host 123 Reg. I'll post an update when they come back and hopefully resolve it. Thanks again.
  5. Hi First of all apologies, I'm a relatively new to Processwire and have always found the answers I needed by searching the forum - hence my first request for help. I have a legacy website using v2.8 and all seems fine except that when first loaded unusual URL endings appear. For example, the home page for www.example.com would load as www.example.com/?LMCL=wUl1nh&LMCL=YsYQdx. Although, it isn't always the same letters. I'd be grateful if anyone could help me resolve this problem and once again sorry if I'm missing the obvious!
×
×
  • Create New...