-
Posts
4,046 -
Joined
-
Last visited
-
Days Won
67
Everything posted by Pete
-
Trying to get the first object with a condition
Pete replied to tinacious's topic in General Support
Good point - what browser/OS are you on nik?- 16 replies
-
- conditional
- foreach
-
(and 1 more)
Tagged with:
-
It means you talk to much are very helpful I'm trying to catch up, but I'm not as Ninja-quick as everyone else at answering topics first. I do like that so many people are keen to be first to respond - it shows that we all very much enjoy being here and helping out
-
Trying to get the first object with a condition
Pete replied to tinacious's topic in General Support
@Nik CTRL + F5?- 16 replies
-
- conditional
- foreach
-
(and 1 more)
Tagged with:
-
Well as it's not something I can say I'm able to repeat I'd guess maybe browser but possibly server related? Anyway, way off topic now
-
OT: I re-programmed the forum software so you can't post as fast diogo - randomly deleting some content should slow you down Actually, I don't know, but I have had an unrelated weird issue today that I'm hoping was just badly cached javascript.
-
Not sure, but I think this might be exactly what you are looking for: http://stackoverflow.com/questions/463143/narrow-a-list-of-items-as-you-type-with-javascript jQuery is the easiest solution since you already have all elements on the page before you narrow them down
-
This sounds awesome - excellent first post
-
The ProcessWire equivalent would be repeater fields: http://processwire.com/videos/repeater-field-type/ And you could easily set field widths to have a layout similar or indeed slightly better than that interface But yes, what diogo said about coding it without storing settings in the database is also very relevant. EDIT: Stop replying so fast you guys, I'm having a slow day
-
It's good to see the jobs board is working as intended
-
And I finally need to buy one for a project too!
-
I also mentioned previously that it might be more relevant to be able to set permissions on a section of pages, so it might be good to be able to click on a page called News, tick "apply to all children" and then go down a list and tick what permissions are relevant in a sort of matrix list. I think I explained that better in another thread with more relevant scenarios, but can't find it just now The problem with any of this is that it varies so much between sites as to how you would want to set it up.
-
This is one of the reasons I found I hadn't read some of the docs until last weekend, and I've been using the software for 18 months now To be fair though, I so rarely need to look at the docs and I think that's part of the reason I've only just found some things hidden away there!
- 7 replies
-
- multi-domain
- multisite
-
(and 3 more)
Tagged with:
-
I would suggest doing $page->image->delete first in this case then.
-
How to insert/register code before closing </head> or </body>?
Pete replied to titanium's topic in General Support
So where are you calling this: $injector = $modules->get('Injector'); $injector->regClientHTMLBlock('<script>document.write('Hello world!');</script>'); $injector->regClientCSS($config->urls->templates . 'css/basic.css'); $injector->regClientStartupScript($config->urls->templates . 'scripts/jquery-1.9.0.min.js'); At the very top of head.inc? -
Aarrgghh! So frustrated that I need to build some functionality into another ecommerce system that would take 20 seconds in ProcessWire. I need to add a related products feature to a blog section - in the other software this means I likely won't be able to do it or will spend a week working it out. In ProcessWire it would be soooo easy. I'm going to make an effort this year to use ProcessWire for every type if site that comes my way - that way if I need to do some customisation I know it will be easy! I've now changed the title of this thread so I can vent my frustrations about whatever system I have to wrestle with to do what I need it to
-
Hi Bethanie Next you will need to go to yoursite.com/index.php in a web browser to start the installation process. You will also need to have created a mySQL database through your web host's control panel.
-
I thought it might be fun if everything translates into "WillyC speak" though?
-
I did just think that someone could build a module for the forum software (no easy task!) whereby you can set a language code for a forum and a language code for your own user account and have those forums not in your language translated automatically by Google Translate. It would probably never work though for some reason or other that I've not thought of.
-
Love that idea The more local activity there is the better I think. And let's not forget that all of this will end up in search engines driving yet more relevant traffic our way.
-
Someone added 5,000 more posts in 2 months since WillyC posted this So... if traffic just stays the same we're looking at 30,000 posts a year? That's neat, but I think by the end of 2013 we might be a lot closer to the 100,000 mark than the 50,000 mark.
-
I hadn't noticed that - in case others missed it, you can read about it here: http://processwire.com/talk/topic/2491-skyscrapers-profile/ I quite like the idea as you can really keep things tidy this way.
-
Yes - I'm pretty sure one or two of the rendering options allow for that Ray. Certainly the iframe way (which looks nice and not at all like an iframe ) will and I'm pretty sure the roll-your-own-HTML way of doing it will work too. As an example, there are hidden fields at the end of the forms like this: 1:contact-us:125e5bf0ddbe17eb22d269da97b0188f So it knows the form ID and name from that which I assume is so that you can use the same field names across different forms. For the best experience though, I think you need the latest Dev branch (2.3) of ProcessWire to make use of the latest version of FormBuilder. Sorry, lots of "pretty sure's" and assumptions in there now I read it back
-
And maybe 5 is if there is a localissd community site, a link to that if desired.
-
Merged pull request - thaks Soma.
-
I think that part of this comes down to the need for such a module to check which pages an images is used on (which means another database table preferably, otherwise we have to somehow search all page content and fields), and the other part is the centralised gallery idea. One idea that does come to mind when thinking about categorising images is to have an additional field in the images fieldtype called Category - this could be a relatively easy way of assigning page-related images to a category in the flow of the page. So on the one hand you're doing away with the clumkiness of other systems where you upload images to a gallery, then write a post and during that process you have to navigate the gallery to find the image, and on the other hand you're at your leisure to say "this image is relevant to go in the gallery, and in these categories". Needs some thought, but I'm trying to think of the nicest way to make it so that adding content isn't extra work and at the same time making images available elsewhere. Yes, you're then back to the issue of images being tied to a page ID so there does need to be some checking for if the image or page is deleted that it is stored against. In that case there needs to be some really clever code to either move it elsewhere or handle it some other way. Okay, just thinking about the technicalities is giving me a headache