-
Posts
1,147 -
Joined
-
Last visited
-
Days Won
4
Everything posted by onjegolders
-
Thanks 3fingers, that is seriously impressive! Shame we mostly use Fireworks but when working with PSDs that could be a real gamechanger. Almost needed this tool a couple of years ago when websites tended to be more graphically intense and challenging.
-
http://www.brackets.io looks very promising too. Feels very modern and I like the styling in place that can be done but would take a lot to take me off ST2 at the moment. (Sorry I realise these aren't actually full IDEs) Always thought of ST as very fast already. I think ST3 is even faster so Textadept must be doing something right
-
Register users and add page same as username
onjegolders replied to Vineet Sawant's topic in Getting Started
Hi Vineet, All that will happen with this code is when navigating to members/joe-bloggs, that page will only be viewable if the current logged-in user's name matches the page name. Something like: if ($page->name == $user->name) { // show page } else { // 404 } Which is why the page name and the user name that are created need to match.- 30 replies
-
- login
- create page
-
(and 1 more)
Tagged with:
-
I'm going to give this a go for inserting galleries on the fly. I think this combined with responsive CSS is pretty powerful stuff.
-
Combining Page field with URL field
onjegolders replied to onjegolders's topic in Wishlist & Roadmap
Thanks Dave, it needs to be a simple field if possible but the Hanna codes do look interesting (possible duplication with Nico's shortcodes?) Thanks Diogo, I think I'll go with the second option for now but I think it's more bombproof if it can be added as a future module (I'll make a feature request ) EDIT: Diogo, could you move this to feature requests? -
I've been a naughty boy...
-
Just a quick question, is it possible that this could work with a password field (for uploading users). Thanks.
-
Hey guys, I was just wondering if there was any scope for combining a Page field with a URL field. The circumstances are that I have certain blocks in a sidebar and the user can choose to link them either to an internal page or to an external url. I'm pretty sure that this is feasible from within TinyMCE but not sure how to approach it from normal page fields. The user could copy/paste in an internal link but I was wondering if there was any possibility of a future field where a user can choose either a page or a URL?
-
Thanks Ryan, actually I think it's firing that error but changing the value anyway, so not such a big issue for me.
-
I think it was as Ryan said a memory issue, I upped it to 256m and all seems well again. Mysteriously changing them to .png somehow got them uploaded but then they wouldn't get cropped in the front end.
-
I've been having this problem again recently and I have no idea why but if I rename the file extensions from .jpg to .png they upload fine. Strange. Edit: Scratch that, they upload fine but then behave weirdly in the front end and don't seem to be cropped.
-
Hi gRegor, first of all welcome! Before going into your code, are you aware that there is an excellent and simple module for this already? You can choose maxdepth as well as your own custom selectors. Here is the relevant thread http://processwire.com/talk/topic/1036-markupsimplenavigation/ You may well be aware of this already and want to code your own but just in case
-
I think it's interesting personally. I think often as web designers we like to show off our content but we struggle at pushing our own sites towards new sales, they serve simply as a reputation check. This is fine but their approach is more like a product driven site. They're telling you step by step what you get then try and get you to signup. An interesting one for sure.
-
Try Line 140 of config.php
-
(#$%^) Watch Fast & Roderigo Meat Boat Movie in the Nude @
onjegolders replied to levies28's topic in General Support
I think Drupal the movie would be possibly the longest, most drawn-out movie in the history of mankind. And as for Joomla.... -
Just come across this, where I can't change the default language because I get the following error: The guest role is required (it's greyed out)
-
For the pages belonging to an author I think you can use the following selector created_users_id= (as per cheatsheet) so $auth_pages = $pages->find("created_users_id=$userpage->id"); Not tested.
-
I think Marc has it pretty much right, that's certainly one way of doing it. Essentially if you want an easy life you'll probably want to take advantage of the built-in $user so you end up with the options detailed in Marc's link: I think in many ways this may be simpler than all that as the user role in this case will just serve to give someone access to a certain page/pages. If you want to have the administrator's use PW's backend then you'll want to create a module which uses a page hook so that on page save of type "student", a corresponding user gets added. This will mean the administrator doesn't have to remember to add a user each time and make sure the names match up. In your template, you could then either use page reference fields to match a parent (user) to a student page or alternatively redirect the parent on login to the page where the $student->name == $user->name. This could all equally be achieved in front-end forms (as I have done in the past, for a similar case to yours) and you'd have the advantage of styling them how you wish.
-
Display a list calendar using a date field
onjegolders replied to antknight's topic in General Support
I presume it's taking care of the formatting so it wants the date in an unformatted state. -
My new site (combining nico.is and stadtpirat.net)
onjegolders replied to Nico Knoll's topic in Showcase
I think a good word for this site is "engaging" and I think that's a very important part of any website. -
My new site (combining nico.is and stadtpirat.net)
onjegolders replied to Nico Knoll's topic in Showcase
Love it! Obviously as you made it I love the modern feel and type and the humour and quality touches that you've applied. I also quite like the minimalist "contact" page There's a few image links down but guess you're working on them. Great work Nico, comme d'hab. -
Thing is here is that they're both "my" sites so it makes me think somehow it's not a coincidence. But the UA tag is def different. Anyway am giving Piwik a try as it's about time I looked at the competition!
-
Thanks Diogo, will check this out, I really appreciate your input (as usual)
-
Hi Wanze, Thanks for the reply have since seen that it's the same in Google's UI. Very strange!