Jump to content

Ole

Members
  • Posts

    39
  • Joined

Everything posted by Ole

  1. Hey Guys, I need a bit support with a Singlepage-layout. The Homepage has different sections, which the user can directly jump to, with anchor (#) Links. This works fine on the homepage on the domain-root-level (domain.com/). But the site contains other subsites, like Imprint, Privacy Policy etc. When I want to navigate from a subsite to a specific section on the homepage, Target-urls like "domain.com/#anchor" don't work. When I use the same adress direct in the browser-adress-field, it works fine. But it doesn't as clickable link target. Am I doing something wrong? Has anybody a idea or a solution? Cheers
  2. I have installed the theme in a few of my current websites. And more often I look at it, merrier I like it! I looking forward to further Bug-Fixing and improvements!
  3. Thanks for the kind words. I'm glad, that you like it. The next sites will come soon.
  4. I don't get your approach completely. Do you want to link with a thumbnail a bigger version of the same image?
  5. Do you want to control the display of your pages with a checkbox? That means, if you assign the checkbox in a page, this page will be shown in the frontend? Or do you want control specific elements (like body, title...) of your page?
  6. I should visit this forum more often...^^ Sorry for the delay. Here a Blog Post of RA Schwenke: http://rechtsanwalt-schwenke.de/lg-frankfurt-piwik-abmahnung-fehlerhafter-datenschutzerklaerung-erneut-bestaetigt/ The post is about, how to use Piwik in a secure way. At the end, you'll find the general advice about "Datenschutz".
  7. Great site. Nice Colors Everything is simple, clean and easy to get. Really good. But a small german law advice. All other people can ignore the next lines. Wenn die Datenschutzerklärung zusammen mit dem Impressum auf einer Seite steht, dann muss dies im Linktext ersichtlich sein. Sonst gilt die Datenschutzerklärung als nicht existent und die Seite ist abmahnfähig. Besonders weil Google Analytic verwendet wird...
  8. I would like to present to you our (the Agency I work for) so far largest Processwire project, that I've built. We've launched it a few month ago, but I had allways forget to post it here. It is a campaign-website of various food-processing companies, located in the northern Germany. The purpose of the site is to present diverse jobs, apprenticeships, traineeships and study programs, which are avaiable in the companies to a wide crowd of young people. On this central point the companies can show how versatile the opportunities in the food-processing industry are. The site is not responsive, but has an alternative Mobile View, which will be displayed, if a "Mobile"-Device/User Agent is identified. Finally, one more big thank to teppo, for his essential advice to make the scaled images happen. foodstarter.de
  9. Thanks for welcoming. I use the function to list multiple pages. Some pages have an image. Some have not. With your code I get two different results: object Pageimage boolean Of course, their are more than 2 Pages... Could the collision between the pages with image and the pages without cause the failure? I had tried vardump. A quite little bit too much code... --- EDIT --- I praise you teppo!! If I check, if it is an Object or not, before I call the height-methode, it works fine. Learning Checklist: - Learned something important about Processwire Images and Objects :check: - Erase all comments, which block your output, before you post a answer in the forum, to avoid Post-editing or Doubleposts... :check: Thanks a lot. You saved literally the future of a whole region.
  10. First of all: I'm PHP-trainee. I hope, I didn't overlooked the answer in a thread, but I couldn't find anything solving during my search. (And don't judge me for my naming.) The Problem: I build my Output in a function, because I need the same layout for different cases. Everything works fine, but the $image->height method. generaterowitem(wire("pages")->get($resultid)); [...] function generaterowitem($finalarrayitem) { $firstimage = $finalarrayitem->job_image->first(); <img src="'.$firstimage->url.'" alt="'.$firstimage->description.'" /> I think, the first line is quite simple. $resultid contains a PageID and I get a single Page. This part is in a other function. Therefore the (wire("pages")... The Layout is build in the generaterowitem function. The Script works fine and the <img> Tag loads the image in original size quite well. But if I add the ->height method, $firstimage = $finalarrayitem->job_image->first()->height(145); I get: Fatal error: Call to a member function height() on a non-object Shouldn't ->height also works, if the standard ->url did fine?
×
×
  • Create New...