Jump to content

MuchDev

Members
  • Posts

    378
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MuchDev

  1. My vote for dead simple, mom and dad can use it then I would say create your template with the fields that you want for the gallery and a featured image, and then create a gallery using a repeater field that has the image that you would want on its separate page and the data that you want on each image or check out the module page table extended (http://modules.processwire.com/modules/fieldtype-page-table-extended/). That way they don't have to try and create pages directly. Also a way that you could upload whole albums at once would be using the csv import module (http://modules.processwire.com/modules/import-pages-csv/) and upload your images to your server. From there you would just point to a spreadsheet with all of the fields in their own columns and the image name in another column for the related data. I
  2. Ok, I am not seeing this inside my site/config.php is this something that doesn't exist in the latest versions, or is this something that I should add? ** I found it in my wire/config.php and added it into my site/config.php. Thanks a ton, now to see if it does anything where I am now .
  3. Man that is awesome man, I am going to enable that setting. I foresee my site getting to around 60-70k items as they will most likely be adding inventory in much larger batches now that all they have to do is give me a spreadsheet with the item data and the images.
  4. I have a site that has over 20k, I haven't run any benchmarks on it but it still is running like a champ. I'll have around 10k more by the end of the month and I don't see any reason that the site would be much slower. I will on the other hand be adding more resources for the vps so that page fetches are a bit snappier. I suppose you would just want a bit more horsepower for the MySQL back end if your uncached pages are a bit slow.
  5. From what I understand of how the select script works that one would most likely have to fairly seriously hack some core files in order to change the functionality of this module. If you are capable of making these changes well then I would suggest creating a whole new module so that you would be able to reuse your code easily and not have to worry when a new version is released. Other than that we just have to just make another polite request to the amazing creator of this fantastic project. Well I have to chime in though and say I would love to see some new options in the multiselect module. I have a site that I have handed off partially to my client. The pages rely heavily on this module to allow for art directors the ability to hand curate the content in the section. Some sections end up being quite large with many items from various areas of the site tree. What I envision is the same tree view but instead of the item being immediately added, the item would be checked (and / or) highlighted. A list of these items would display at either the top or bottom of the tree along with an add button. When the user adds the items the list collapses and the items are appended.
  6. An easy way if you wanna build a big list would be to just make a little array with all the rules and use that to filter. $excludeArray = array( "include=hidden", "parent!=2", "id!=1009", "parent!=1047", "id!=27", "id!=7", "parent!=7", "id!=1047", "id!=4945", "template!=items", "template!=antique-items", "template!=publication", "template!=publication_type", "template!=publication_section", "template!=404", "id!=2947", "path!=/processwire/" ); $exclude = implode(",",$excludeArray); $children = $page->children($exclude);
  7. I have played around with different views using just some basic jquery. If you are feeling a bit overwhelmed just start small. Here is a fiddle I found that really simplifies the process of switching from 1 class to another. http://jsfiddle.net/v57JF/ Basically you just need to write the css and have jquery listen for a on('click') event on your buttons. When clicked apply class to all divs that you want to be formatted differently. Having settings stay between page refreshes and next pages is a bit more tricky as you would have to most likely use some ajax as they said, but if you getting looking pretty, you should be able to build on that fairly easily.
  8. Hey thanks guys, thank you for dumbing it down for me . I am trying to juggle this project in the middle of midterms / finals and trying to find what I was looking for in the midst of that documentation was stressing me out. Alright, sub sub project done, worked perfect!
  9. Hey all. I'm having a derp moment I think. Where is the option to add in css classes to ckeditor? I would like to be able to set an image class to stretch or have alternate heading options in my textboxes. Thanks in advance
  10. Well I'm stumped, I can't seem to figure out how to get this to work with my site's images as many are set to one, and many pages don't contain the images that are referred to in the module. Looks like I'll be waiting for the next release .
  11. What an awesome module, the features in it are perfect. One thing I am noticing though is that the module seems to be a bit finnicky with images that are limited to 1 not on the current page, as the image preview function appears to call first() on the image field regardless to it's existance on the page. Error: Call to a member function first() on a non-object (line 326 of home/swflemin/public_html/dg/site/modules/MarkupSEO/MarkupSEO.module) if($this->imageSmart && $pageDataDefault['image'] == '' && @$this->page->get(implode('|', $this->imageSmart))->first()->url != '') $mixedData['image'] = $this->page->get(implode('|', $this->imageSmart))->first()->url; Looks to be the culpret. Could I get a hand modding this here?
  12. Hey there Soma or someone else that may know. I would like to pack the js in this script into my aiom block and I don't want to hack too much. Is there a plan to allow for manual inclusion or should I just keep my modifications that I've made to the addScripts hook? I've just hacked this line out and thrown the js into my aiom array. Seems to be working fine. $script .= "\n<script src='{$this->config->urls->AjaxSearch}AjaxSearch.js'></script>";
  13. Thanks !!! I knew I'd seen this. I just couldn't remember what this was called. This is a great point, I have that module, I'll do this ! You are awesome guys thanks for the perfect advice.
  14. Hey im on the hunt to be able to see everywhere that a page is used in a page field. I am using a bunch of tags and have been running searches to locate them, but I think it would be really usefull to see them in the template itself. Is this something that is already in existance? In my admin layout I have Tags | -tag | -tag | -tag I imagine I could whip something up in a week or so, but this seems like something that already exists.
  15. Forgive my ignorance:D Thanks! The two processwire links I've read which is what got me through the issue. I'll read into those top 3 tonight. Youre a star!
  16. So in the end my issue seemed to be in the processwire backend. I was trying to keep a simple file link of the companies’ current pdf catalog on the navigation at the top of the screen. I just wanted the client to be able to continue to release their catalogs in the format that they are use to. I have a template at the root of my page structure that contains global settings like logos and widgets. Inside of this template I have a file field that holds a downloadable file (a pdf). My issue was when I tried to upload the file it would show complete on the form, and then when one would try and click the link to the file there would be an error, and I would get a 403. The code that I used to generate the link was basically just this: <a href="<?php echo $page->file->url;?>">Link to the thing</a> The path that it generated was the correct path inside of my asset folder with the propper link, but as it was a bad file I was getting an error. The PDF was about 52mb. When I increased my memory limit processwire then was completing the upload of the file, and the download links would then work. As to why this was the case I am unsure, but as the code for my site is pretty basic I am fairly certain I was just having a memory issue. At this time I was also having some other issues with pro cache failing that seemed to be fixed when I switched over from fcgi to cgi processing.
  17. Ok, this is amazing! I have just tagged around 400 items with various keywords, I can now build all sorts of sections in moments without disrupting the perfect heirarchy of the pages themself. To be honest I cant find anything wrong with how the javascript works, it looks great. It doesn't seem to allow the adding of a tag that doesn't already exist, but that isn't a big deal. Kongondo, I want to buy you a beer buddy.
  18. Thank you so much for this kongondo! The work you did in there is fantastic. Well I'm not much of a javascripter but I may be able to tweak the code a bit. I'll need to read through everything to make sure, but this is going to totally save my baccon. YOU ARE MY HERO. I'll try and post back anything I come up with. *** People such as yourself are what make processwire amazing!
  19. Hey there everybody, yet another general question in the attempt to clarify some of my understanding. I have a great tag system up and running and would like to provide the client a quick way to tag multiple items within the site. There are situations as such: A batch of work is going to be displayed in a section that pulls via a selected tag. These works will be selected individually and may be based on all sorts of criteria things like price, or medium, or artist country of origin. For this what I invision is the ability to create a selector in batcher and update all of these items with a specific tag. Is this funcitonality something that already exists in a module? I know I can currently build these queries in batcher, but unfortunately there is no way to add fields to the editior to be able to batch update many items.
  20. It really sounds like you want ProFields, the table plugin is extremely flexible. Are you wanting to make changes to all of you separate pages via one template, or are you still wanting to edit all of the pages directly?
  21. K after going in and increasing all of my memory limits in my php ini I am back in business. Looks like having my core memory limit at the default 128M was too low, so I went and bumped it to 256. I have a deecent server, should I go and bump this even higher, like 512+?
  22. Interesting thing, I have gone investigating a bit further and for some reason the file upload is failing partially after upload. I end up with 60kb before it fails. Looks like I may have a timeout issue.
  23. I am trying to have the ability to have a link on my navigation download a pdf catalog. I have a field named "file" that I use for these types of instances, but after just testing it I am now realizing that I may have an .htaccess issue. Is there simple rule that would allow me to output a file download link by just using $page->file->url? When I try and generate a link I get a propper path to the exact asset folder but then the link causes a 403. Should I approach a file download a different way then this?
  24. As I said though, just a suggestion. I did see the photographer loading which is what led me to want to comment in the first place. I really like you use of infinite loading on the pages. Also your tag display system is pretty slick, I like the ability to grab selections of work based on a tag, I have a mondo tag system I've been developing that will be very similar. Great work though, it is really coming along!
  25. Loving the work. Im working on a very similar project, but I hadnt figured out how one would implement a add to custom list. I would really love to know how you plan on accomplishing this. I have just a couple observations. A small thing that was kind of confusing from a navigation standpoint is how the links go to the parent page where the photographer is on as opposed to the page itself, it wasn't until I moused away from the link, and it faded the rest of the images that I understood why you did this. I think from a gut point click perspective if I were to click on an artist I would expect an artist page. One little detail I think would really jazz up your page transitions, as you will be performing fades, would be using a little plugin like imagesloaded. Then you could fade images once they are loaded, and get rid of the loading of those big pretty images that you have. https://github.com/desandro/imagesloaded
×
×
  • Create New...