Jump to content

netcarver

PW-Moderators
  • Posts

    1,929
  • Joined

  • Last visited

  • Days Won

    42

netcarver last won the day on July 14

netcarver had the most liked content!

Profile Information

  • Gender
    Male
  • Location
    UK

Recent Profile Visitors

14,718 profile views

netcarver's Achievements

Hero Member

Hero Member (6/6)

2.8k

Reputation

18

Community Answers

  1. Just bumped this to version 0.5.0 which adds the ability to have a sandbox server token that gets used if the site is in debug mode.
  2. I think Roland's excellent Admin on Steroids module can help you. There is an option to display the template of pages along with the options button in the tree menu. Look for this option and turn it on; Then you should be shown the template as you hover over the items in the page tree. Here's the correct template (client_index) being shown for a page on my local site; Hope that helps!
  3. Yes, you can do that, or you can use an alternative user template as well. LRP supports collecting these additional fields as part of the registration process and/or allowing users access to these fields in their profiles.
  4. If I had to guess what's happening here, I'd say that when you supply the file from your normal html, the server may not be sending an content-type header so the browser downloads it, as the server hasn't told it what type of data it is. When PW sends the data, it's probably setting the content-type header - and the browser, now knowing what it is, takes action to play it.
  5. Hi There, Welcome to the forum. There's a discussion about this (though for PDFs) over here.
  6. Sorry that your experience of PW wasn't good but having your site running is obviously the most important thing at the moment.
  7. Ok, so when you look in the error log (Admin > Setup > Logs > Errors and/or Admin > Setup > Logs > Exceptions), what does it say the error was? If it happens you can no longer log into the admin interface, then look at the file system on that machine and go to the site/assets/logs directory and look at the last few lines of errors.txt and exceptions.txt.
  8. Hello wonderful Caddyphiles, Do any of you have an updated config for PW and Caddy? I wouldn't mind trying this out now Caddy has matured somewhat. Never run it before though so will start acquainting myself with the docs.
  9. Hi @creativeguy Sorry to hear you lost your dev partner, and now have to recover a site from a hack on top of that! I suggest you PM Ryan regarding the license questions. If Anthony billed you for the price of the modules, I suspect you own them anyway - but that's just my take - please talk to Ryan. As some of those messages are pointing out, suggest you start off with a refresh of the modules from the Modules > Refresh menu option. I suspect the 36 module changes will go away or can be ignored, as you'd expect a bunch of modules to have changed. Please post again with updates and hopefully someone more skilled at fixing these kind of issues may jump in to advise as well.
  10. Maybe you are hitting the max execution time for your script. Check the docs for set_time_limit(), they may help.
  11. Hmm, are you sure it's working as you need it to? I would have thought you'd do an intersection and then just check if the intersection is empty or not - which makes me think I've not understood what you are trying to do here. I'm imagining something like this: you have some set of titles like [0 => "Alpha", 1 => "Beta", 2 => "Gamma"] from the explode and you get the following session data ["Delta" => 'whatever'] To see if any of the values from the titles split were in the session keys I'd do something like this... /** * $titles is the array of exploded titles. NB The title strings must appear as values in the array * $session_vars is the array of session variable names => session variable values **/ $intersection = array_intersect($titles, array_keys($session_vars)); if (empty($intersection)) { // Non of the $title values appeared as keys in the $session_vars. } else { // At least one of the $title values appeared as keys in the $session_vars. } If you're happy with the result though, all's good.
  12. @kaz If you are sure that you are looking at the correct template in the admin then I'm out of ideas. The code in the MarkupPagerNav class may have a subtle error that I can't spot, but I'd expect to see the url you are actually seeing if that "Allow Page Numbers" setting was not set. Here's the code on Github. Is there anywhere else in your code or modules that might be clearing the allowPageNum setting on that template?
  13. Hi kaz, so does it work if you remove the custom link styling?
×
×
  • Create New...