-
Posts
1,452 -
Joined
-
Last visited
-
Days Won
9
Everything posted by Mike Rockett
-
I generally follow something like this - an example from a recent site release: <nav role="mainMenu"> <li><a data-current href="/">Home</a></li> <li class="hasDrop"><a href="/who-we-are">Who We Are</a> <ul class="theDrop"> <li><a href="/who-we-are">Overview & Mission</a></li> <li><a href="/who-we-are/certification">Our Certification</a></li> <li><a href="/who-we-are/management-board-staff">Management Board & Staff</a></li> </ul> </li> <li><a href="/what-we-do">What We Do</a></li> <li><a href="/connect">Connect</a></li> <li><a class="donate" href="/donate">Donate to our Cause</a></li> </nav> Essentially, I'm swapping out <ul> for <nav>. But now that you mention it, I do see that not everyone does it that way. Some prefer to wrap their <ul> inside <nav>. Some people prefer to do it like your example. Thing with <nav> is that there is no predefined way of doing it... Now that I'm actually looking at this, I should probably be using <ul> inside <nav>... I dunno. HTML5 went and confused things...
-
Ah, right - missed that one. Don't think anything else is missing. I can already use this for a number of sites as it is.
-
This is just what I needed - works brilliantly, and is easy to use. I do have a few suggestions, though: It would be nice to have compatibility for the <nav> tag - I use them in my menus instead of unordered lists. Also, I should be able to add a class and/or an ID to each menu. Lastly, it would be great if I could add a class to sub-menu <ul> as well as any menu-item <li> Otherwise, this is fantastic - thank you Edit: Dazzyweb beat me to it!
-
Indeed, it looks great! Going to test it out shortly.
-
Go to http://directory.processwire.com/login/ and enter your forum username and password. Then you'll be shown the edit form where you can make changes. Obviously, they'll be subject to review first, so changes won't show immediately.
-
Well, you only supplied "United States" as your location. You can go in and edit your profile and change it to be more specific.
-
Confirmed - that's happening to me too. I always turn off slashes, but they show in notifications. I haven't looked, but it must be hard-coded into the notification string, whereby it doesn't check to see what the template's setting is. Edit: Appears I'm wrong. Line 259 of ProcessPageEdit.module (v2.5.20) shows: $message = sprintf($this->_('Saved Page: %s'), $this->page->path) . $numChanges; Perhaps $this->page->path is not being updated according to the template setting?
-
Any way to make urls end in .html, .xml, etc?
Mike Rockett replied to creativejay's topic in General Support
Didn't know you could do this. After all, the field descriptor says "Any combination of letters (a-z), numbers (0-9), dashes or underscores (no spaces)." -
Hey Pete My profile was just updated, but it doesn't show that I'm a module developer. Could you add that for me? Thanks.
-
Recommend a Code editor with FTP, for working on template files
Mike Rockett replied to Crssp's topic in Getting Started
+1 for WinSCP - been using it for a few weeks now, and I think it's pretty fantastic. I do prefer to keep ST3 and the FTP client separate. It just makes more sense to me. -
@teppo - I see, that makes sense indeed.
-
The error appears when I view the snapshot in the history tab. I'm going to give this a try on a fresh dev-install tomorrow. I tried it on a dev site (with pretty much no modules installed, and no ModulesManager), and had the issues. Will also check the config-saving. I'm sure it did though, because the module page updates, and keeps my settings after a refresh.
-
I have two issues on my installlation running PW 2.5.20: The first is regarding the history tab: Method Page::snapshot does not exist or is not callable in this context. It seems that Page Snapshot is not being installed. Uninstalling and re-installing the module doesn't seem to help. Also, it seems that if I create a new field (CKEditor in this case), assign it to a template, fill it with data, and then assign it to version control, it doesn't track anything. However, after re-installing the module, it worked... I may have missed something, but somewhere, somehow, the process didn't seem right.
-
Right, my bad -- never thought there would be two modules that do almost exactly the same thing.
-
Module page says it is. Also working on 2.5.20-dev.
-
Okay, I think that's best then. Will change it now now
-
I see. So there could be a lot of scenarios involved. Think it would be worth it to change the hook to something way early, and then check to see if a page representing the request exists? We could also add a configuration option that defaults the hook to pageNotFound, but allows you to specify if something is rendering output before the 404. Would be a simple checkbox that says, "Check Jumplinks in an early event - this prevents interruptions from other hooks/templates/etc." What do you think? Side note: my Redirects module for Bolt ties into a very early app event. Sure, the caveat is that pages that exist with the request uri are ignored, but we could add a simple check. Perhaps it would also perform redirects faster, as less things boot up?
-
What sent headers first?
-
Something strange is going on with my most recent site, uitkoms.org.za. trash is returning a 404, but I haven't set anything to make it do that. Two things worth noting: my admin URI is not processwire, and I did rename index.php. Surely that can't make a difference?
-
It's quite a good system, with a lot of contributions coming in since the v2 release a little while ago. I like the clear-cut separation of developer/designer/editor. Unfortunately, it doesn't currently support nested pages, so I only use it for some small sites. That said, I do commend the team on their work, they've done quite an excellent job.
-
Just added a donate link to Jumplinks. My experience was very similar to Martjin's - though, the difference was that it started with beer shandy. I think I must have been about 11. Can't really remember. Seems that I'm no longer a beer person anymore. Would "Buy me a Double" work?
-
That is correct