Jump to content

billjoseph

Members
  • Posts

    13
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

billjoseph's Achievements

Jr. Member

Jr. Member (3/6)

2

Reputation

  1. Thanks @dragan - I think I got it worked out just before you tested! ? Nice to have confirmation other than just my phone.
  2. @Klenkes Thank you so much!!! I couldn't get the height override to work, but after testing saw that it definitely was UIKit that was causing the problem. Updated my UIKit version and there they are!!
  3. I have a site with a number of audio files on the page, displayed using the <audio> tag. Works just fine on desktop (and responsively if I resize my browser), but won't display the audio player when viewed on my phone. I've copied the code to another PW site and it works there on mobile. I've checked with my host to confirm that it's not a server issue. Even added the code as a standalone .html page on the site and it worked there. The only idea I've got left is that I've done something in my templates, or misconfigured something in PW or the modules, but frankly I'm stumped. What would cause embedded audio to display on desktop, but not on mobile? I'm running PW 3.0.148 (just updated - had same problem in 3.0.96), and I'm using delayed output. (I don't know if I'm allowed to add the url to the page where the problem is, but if so it's here: https://tigerswingband.com/bands/mtsb-drumline/)
  4. @psy So, yeah, here's where I throw myself on the mercy of the forums. I will swear to you up and down that I tried that first and it didn't work, but now, of course, it does. Maybe I had the <li> outside the </ul>? Maybe I just like to overthink it? Either way, now I've got two different ways to do it!!
  5. If the page is the last "unhidden" page in the admin page tree pages, it works. I've got my 404 page and Search Results page as the last two items, both hidden, and I like to keep the tree organized that way, so I modified the logic to this: $parent = $child->parent; if($parent->children->last(!hidden) === $child)... and it seems to work! Thanks, @Soma for getting me back on the right track with this!!
  6. When adding a hook, how do I target the last item in the navigation, regardless of its page id (especially if that page changes)? What I am trying to do is adding a clickable link that opens a UIKit modal containing the PW search form. It works just fine if I set the code as a link/button somewhere in the page, but what I want to do is to have it as a menu item. The last item in the menu would be 'Search', and when clicked, will open the modal. I've tried using a hook (my first time trying hooks), and I got this far using the demo HookEvent: function myItemString(HookEvent $event){ $child = $event->arguments('page'); // current rendered child page // any logic with $child possible here if($child->id == 1016){ // set the return value of this hook to a custom string $event->return .= '<li><a href="#modal-example" title="Search" uk-toggle>Search</a></li>'; } } // setup the hook after on ___getItemString($class, $page) method $nav->addHookAfter('getItemString', null, 'myItemString'); This adds the 'Search' link after page 1016, but what I want to do is append it to the end of the menu, regardless of what that page id is, keeping it there if the client decides to move page 1016 from the last spot. Can anyone point me in the right direction? Thanks! PW 3.0.62 UIKit 3.0 Markup Simple Navigation 1.3.4
  7. It is, and it hasn't been an issue before. I don't know why just the one script was throwing the error, or why it started doing it now. I'm just glad to have a solid workaround for the future. And, tpr, thanks for your help in getting me pointed in the right direction so I could figure out where the problem was!
  8. Talked to my hosting company and the problem was apparently due to the temporary url structure for development: server.com/~myaccount They suggested editing my hosts file to bypass the DNS, which worked for me, but would be unwieldy for the client, so I created a subdomain that points to the IP: dev.myurl.com I had to add the new subdomain to my config.php file as one of the httpHosts, but it seems to be working just fine now.
  9. Checked the source of the page to see if jquery.cookie.js is being called before InputfieldImage.min.js. It is, but it's returning a 406 Not Acceptable Error: An appropriate representation of the requested resource /~mysite/wire/modules/Jquery/JqueryCore/jquery.cookie.js could not be found on this server. Additionally, a 406 Not Acceptable error was encountered while trying to use an ErrorDocument to handle the request. I checked the server and the file is there and in the correct place, and has content. The actual line where the file is called is this: <script type='text/javascript' src='/~mysite/wire/modules/Jquery/JqueryCore/jquery.cookie.js?v=1493077229'></script>
  10. Disabling modules didn't make a difference. This is the list of modules: Site - modules I added Email Obfuscation (EMO) Menu Builder: Markup SEO Markup Simple Navigation 404 Logger Hanna Code Menu Builder: Process Hanna Code: Text Formatter Core - these are the modules I activated, the rest are in their default state as shipped Reno Select Options CKEditor Page Auto Complete Forgot Password Also realized that it's not just the fieldset toggles, but any field toggles that do not work.
  11. Console is showing a javascript error: TypeError: u.cookie is not a function in /wire/modules/Inputfield/InputfieldImage/InputfieldImage.min.js:1:11297
  12. Weirdest thing just happened to me. I updated blank site from 3.0.42 to 3.0.61 then started adding fields. I have two instances of FieldsetOpen areas in the template, and a few CKEditor textareas (both inside those fieldsets and outside). I added an image field to the template and placed it near the top of the template fields. Once I did that I was unable to toggle either Fieldset, and the CKEditor stopped working. When I moved the image field to the bottom of the template fields, the CKEditor loaded, but the fieldsets still wouldn't toggle. When I deleted the image field, the editor and toggle return to normal. (Adding a new image field re-introduces the issues.) I've tried adjusting the settings on the image field but the result is the same - even with all default settings. I tried adding an image field to a different template - same result. What am I missing here?
  13. I installed a module and noticed that the "Installed Date" in Module Information showed "2 hours from now". I also noticed that after I modified a page, the "Last Modified Date" showed the date and time, plus in parenthesis "2 hours from now". I am in Eastern (New York) time, the server is in Central (Dallas) time, and the physical location of the entity for whom I built the site in in Pacific (Los Angeles) time. When I installed the site, I changed the timezone to Los Angeles (if I recall correctly, it defaulted to Dallas), so now in my config file I have: $config->timezone = 'America/Los_Angeles'; My question is twofold: 1. Should $config->timezone correspond to the servers timezone, or my (or the client's) timezone? 2. Is there any problem if it's set incorrectly? Thanks!! PW 3.0.42
×
×
  • Create New...