Jump to content

Alex

Members
  • Posts

    90
  • Joined

  • Last visited

Everything posted by Alex

  1. Hi, I have a project rebuilding a company website that does not have any CMS managing it at the moment. There is also the need for a separate site they refer to as an 'intranet' but it is more like a company resources website which is accessed by multiple interstate offices and also by sales staff on the move. This site contains files and info they would consider sensitive information. I am interested in using the multi-site feature of processwire to share some files across both sites. The resources website will have user login access, does anyone have any advice on additional security to protect the more sensitive company files? I have just started looking into VPN hosting for example, would this be necessary? Can I still use multi-site processwire if the company website does not require the VPN?
  2. Alex

    Houghton Academy

    This looks really great, it should feature on the skeleton site i reckon! I have been playing around with skeleton after seeing the new blog profile, it seems like a good responsive companion for processwire as it doesn't dictate too much how things should look.
  3. Solved now... I clicked through it, entered my database info then got this message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' found a post on stack overflow about it here which talked about replacing 'localhost' with the hostname of the machine where the SQL server resides, which I found somehow via my host control panel and it has worked. I don't remember having to enter this on previous processwire installs with other hosts. thanks guys hey am I able to set this post as 'solved' – I have never worked out how to do that? Alex
  4. Hi, I am trying to install processwire in a subfolder, getting the following messages on the install page: Unable to determine if Apache mod_rewrite (required by ProcessWire) is installed. On some servers, we may not be able to detect it until your .htaccess file is place. Please click the 'check again' button at the bottom of this screen, if you haven't already. Unable to determine server software. It may be okay to continue, but note that ProcessWire is only developed for Apache at present. The web host has changed the server from Zeus to Litespeed but i still get the same messages. Have had a look around the forums and a few mentions of ammending the .htaccess file but I don't really know my way around that area. Alex
  5. Ah checkbox, so simple so effective... thanks all Alex
  6. Hi Soma, Ryan and Marty, So i have a page using a template named 'upcoming-exhibitions' which contains all the content. I want to display some of that content on it's parent page (exhibitions) where i want to be able to turn on and off… so to speak. So on my exhibitions page I currently have this: <?php $item = $pages->get("template=upcoming-exhibitions"); echo "<h2>{$item->title}</h2>"; echo "<img src='{$item->exhibition_image->size(100,100)->url}' alt='$item->description'/>"; echo "<p>{$item->exhibition_summary}</p>"; ?>
  7. I have an area of content 'Upcoming Events' which has title, text, image etc.. I want to be able to make visible on a page and then sometimes remove it. At the moment I can unpublish an 'Upcoming Events' page and that content is removed from the page where I display it, but i still have a bunch of empty HTML tags left over. What is the best way to have an area of content turn 'off' without leaving any trace?
  8. Hi, I'm displaying an image on the homepage from a group of sub pages which all use the same template. I can display the image fine, and it is random. I can't work out how to get the image to link to it's page? My code below when you click the image it just keeps cycling through the random images. $image = $pages->get("template=artworks-child, sort=random")->artworks_thumb->getRandom(); $thumb = $image->size(550, 0); echo "<a href='{$page->url}'><img src='{$thumb->url}'></a>";
  9. Nice, very elegant website. I like the typeface I have been using it on a project. Good one!
  10. Alex

    joaovieirasantos

    whoa lucky there was talk about revoking your processwire membership for a while there... ha ha where did you dig that one up, its a beauty.
  11. Thanks Ryan, I have ended up putting it on a separate template, a bit simpler to set up now that I understand a bit more about it.
  12. I would certainly find this kind of thing helpful. Along with the scripts could suggest a list of resources for learning some really basic PHP which I am doing at the moment.
  13. I'm looking at getting an RSS feed on my blog page, i'm unsure how to incorporate the example code provided from the RSS Feed Module forum post into my template. Is it mean't to go on my blog page template or exist as a separate template? <?php // retrieve the RSS module $rss = $modules->get("MarkupRSS"); // configure the feed. see the actual module file for more optional config options. $rss->title = "Latest updates"; $rss->description = "The most recent pages updated on my site"; // find the pages you want to appear in the feed. // this can be any group of pages returned by $pages->find() or $page->children(), etc. $items = $pages->find("limit=10, sort=-modified"); // send the output of the RSS feed, and you are done $rss->render($items);
  14. Pretty cool that there are businesses still in existence doing this kind of thing. Looking forward to the wood type collection page
  15. Alex

    croatiabirding.hr

    Yeah very nice site and great photos. I have been to Hvar and Plitvice Lakes nice to find those here.
  16. I think I might have this problem too. When you say its fixed in the latest commit, do you mean that I need to download Processwire from Github and replace my install as if i'm upgrading?
  17. Marty - Yes they are sharp, I found that If uploaded large images, when they get resized they got slightly fuzzy. so we are uploading the images at actual size and most of them we add a bit of sharpening in photoshop which helps with images that are more graphic or have text. (photoshop > filter > sharpen > unsharp mask). But this is just because we are being overly pedantic about our own work. I'd like to know more about the image sizer settings at some point.
  18. hmm, I can't forsee a need to disallow cropping but allow editing in what i'm doing. on a related roles question I have... I created a new user role for my workmates with all the default permissions allowed, but they can't create or publish new pages, just edit existing ones. I'm not sure how permissions work exactly but can I add ability to create and publish pages to a role?
  19. thanks for all the comments, yeah sure thing Diogo thanks for posting the poster!
  20. Hi, Here's my first site using Processwire: Hoof is a Graphic Design studio in Melbourne I run with 2 friends/colleagues. http://www.hoof.net.au/ I've had a lot of assistance with this from everyone in the forum answering my questions, thanks so much for all the help! If you are reading Diogo - I have the PHP book you recommended its great, there's a few lightbulb moments there. I'll be able to pick apart and improve my templates a bit now. Its been said many times already… processwire is a pleasure to use. I'm looking forward to learning a lot more. Regards, Alex
  21. just worked it out... add field name to the $matches section of the search template
  22. The search form on the basic install works fine and is great... But if I add a new text field, i can't get it's content to appear in my search results. Do i need to configure new fields somehow to make them 'searchable' ? alex
  23. Works like a charm, I upgraded to 2.2 while I was at it and added permission "crop-image" as you suggested. Works great. thanks!
  24. No worries, thanks for the reply. I can give my workmates superuser access for the time being - its not a critical thing for me.
×
×
  • Create New...