-
Posts
71 -
Joined
-
Last visited
Everything posted by thistimj
-
Good to know! Thanks, guys. The correct version number is probably a trivial thing in this regard, but I appreciate your help and the clarification.
-
Thanks for your help. I may put this on the back burner for a bit and see if I can't get some of the same functionality from Hanna codes.
-
That didn't work. The weird thing is, when I open the module files, the version number is version=>010. Everything in the admin persists on listing it as 0.0.8.
-
Does anyone know why I would be having trouble updating this module? I have tried to update it manually and through PW's interface, but I keep getting version 0.0.8. ModuleManager keeps telling me there is an update to 0.1.0 available, but when I go through the updating process, it still says I have 0.0.8. I am just working on a local wamp setup, so it isn't a matter of life and death; I'm just wondering if I am doing something wrong.
-
A different way of using templates / delegate approach
thistimj replied to Soma's topic in API & Templates
Yeah, that is a great tutorial. I can't make my brain work with Ryan's delayed output method, and he hasn't finished the "More Strategies" section yet. I have one site where I used Apeisa's method (found on page 2 of this thread), but it seems like overkill for what I typically need to accomplish. Soma's way seems to be a good balance between the good old "header/footer" method and Apeisa's way. -
A different way of using templates / delegate approach
thistimj replied to Soma's topic in API & Templates
@kongondo cool. I hadn't considered that. That's a good option. @adrian, does your example mean that I would have a template.php file and also set the alternate template to main.php in the PW admin? I hope that makes sense. Having that stored in a variable is also a good option. -
A different way of using templates / delegate approach
thistimj replied to Soma's topic in API & Templates
I have a question regarding Soma's original approach that kicked off this thread. If I want to include jquery or special css only on specific pages, is there a way to accomplish that using Soma's method? It doesn't seem like there is a point where I could pass that kind of information before the main.php file loads like I could using Ryan or Apeisa's methods. Am I missing something? Thanks. -
Can you post more of your code? That might help in seeing if you have everything set up correctly.
-
There's also a separatorItemClass that you can customize.
-
In the Custom Options Reference on this page: http://processwire.com/api/modules/markup-pager-nav/ , it lists an option separatorItemLabel - The label (string) used for the list "separator". Default: … So you might try giving it a different value, or none at all, and see if that changes anything.
-
Glad that worked. Reading your posts made me think, "Crap, I'm going to have to solve this issue too!" My gallery system is set up differently than everfree's tutorial (which is very cool, by the way), but it worked out similarly for both uses.
-
I had to figure this out as well. If you are using the thumbnail module, you won't need to define your width and height as variables in the template. See if this works. Instead of foreach($images as $image) { $thumb = $image->size($thumbWidth, $thumbHeight); try foreach($images as $image) { $thumb = $image->getThumb('thumbnail'); Then your <img src="<?= $thumb->url ?>" should change to <img src="<?= $thumb ?>" That might work.
-
Yeah, that's totally understandable. Since they're custom post types, it seems like all the variations would be difficult to plan for. I'm glad you guys came up with a way to get most of the information into ProcessWire. I was dreading all the copying/pasting I was going to have to do.
-
This module saved me a ton of time overall. The site I was using as a test case has one custom post type. After a couple of attempts to import the entire Wordpress export file, I figured out that it is easier to make exports of the regular posts and custom posts individually. I then had to go through the custom post type xml file and find/replace two things. First, I had to change these urls <guid isPermaLink="false">http://localhost/clients/yoursitehere/v03/?post_type=events&p=183</guid> to look like this <guid isPermaLink="false">http://localhost/clients/yoursitehere/v03/?p=183</guid> Then I had to change the post type from <wp:post_type>events</wp:post_type> to <wp:post_type>post</wp:post_type> I wasn't able to figure out how to pull in my custom meta information, but even with having to do that manually, these modules saved me a ton of time. I'm sure that I probably did this inefficiently, but in the end I was able to Forrest Gump my way through it and get the results I needed. I appreciate the work that has been put into these modules. Thanks guys!
-
I am in the process of manually porting a number of WP posts into a new ProcessWire site. I've created a "date_published" field, and I'm inputting the old published dates by hand. However, there is an option on the datetime field type that will allow new entries to default to the current day's date. You'd have to look through the settings as I can't remember offhand what tab it's under. So part of my process is manual, but for future posts, it will be more automated.
-
Hey PhotoWebMax, did you figure this out? It may be that you have your images field set to hold only one image. I think I've had this problem before. If you go into the admin, under the image field, click on details and change the maximum files allowed to 0 (if you want unlimited) or whatever number you want that's higher than 1. I think that should cause the "first()" function to kick in.
-
Thanks for this great product and all your hard work, Ryan! ProcessWire just keeps getting better and better.
-
Pete, I think you're referring to this post by renobird: http://processwire.com/talk/topic/2002-repeating-events-multiple-datestimes-for-datepicker/?p=18862
-
Congrats, Ryan and family!
-
OrganizedFellow, did you figure out your problem with the Category list? I realize it's been a few days. It may be that you didn't select a "Parent of Selectable Pages" for your field. It's under Input when you edit your field.
-
PW Online Installer (download of latest PW install to server)
thistimj replied to Soma's topic in Modules/Plugins
Worked on my localhost as soon as I increased max_execution_time in my php.ini file. It was timing out at 30 seconds. -
i like your pictures and how you have them organized. very nice.
-
@kongondo, yes, that's the problem. i love how that functionality works, except for the part about it being in tinymce! @soma. haha! yes, i'm sure i'm not the only one dissecting your posts. they've been very helpful. and i understand how it would be a complicated answer. i'll be on the lookout if and when you do get around to it! in the meantime, i'll see what i can cobble together.
-
This question is for Soma, but I'd appreciate everybody's input equally. Soma, in this thread you talked about how you shouldn't insert images in the wysiwyg, and I totally agree with your point about lack of designer control. You said, "Use repeater to make blocks with images and a option to align or size." I can kind of see what you're describing in my head, but I'm unsure how to go about it. I was wondering if you could elaborate. I am trying to set up a journal where the user would be able to write an article and possibly insert images into the text where appropriate. However, I've always hated how wysiwygs insert images, and I was looking for another way to go about it. The main problem I'm facing is that not all images are attached to the page's images field; the user may want to use an image from another page on the site. I hope that makes sense. Thanks in advance.