Jump to content

PWaddict

Members
  • Posts

    926
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by PWaddict

  1. Can you show me a screenshot of the "ytp-pause-overlay"?
  2. I think it would be easier to find that great tip if the topic moved to the Tutorials section.
  3. Change the "YouTube: Show Related Videos at the End" to 0 value. It hides the related videos when you pause too.
  4. Then I think I'm gonna post it as an issue on GitHub since non-superusers shouldn't see the field names.
  5. I know, that's why I'm asking how can I do it with a hook ?
  6. Check the following topic. You might be able to help to do it with a hook.
  7. Changing the Inputfield.php 1461 line with the following it displays the field label. How can I do it with a hook? $text .= $this->name ? " ($this->label)" : "";
  8. Page field value type: Multiple pages PageArray Input field type: AsmSelect I decided to output all content from the page field without using a selector. Thank you all for trying to help.
  9. It doesn't work. I guess this is not possible. I'll have to use "sort=name" or something similar.
  10. Removing the selector from the loop it outputs the content on the correct manual sort order BUT I only need to output the content with the selector "category=1474". <?php foreach($page->my_page_field as $mpf) { ?> ... <?php } ?>
  11. Using the below code for outputting content from a page field it doesn't get the manual sort order from the backend. What am I doing wrong? <?php foreach($page->my_page_field("category=1474, sort=sort") as $mpf) { ?> ... <?php } ?>
  12. On 25 May the Data Retention will take effect on Google Analytics. If I understand correctly the module reads aggregated data and it will not affected by the Data Retention. Can someone please confirm it?
  13. Nevermind. I found the problem. I'm using the following hook: and forgot to add this fix:
  14. I'm trying to change the order of pages inside PageTable field with manual drag and drop but when I save the page the sort isn't saved.
  15. Currently we get the field's name on the error messages which is perfect for superusers but I would like to make them more user friendly for non-superusers by displaying the field's label instead of name. So this: Missing required value (news_text) Should be changed to this for non-superusers: Missing required value (Text)
  16. I uninstalled it cause I realized that I don't need it to achieve what I want but thanks for the info.
  17. It seems that I just forgot to use the foreach for it to work $related_page = $pages->find("template=template-2, mypagetable=$page"); if(count($related_page)) { foreach($related_page as $rp) { ?> <a href="<?= $rp->url ?>">Related Page</a> <?php } } ?>
  18. I'm trying to get the url from the selected page by using the following code on template-1 but I'm getting the url from the current page of template-1. $related_page = $pages->find("template=template-2, mypagetable=$page"); if(count($related_page)) { ?> <a href="<?= related_page->url ?>">Related Page</a> <?php } ?>
  19. How to check if the current page from template-1 has been selected (using page field) from another page from template-2?
  20. When I try to save the page that includes one of the pair fields I'm getting the following error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in C:\xampp\htdocs\mysite\wire\core\Wire.php on line 1118Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0 Then I've updated my memory_limit to 512M and once again I'm getting this error: Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 262144 bytes) in C:\xampp\htdocs\mysite\wire\core\Wire.php on line 1118Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
×
×
  • Create New...