Jump to content

peterpp

Members
  • Posts

    67
  • Joined

  • Last visited

Everything posted by peterpp

  1. This is the error I get: Fatal error: Exception: Method Pageimages::size does not exist or is not callable in this context (in /xxx/wire/core/Wire.php line 320) #0 /xxxx/site/templates/calendar/calendar-top.inc(31): Wire->__call('size', Array) #1 /xxxx/site/templates/calendar/calendar-top.inc(31): Pageimages->size(185, 140) #2 /xxx/site/templates/home.php(5): include('/home/xx/...') #3 /xxx/wire/core/TemplateFile.php(140): require('/home/xxxx/...') #4 [internal function]: TemplateFile->___render() #5 /xxx/core/Wire.php(359): call_user_func_array(Array, Array) #6 /home/xxx/wire/core/Wire.php(317): Wire->runHooks('render', Array) #7 /xxx/wire/modules/PageRender.module(337): Wire->__call('render', Array) #8 /home/xxx/wire/modules/PageRender.module(337): TemplateFile->render() #9 [ in /home/xxxxxx/index.php on line 216 Regards Pravin
  2. Thanx for you quick reply. This didn't worked for me...
  3. My code is as below <?php $header_image = $page->header_image; if( !empty($header_image) ){ $head_image = $header_image->first(); $img = $head_image->size(940,627); } The code was working fine for 2 months. But now i am having issue with this image field. Sometimes image loads sometimes it doesnt loads. Somtime it throws arror sometimes gives broken image. Plz help Regards, Pravin
  4. Hi LostKobrakai, Thanx a lot..it worked for me.. Regards, Pravin
  5. Hi LostKobrakai, It not working. Regards, Pravin
  6. Hi, In the menu, i am showing number of parent pages. On hovering on any menu, its child pages gets displayed. When i open any child page i want to show its parent page to be highlighted i.e activated. Plz guide me. Regards, Pravin
  7. HI, I am using processwire with foundation zurb. I am using foundation's visibility classes. I am using hide-for-medium-down and show-for-medium-down for header. Its working fine with ipad in both verticle as well horizontal. But when i view the site on monitor with resolution 1024*768 (ipad also has same resolution of 1024*768), both header gets displayed on monitor. Regards, Pravin
  8. Thanx Martijn. I got the issue. I have placed 1month in cache setting. Now i have changed. its working fine
  9. Hi, I have a included site search in my site. It was working well for 2 days. But then, search page started showing same results for any search. Even when i am deleting all code from search template, its showing same page. Regards, Pravin
  10. Hi Adrian, My client need to enter urls in description field only. Regards, Pravin
  11. Hi, Can i make image description field to enter html tags like anchor link, paragraphs( p ), head tags(h1, h2, h3) etc. Regards, Pravin
  12. Thanx all. I have edited FormBuilderProcessor.php file wrongly. Now validation is happening. Regards, Pravin
  13. Hi cstevensjr, I have a form in one page in front end. From this form fields i am collecting data in backend. When a user submitting a form, automatically new page gets created and the filled data is collected in backend including images. I have a text field in front end. I want this field to get pulled to image description in backend like all fields are getting pulled. Regards, Pravin
  14. Hi cstevensjr, Thanx for info. I can view errors in preview. But actually on page, form shows this error if required field is missing. Error is this "One or more errors prevented submission of the form. Please correct and try again." The error is common for all fields. Regards, Pravin
  15. HI, How to do individual field validation in Form Builder module? I want error message to display near field. Regards, Pravin
  16. HI, I have a Form Builder form in front end. It has 2 image fields i.e upload file fields. I have made a functionality that when user submits a form, a page is created in backend. Fields like name, image, email id are getting pulled in backend, in new page. I want to show image description also to appear in backend. Description is to be pulled from front end form's textfield. Plz help me. Regards, Pravin
  17. Hi, I am using ckeditor. When i am uploading an image and giving it image align center alignment, image looks centered in body area in backend. But on front end image aligns on left side only. Regards, Pravin
  18. HI all, Thanx for your help. It worked for me now. Regards, Pravin
  19. Thanx Kongodo for the quick reply. I tried your solution but no luck. It doesn't show on front end. Regards, Pravin
  20. Hi Nico Knoll, Thanx for quick reply. I have added FieldtypeImageExtra module. It gives me extra field other than description and tags and it is labelled as Credits. Database entry shows its name as credits. I can view this field below image. I want to display this field in front end just like displaying Description and Tags. Regards, Pravin
  21. Hi, I have added field type as ImageExtra. I want know how to call fields i.e description, credits and tags. Currently i have added code like this foreach( $page->photo_album as $img ){ $img = $img->size(575, 385); echo "<li data-thumb='$img->url' data-alt='$img->description'><a id='toTop' href='#' class='topopup'><img class='slide' src='{$img->url}' alt='$img->description'></a></li>"; echo $page->credits; } but credits field is not displaying. description is displaying. Regards, Pravin
  22. HI, I am using FieldtypeImageExtra module. I have one imagextra field. But it is not getting displayed in front end. Please guide me how to display it. If i make it as image field, description, tags are getting displayed in front end. I want to add and display extra field. Regards, Pravin
×
×
  • Create New...