-
Posts
1,452 -
Joined
-
Last visited
-
Days Won
9
Everything posted by Mike Rockett
-
Unable to change page template; limited list shown
Mike Rockett replied to Mike Rockett's topic in General Support
Hey Arjen - that's brilliant! I've heard of the concept before, but never with a rubber duck. Always had someone to do it with - and they'd listen, just because they knew what my intention was. Now, I may just need a rubber duck. Or plenty of call-time to phone someone who I know is very bored. -
So, I was trying to install the newly-released MarkupSEO module. As usual, I went to Modules > Install, and attempted to enter the module's class name (MarkupSEO). Naturally, one would press enter once done. When I did, it installed a different module, ProcessRedirects, which happens to be the module I uninstalled last. Weird. Then, when I entered the class name again, and clicked on "Download & Install", it came back and said that the web-service cannot find the module by that name... Weirder, because other modules get picked up. Any ideas?
-
Unable to change page template; limited list shown
Mike Rockett replied to Mike Rockett's topic in General Support
Ah, forgot about that. So used to doing it on StackOverflow, that I don't think about doing it here. Hehe! -
Unable to change page template; limited list shown
Mike Rockett replied to Mike Rockett's topic in General Support
Gotta love it when this happens. Sit baffled for 20 minutes, open a forum thread, and solve the problem before anyone gets a chance to say anything. Ah well, as is life. -
Unable to change page template; limited list shown
Mike Rockett replied to Mike Rockett's topic in General Support
Although, the manual drag 'n drop sorting is not working for this page. I need to display the pages in a particular order in the menu, but the sort is not reflecting in my template. I'm using the following call: $items = $wire->pages->find("main_menu_group={$menuGroup}"); Edit: I have made sure that the template's sorting option is set accordingly. Even swapped it around so that the sorting option would be defined on a per-page basis. Doesn't work... Edit (again): I see that it works in my sidebar, which calls children(). But if I call $wire->pages->get('/')->children("main_menu_group={$menuGroup}"), it still doesn't work... Ah!: Silly me, I assumed it was doing it recursively for some strange reason. -
Unable to change page template; limited list shown
Mike Rockett replied to Mike Rockett's topic in General Support
Ah, never mind. I just remembered that I had set a list of allowed children for the home template. My bad! -
I'm trying to change one of my first-level pages' template to something else (it's currently using a 'skeleton' or basic template of sorts, as I was working on the child pages first). However, it only shows three templates, when I have way more than that. Is there something I'm missing as to why this is the case?
-
MarkupSEO - The all-in-one SEO solution for ProcessWire.
Mike Rockett replied to Nico Knoll's topic in Modules/Plugins
This looks excellent! I've been manually creating my SEO tabs. So this is a huge relief! And I really dig the preview. (Better than what it looks like with WordPress SEO, for sure.) Kudos! -
Personally, I would not recommend it, unless you intend to serve different content to mobile visitors. If the content is to remain the same, I would recommend using a responsive design.
-
So the point of my post was to indicate that it's still in use by the website...
-
That's from last year...
-
If you're in Germany, I recommend Hetzner for normal shared hosting (if that's what you're using). They also operate here in South Africa, and they do an outstanding job.
-
So, I stumbled into this when my Opera updated a few minutes ago: http://processwire.com/site/templates/styles/img/apple-touch-icon-114x114.png Surely that's, like, old?
-
I quite like it - saw it the other day on the laravel-news.com site. I guess my only issue at this point is that it's customisable to a point, out of the box. Heavy customisation would require a lot of work. But then again, because they're 're-imagining' forum software, I don't think it's intended to look like the rest of the website (which is the kind of customisation I'm referring to). Nonetheless, it looks like a really great platform, and I can't wait to get my hands on it.
-
You're probably missing one of the conditions from the list: "The selected parent template must have defined this template as one allowed for children." So the parent-template you selected must also have defined that this template is allowed as a child.
-
Happy, happy birthday Ryan! Indeed, you have spoiled us all - ProcessWire has made both myself and my clients very happy. So, thank you! (And drink lots of Beer! Haha!)
-
Felix, what a great site. So very creative, it's bliss to browse through. The couch idea is just, awesome! +100000 (Even noticed that it randomised the order of the people, which is so cool!) Thinking of releasing an English version?
-
Hi guys I may as well spill the beans now... I'm actually working on an extended version of the Redirects module. It's intention is to be more feature rich. That said, I could look into including a 404 looker-upper. Only problem is, I'm not quite sure how to implement it the way @ceberlin described. However, I shall give it a try. First, let me get the basis of the module up and running. All I've done so far is the front-end page, the page to create a new redirect, and saving. Still a lot to do, in terms of editing, processing, importing, exporting, etc. (Edit: Oh, and @apeisa, don't worry - you shall be credited in the module )
-
AdminThemeModesta - New modest admin theme
Mike Rockett replied to nikola's topic in Themes and Profiles
@nikola - great, can't wait! Loving the theme so much, that I made a custom admin bar for the front-end of a site that I'm building at the moment. Gives it an 'embedded' feel, which I think is quite cool. Also made a patch on my installation that changes the buttons for the page tree. It's really irritating that the height of each item grows when you open it... It's not thorough though, as it makes the item count lower when the item is open - I'll find a way though... -
AdminThemeModesta - New modest admin theme
Mike Rockett replied to nikola's topic in Themes and Profiles
Okay, I really like this admin theme - but it doesn't seem to be fully compatible with the latest stable (2.5.2, as of this writing - more interested in the 2.5.1 changes, though). Process Modules can now have custom navigation, which doesn't work in Modesta. Any news as to when we'll get an update? -
Using a different field to generate page URLs
Mike Rockett replied to statestreet's topic in API & Templates
Hmm, I think that's out of scope here - @statestreet wants to manually specify the page name, and not base it on the page ID. I think it might be a better idea to create a new module that hooks onto the page save event. That callback would then check to see if the user/editor has entered a page name (in a separate field on the page's editor), and if he/she has, then change the page name to that field's content. Yes? -
Exactly Just a note, because many people tend to forget: the closing WHATEVER; for your heredoc must be on its own line, right at the beginning.
-
Just my two cents: When using HTML in (that is, within a function), I tend to use heredocs, which makes code visualisation easier - especially when you're using an editor like Sublime Text, or something along those lines. In your case, you could do the following: print <<<HTML <div id="button2" class="button_style" onclick="location.href='page2.html';" style="cursor: pointer;">product</div> HTML; You'll noticed I used print instead of echo, as print is a better option, in my opinion, for heredocs and nowdocs, as you only ever need to print one at a time.
-
Table drag 'n drop re-ordering
Mike Rockett replied to Mike Rockett's topic in Module/Plugin Development
Ah, right! Completely didn't even realise this whole setup is built on jQuery UI. (Still new to the PW game, so haven't explored everything as yet.) Module should be coming out in a week or so (beta). Can't confirm that, though, because I honestly don't know which way is up these days.