Joss
PW-Moderators-
Posts
2,870 -
Joined
-
Last visited
-
Days Won
47
Everything posted by Joss
-
@apeisa Yes, as far as I know you are right - the regulations only come into force if you are storing card data. I ought to have a look at your module, me thinks! Joss
-
@Pete As an extension to a tutorial, perhaps supplying a profile That is as close as possible would be interesting. MInd you, I suppose Ryans blog profile is not far off already.
-
Sorry if this has already been discussed: I was wondering how difficult would it be to add a default source page to an image field? This would do two things in the context of a form: Set the default page to look for an image Set the default page to save an image In the case of the first parameter, this would just change which page is selected by default in the current pop-up box. So no major change to the interface, it would just default to a page other than the current one. The second is a little more complicated. It could work in one of two ways: As a hard setting that can only be changed by editing the field parameters - so it would always save to this selected page or to the current page if not enabled As a soft setting so that as part of the upload you can choose which page the image is added to. In this case, the field setting would simply be defining the default page, but this could be overridden on the form. A more comprehensive version of this might be to specify a handful of pages that can be accessed, or the children of a particular page, or all pages. Both these functions should, perhaps, be optional, so you can tie a user down or give them a bit more freedom, depending on the form. In putting together my demo sites, I am finding several instances where I need reusable images. Especially in blocks or widgets. Although I can create a special page(s) for these images, it would be a lot slicker if I can preselect this page for the form rather than having to navigate what could become quite a complicated tree. Also, having navigated to wherever I have stored the image, it is a pity that I cannot then upload to that page from the form I am currently using if I suddenly decide I want a new image. Although this does not create a full media management system, it actually comes pretty close, while still respecting the way ProcessWire works. I have no idea how to implement this, before some bright spark suggests I go do it!! Joss
-
I quite like naming it Fred. Its a family tradition. (Freda if it is a girl website, of course.)
-
Hi There! Interesting enough, I completely missed the module when I was doing a demo site the other day and just downloaded Fancybox (and a couple of others I needed). You might as well use the module (since it is there), but any JavaScript or specific JQuery you want to use is as easy as just following the instructions on the suppliers website. Which means you are completely free to use anything you want. One note (which you may have already worked out) - the JQuery in the site/templates/scripts directory only effects the front end - so you can update it (if it is out of date) to whatever you want. Or go for a different system instead, of course.
-
Okay, I admit I quite like designing forms too - getting the layout really nice and logical so the user is easily walked through the process is really satisfying. There is an amazing amount of human psychology in a good form design! Not that I am any good at it, mind you!
-
Just updated the demo a bit - details on the original post.
-
One of the things I find very clever about Facebook is that they concentrated on pure functionality rather then look - the idea being that it was what people were posting that was important, not the frame. I see this with my kids who have always found Facebook very intuitive to use where as things like Myspace was cumbersome and awkward. When it comes to how it affects social interaction, in fact, I think it has had much less impact than sociologist like to think. In the end, it is only a platform - how you choose to communicate is purely personal. When I see the conversations on facebook between my lot, they are no different from the purile communication that was common to Usenet years and years ago - or, for that matter, the playground of my youth. The real impact is that this form of communication is now in the global public domain, whereas previously it was in little, isolated pockets. Twitter, with its limit on the number of characters, has probably had far more impact, and although I do use it, I am not fond of it. Actually, I dont use any of these systems particularly. I used MySpace purely as a promotional tool, but that has wained, and some of my writing automatically posts to FB and Twitter. But they are not a day-to-day place for me in the way they are for the rest of my family.
-
You may want to see if you have arcade candy installed on your computer - it may have got installed with something else. There are various guides to manually removing uavou if you search on google - looks like a tedious job but a necessary one.
-
heh! Depends on the part of the world In India it was "Well, hello there! Lets do business! Any of you chaps like Gin?" Unfortunately, it went a bit down hill from that point.
-
And then you should do this one: http://wiki.processwire.com/index.php/Basic_Website_Tutorial (Which is the one I thought I had sent you to - sorry, if I didn't) And then you should just play!
-
Oh, Andrew Sachs is a good egg, except he did get upset when John Cleese hit him with a spoon.
-
Er ... depends which pub you went in. Try Earls Court - the Aussies down there couldn't tell a Slovakian from a Welshman after about nine in the evening ... *Joss ducks before someone throws a tinny at him* (Sorry, that is a ton too many London references - I have probably lost about 90% of my audience)
-
Hi I use Cloud Flare all the time for my own sites - the free version. It is very customisable and has a very good and intuitive UI. At its basic level it just hosts your zone files and uses their name server. But if you go via their full system, it filters out a lot of potential problems as jacmaes points out above. In addition it can cache various elements of your site - for instance your JavaScript files - so that they are not being served from your server. On a quiet site that does not make a huge difference, but on a busy site can be quite substantial.
-
Well not to Cumbria because from you North West will take you into the Irish Sea. Eventually you will hit the Isle of Mann of course and then you will be in all sorts of trouble. I suppose we could hold the meet up at the new place on the top of Man Tor in Derbyshire. No idea what the internet connection is like up there but at least it is pretty much in the middle. Good beer in Castleton as well, I vaguely remember.
-
I suspect that is possibly rather optimistic, In the end, it does makes sense to have just one "facebook" type system in the same way as it makes sense to have just one internet, especially to help support the idealistic view that the internet is the very definition of the Global Village It doesn't work so well if the "village" is made up of hundreds of competing communities... On the downside, Facebook is a commercial business and should a commercial business be allowed to be the social centre of the global society? Then again, I doubt that 99% of people really care!
-
"But now its, National Brotherhood Week....." For all those Tom Lehrer fans out there.
-
If I can just squeeze in here!! Ta much!! That worked. I mean, putting a dot in worked. Joss
-
Evening! I have a "pages" field in some news articles that is for selecting a year. I can retrieve this field from the article like this: <?php echo $pages->get("/news-articles/proper-photography/")->News_Year->title; ?> "title" is the field I used in the pages that make up my selects. So far, so good. Now the problem. I need to get an array of pages matching this value to a variable. For instance, I need all pages where this field = 2012. So: $newsitems = $pages->find("template=TB_News, =$currentyear"); $currentyear is my variable is me not knowing what to put! if "News_Year" was a text field I could just put that field in there. But because it is a pages field, I need to get the "title" bit. Obviously, if I put News_Year->title in there, PHP thinks I have gone nuts and bursts into tears. So, how to I get that value and put it in my hole? Joss
-
You mean people live in the Midlands? I thought you had all disappeared down the Watford Gap!
-
AH, that is interesting - my few thousand friends seem to have vanished. At least my music is still there. All the other info has gone though. Design is interesting, but I have yet to work out what can be done with it
-
Damn, I am sure this calls for a joke from me, but I cant think of one. :={~
-
InputfieldTinyMCE should be in /site/modules/
Joss replied to Nico Knoll's topic in Wishlist & Roadmap
Martijn, that is a good point - but I was sort of thinking of this as optional modules where you have a bit of control what browser your end user is using! (Even if it means stealing their laptop and installing it yourself...) -
Running a Daily Newspaper website with Process Wire.
Joss replied to Crssp's topic in Getting Started
In ProcessWire, before you try to do anything tricksy with it, your Tree Structure will be reflected in your menu and consequently in your URLs Which is nice and simple. So for instance, you might have a page under home called Sports and under that you would have all your sports pages. Of course, in your case, with so many pages, that would make your menu unusable! However, the system allows you to list pages by their parent, so, you could create an index listing page called Sport that sits in the top menu. Then, somewhere else on your page tree, you could create a Hidden Page (published, but it wont show up on search or the menu), called Sport-Articles. Then, all your articles would be children of that page. Back on your index listing page you can use a very short piece of code that basically says: Return all pages that are children of Sports-Articles and Display the Title of the page. (I am leaving out the code at this point just so that you understand the workflow for the moment). Now, suddenly, you have a very simple listings page, that you can add pagination to, that will work its way through those articles. From that point, you can get the URL of the article which, when clicked, will display that page using the bespoke template for the Sports Articles that you have designed. You will probably have a more complex system than that with the pages sorted in a more complicated way, but the principle will remain the same. Note: The difference between $page and $pages is that $page is used to get fields from the current page and $pages is for getting fields from another page or a group of pages (using a foreach loop, normally). It can get a little confusing - the difference between a template and a template file, for instance - but it is less to understand than you think. Once you have done the planets, have a go at http://wiki.processwire.com/index.php/Basic_Website_Tutorial It is a much more detailed tutorial which takes you through a few more of the techniques that you commonly use. It is longer, but not too bad, and has a little bit of scripting for you to copy and paste. The tutorial is very new and though it has been tested by a couple of people, it may still have some pitfalls for very new users, so I apologise in advance if it gets complicated. On the upside, it is written by me, and I am not technical - so it is aimed at other non-tech people! What is going to be essential for your project, is going to be to decide how you want your site to break down. What sections will you have, how will the articles be listed, how will they be displayed and so on. For instance, you may want a different feel to the sports page than the politics page, each with their own submenu of sections and search - but have a common navigation at the top, or similar. With the amount of articles and folders, it sounds like you may need something like that!