-
Posts
461 -
Joined
-
Last visited
-
Days Won
7
Everything posted by Tom.
-
Thank you for your feedback Kongondo, I'll bring that to the rest of the team and we will have a discussion on it.
-
Thank you very much, feel free to check out any of the source code
-
After finding ProcessWire, I knew it was the perfect fit for our corporate site. The power behind PW meant I could do anything I wanted quickly and efficiently. I very quickly moved on from WordPress to PW for our clients and I have never looked back. WordPress has always been frustrating to use however I felt the alternatives I found came with their own faults also. However this is a very different story with ProcessWire, it ticks every box. The API is powerful, versatile and easy to use. The CMS is secure with no known venerability (how great is that!), The templating is very easy and sticks to PHP convention. There is plenty of custom fields in the core, but great module support also. But also it's very easy to use for clients. All these are important and ProcessWire ticks every box (including multi-language). I can't thank you enough Ryan (and others working the project) you have really made an excellent product. http://www.thebrandnewidea.co.uk/ I look forward to hearing your feedback.
- 20 replies
-
- 15
-
-
Same here, no Core or Dev. Scratch that, logging out and back in again fixed it.
-
This is absolutely perfect for a property listing site I'm currently working on. Now estate agents can use the API to get their data. Amazing work as always Ryan!
-
Hi, ProcessWire is completely versatile so this can be achieved many ways. Recommended, would this be based on the user history? Also how will you be dealing with identifying the product. For example tags/category? I am by no means as talented as most of the developers on here, and I'm also pretty new with ProcessWire and I'm still learning, so my answer may not be 100% correct. But I'll give it ago. If you are wanting it on your users session history, I would store each product ID in an array firstly using the $session API <?php $session->viewed = is_array($session->viewed) ? array_push($session->viewed, $page->id) : array($page->id); ?> Then to display related I would do <?php foreach($session->viewed as $view) { $v = $pages->get($view); $c[] = $v->categories->name; } $c = implode("|", $c); foreach($pages->find("template=product, categories=$c, limit=10")->shuffle() as $item) { echo "<a href='$item->url'>$item->title</a>"; } ?> This probably isn't the correct way, but lets say you have been looking at TVs, so you've been in the category TV, it should return TVs for that user. You may want to limit how many pages are stored in a session that way it will always be current with that they were recently looking at.
-
You are not bothering us at all, we are here to help the htaccess file will deal with all that. I'm not too sure what you are doing in the htaccess file to redirect to your server, but it seems it's using the domains server htaccess file as you mentioned and not ProcessWires. Once you point it over to your server, it will start using yours. It's really important that you change htaccess.txt to .htaccess as that also offers a lot of security features.
-
Hi Frangoo, Nameservers decide where the DNS is hosted. The DNS is like a highway interchange with signs "www.domain.com" that lead to different exits. For example you can have "helpdesk.domain.com" go to a completely different server. Changing the nameservers means you hold the DNS and you can decide where these exits go, in your case your server. As you may know servers all run off an IP this may look something like 192.168.0.1 all a domain does is mask that. For example www.domain.com = 192.168.0.1, helpdesk.domain.com = 192.168.0.2. In your case nameservers may not actually be the way to go because he may have emails hosted else where. These are known as MX records and they are part of the DNS. Changing DNS can get rid of these records and cause his emails to stop working. Scary I know. However it's not much a problem at all. What you need to do is let them host the DNS as normal, but change the "exit" to your server. To do this you need to login to where their domain is hosted, go to the DNS and change the A record "@" or "*" (These are root/wildcard records) to your server IP and change "www" to your server IP. This will give you the results you are after Actually messing around with the .htaccess file to do this is more complicated.
-
Hi Fangoo, For what is your reason behind using a .htaccess file to link your domain to server A? Why not use nameservers? Thanks, Tom
-
Simplistic, I like it! While I do not speak any German I have no problem navigating that site. So great UI/UX there. Also your portfolio work is looking great!
- 4 replies
-
- 1
-
-
- portfolio
- responsive
-
(and 1 more)
Tagged with:
-
For my personal projects I use these guys. I honestly wasn't expecting anything much from them as these "Unlimited Webhosts" never live up to their means. However I actually prefer these guys over the more premium hosting we use at work. The support is absolutely amazing an usually respond in 15 minutes. I've used DigitalOcean before, but I much prefer the ease of use of managed hosting.
-
Is your image field an array? If so you may need to do foreach($m->image as $image) { $out .= "<img src='{$image->width(450)->url}' />"; } Correct me if I'm wrong, but I don't believe you need the if check as the page needs an image to have an image tag, so we know this will always return true. EDIT: Re-read your code, it doesn't look like you are using the built in image tags? http://processwire.com/api/fieldtypes/images/ you will need to do an if check around the foreach.
-
Thanks for your help Bernhard, it seems to have corrected itself deleting and re-adding the field. It must have just been a strange bug. Thank you very much for your response and help, it's much appreciated.
-
Hello, I have indeed. <?php $map = $modules->get('MarkupGoogleMap'); echo $map->render($page, 'location'); ?> It's outputting the map fine when I use any other location but that one. It seems to be a problem with the longitude value. If I use any other location it works fine however if I use "S6 1ND" I get an output of 0.0000, 0.0000 in $page->location. However in the back-end it will have the correct values. Even $page->location->lat will return 0.0000. Can you replicate it? Create a map field and enter the location S6 1ND. EDIT: It seems this user had the same problem as me, deleting and recreating the field fixed it. I wonder if it's something to do with the default?
-
Hello, I'm struggling with this one, I'm not entirely sure what's happening. I seem to have everything set up correctly as per instructions however I'm getting a javascript error and the map is displaying empty: "Cannot read property 'x' of undefined" However everything looks fine and rendered correctly in the backend FieldType. Not sure if anyone has come across this before? I can use the API for now to render it using $page->location->lat, however using $map->render($page, 'location') doesn't seem to be working. EDIT: S6 1ND (0.000000, 0.000000, 15) For some reason the longitude and latitude is returning 0.000~, 0.000~ even though they are defined in the backend 53.4251316, -1.5238964000000124 EDIT: It seems to be the geolocation longitude that seems to be causing the problem "-1.5238964000000124" though this was generated by the system based on the address.
-
Hello, I just thought I'd mention this, I'll most likely post on GitHub. I just want to make sure I'm not being a total newbie. Introduction I'm creating case studies that will have a slider. For this I've opted for repeater over PageFields as it will only have the fields, text and image. I understand that PageFields are the way to go over repeaters, however I felt creating new pages and using the iFrame to edit might be a little too much for this particular project. (Correct me if I'm wrong, I'm new to ProcessWire) The Problem I have created a tab called Slider, in this there is a repeater that has a few fields. However, when I add content to this field and save, the content does not save. How to reproduce Create a tab Add a repeater to the tab Add content to the repeater and save The content should disappear. If it doesn't then I must be doing something wrong, somewhere. Thanks, Tom
-
Hi @Gazley, There is no denying, Semantic UI is very beautiful. However UI Kit has a few more modules that lets me get work out of the door quicker (and make a bigger profit). Here are a few things that I really really like about UI Kit and some things that I don't. Grid 1. data-uk-grid-margin This will add a top margin based on the grid margin when the column is collapsed. This means on mobile no elements are sitting right on top of each other. Instead they have a nice margin between each section. 2. data-uk-grid-match Great for having columns in which you want equal heights, you can do some pretty nice visual designs with this. Such as 50%/50% full width layouts. Components 1. Parallax Like most things with UI Kit it's completely modular and I only include elements I want to use, this makes it super easy. Parallax is one of those elements, it means I can easily add in Parallax elements and still keep it all in the UI Kit Framework. Other useful components include... 2. Dynamic Grid Much like Isotope js, this allows you to create dynamic filterable grids. 3. Sliders There is many options here, there is Slider which allows for mouse scroll and is great for mobile. Slideset which is filterable, great for showing things like clients and Slideshow which is just your usual slider. This comes with plenty of animations, which is all also modular. Core 1. Flex components While not completely supported by older browsers, this gives great control over positioning of content, such as centering content in a div. Combine this with data-uk-grid-match and .uk-flex-middle, you can create absolutely beautiful looking sites. 2. Text Columns Responsive text columns are great, while they are relatively new in not widely supported in browsers, it's great you have that option for modern browsers. 3. Scrollspy Great for the elements that animate on scroll, you can add any class to this also (or even use the javascript event) to have full controls. Javascript Events You can easily hook into Ui Kits javascript events to add custom javascript when certain things happen when using the modules. I know most frameworks have this, but it's a nice things to have. Here is a CodePen showing off a few things that I mentioned (I've tried to put in as many as possible): http://codepen.io/anon/pen/dYVRgQ --- The Bad So here is the bad, not all the components are well polished and require little fixed. For example sliders (used in my example), I much prefer showing them 1 by 1 as it's nice for iPhone uses to use touch controls. However, if there is less than 4 elements, there is sometimes a white flicker on the previous slide as you slide through. It's subtle but it happens. I get around this by making the background black to the slider. It isn't a fix but it makes it less noticeable. The sticky menu doesn't play nicely with the offCanvas and will sometimes stick, I use CSS to get around this applying left: auto !important. Resizing the screen while offCanvas is open will not recalculate the width, breaking the responsive. I got around this by applying width: 100% !important; to the offCanvas overlay. One more thing is that it doesn't apply box-sizing: border-box globally by default, while this isn't much of a problem and more of a personal preference. Overall, these problems are being ironed out and github is getting more active. I do wish for the github community to grow as there are plenty of talented coders out there and UI Kit for me is a great framework which comes with many useful features and most importantly is modular to keep sites lightweight.
- 31 replies
-
- 10
-
-
I use Ui Kit religiously, I have tried many different frameworks. I must admit I haven't used Semantic before, however it does seem to be missing some modules that UI Kit has.
-
It was indeed intentional, you can select from defined gradients using the CMS so the pink bar is purely for consistency even though sometimes it looks to merge with the page.
-
Thanks guys! Good eye @MuchDev, Chrome is doing an IE6 and adding styles I didn't ask it to add. using outline: none to inputs has fixed it
-
Thank you very much guys, also thanks for spotting that Lost. I don't know how that one slipped through the net. Much appreciated.
-
I'm currently developing about 4 websites in ProcessWire as I've moved all my bespoke development away from WordPress. I'm so happy I've found ProcessWire and I've been recommending it to all my developer friends. Seriously @Ryan, you are a very smart man. Thank you for bringing us such a great CMS/CMF and releasing it for free. --- Jump-Inc is the first site that I have released using ProcessWire, I'm very keen on staying active the the PW community and I will be sharing which sites I have completed using PW. http://jump-inc.uk/ Jump-Inc is a trampoline park opening in the UK, I have used the responsive framework UiKit and for the parallax slider I have used Revolution Slider. I have used @Soma 's ColorPicker module for the gradient picker. Keep up the great work Soma, I love the fact that you can define a selectable colour pallet. Thanks again ProcessWire and the people who contribute to the project.
- 12 replies
-
- 18
-
-
Hello, I noticed that there was a way to crop images once uploaded using the image crop feature shown here: https://processwire.com/blog/posts/image-editing-features-continued-2.5.20/#more-image-editing-features However I'm running 2.6.18 dev and it's not there. Click the title just brings the image up in a light box also no crop icon shows. How do I activate it? Thanks, Tom EDIT: Sorry, I just realised that this was only available on images just uploaded with the page not yet saved, not with images already on a saved page. Not sure if this is intended functionality.