-
Posts
79 -
Joined
-
Last visited
Everything posted by NikNak
-
Thanks guys for the suggestions.
-
Hi there I am a graphic designer in London - I generally deal in print but also build small websites. I have built one PW site so far after a shift from CMSMS and think this is the system I want to stick with. I have been asked to quote on a website for a small organisation with 600 members, who each pay an annual subscription for their membership. Members get to see the membership directory and more content etc. The customer has said they would like to be able to take online payments for renewals from their members. I might just be able to work out a paypal solution from what I have seen on the forums but I'm not really confident with this side of things. I'm interested to see if there are any PW experts out there who could help with this online payment requirement - and offer advice on a simple solution, as well as implement it. Another requirement may be implementing Mandrill for automated email communications with members. In general, I am looking for a skilled freelancer or freelancers who I can call on for PW support when things get beyond my skill set, and potentially for full site builds. Please PM me if you are interested. Many thanks Nik
-
Yep - 'sharpening' => 'none' on the image sizer options cures the issue. Thanks again Martijn. Wish I'd found that post sooner!
-
Thanks v much Martijn for the reply - Raymond Geerts clearly had the exact same issue That helps a lot - I'll look into Horst's workaround to see if it helps. Fingers crossed I'll get it sorted. Kind regards Nik
-
Hi there I'm having troubles with transparent PNGs looking pretty bad when scaled in PW. The following image has a transparent background: Original image: 59k Resized image: Quality 90 32k Resized image: Quality 95 130k Resized image: Quality 10 28k There are black shadows appearing around the edge of any transparent area that isn't fully black. This results in an unusable image, currently. It is happening on all transparent logos I'm uploading. The code I use is here... $logoOptions = array( 'quality' => 100, 'upscaling' => 0, 'cropping' => 0 ); $logoOut = "<img src='{$page->logo->size(180, 180, $logoOptions)->url}' width='180' height='180' />"; The quality setting makes no difference to the corrupting of the transparent edges. I have tried PNGs output from Illustrator and Photoshop to make sure it wan't to do with the original, and I have tried two different installations on a local and remote server, both on PHP 5.4. Is this a limitation with GD in PHP? Does anyone have any suggestions [other than convert your images to jpg ] ? Kind regards Nik
-
Thanks Ryan I agree and think the best approach is to use PW users - I think I need to do more research into how to make such a page with a form work in the admin area. Still a noob. Previously I was planning on making each new front-end-user initially as a page, and then creating/updating the pw-user from the page every time a save is made - using a hook. I guess this might be seen as unecessary duplication. Any thoughts? Much obliged for the help Regards Nik
-
Hi there Can I ask what would be the best way to approach a situation where you require front-end users to log in before before being shown certain content and being able to download files. The users would be set up by the site manager (not superuser), but I want to keep it simple for these admins, without mixing guests up with all the site admins, and for them not to have choices over user roles etc. Would the best option be to use the built in users functionality? In which case, is there a way to keep this section of users separate from the main users list. In an ideal world, you'd create a new user as a new page under a separate parent and separate from the rest of the sites admin users. I've been searching on the forums and am getting a little confused. Many thanks if anyone could share their opinion. Kind regards Nik
-
I like this new theme a lot - my preference is classic. I'm not sure if anyone else has noted this, but the notification at the top of the page if there is an error (eg when saving a page) is barely readable with black text on a dark red background. Many thanks for the hard work. Regards Nik
-
Ha - tried to flattr you - but for me their api returns a blank screen in chrome and ff at the mo!! Later
-
Hey Soma That's a great solution - very much appreciated. I am still working on my fist PW site (in 3 languages) and have to say I have no regrets about leaving the old CMS behind. I have learnt so much from the contributors on this forum. Now just need a bigger brain I havent heard of flattr - I'll go take a look. Regards Nik
-
I want to restrict the ability of users making a total mess of the pages they edit - hence a restricted config for TinyMCE. If for example, on an occasion, they need a one off small table or some extra html within a page, it would be nice for me to be able to edit that page with the ability to access the html button of the editor. I absolutely don't want my clients getting at the html. If the client then deletes it later or edits text within a table field, so be it. This scenario has occurred in the past using the other CMS and caused no problem. Regards Nik
-
Hi there Is there a way to have different configurations of tinyMCE for different roles? Basically, I want all the bells and whistles for a superuser, but only the basics for an editor. EG - a superuser can edit the html and add tables etc whereas the editor just has bold italic and heading or paragraph level. This was a useful feature implemented in CMSMS (which I used to use). Kind regards Nik
-
Non core module names disappearing in admin nav bar
NikNak replied to NikNak's topic in Multi-Language Support
Ahhh - thanks so much That's exactly what was needed! Kind regards Nik -
Non core module names disappearing in admin nav bar
NikNak replied to NikNak's topic in Multi-Language Support
Thanks for the suggestion Manfred I don't have a translation file as yet - but I thought that if you used the __("Translate this") functionality, then if no translation was found it would output the original rather than nothing. I opened the Files module and found no translatable text within it - so this option would mean modifying the module and then adding a translation file - this sound rather inelegant as an option, and I'm sure this wouldn't be the intention in PW. There must be something neater as a fallback I imagine, or something else is causing the issue. Kind regards Nik -
Hi there I have downloaded and installed the German language pack. However (and this is probably completely unrelated to the above), the text from the navigation links for non-core modules such as "Files" and "Google Analytics" is missing when you change your profile to a different language. Any ideas? The links are there, but with no text so any German user wouldn't know what they were clicking on. Kind regards Nik
-
delete orphaned files/images from site/assets/files
NikNak replied to interrobang's topic in General Support
If I get this to work I'll post it back here. Many thanks Nik -
delete orphaned files/images from site/assets/files
NikNak replied to interrobang's topic in General Support
Hi Horst I try not to use the image function from tinyMCE either. However, it may occur from time to time. When you click the 'image' button in tinyMCE you are asked to select an image from the image fields from your current page or an image from image fields from another page you select. If you choose an image from a different page, the image is duplicated into the assets/files folder of the current page. Each time you drag to resize the image in the wysiwyg editor, a new scaled version is saved into the pages assets/files folder for that page. So you may end up with many scaled copies of an image if you rescale the image a few times. So you may end up with html in the textarea like <img href="site/assets/files/(current page id)/my_scaled_image.jpg" /> My thought was just to see if the images found in each assets/files folder were referenced within any text area fields. Eg - you find an image called 'my_scaled_image.jpg' that isn't known to PW, but you do a string search in each of the textarea fields for the page associated with the folder the file resides in, just to make sure it doesn't exist in the html from the wysiwyg editor. I am a designer rather than a coder, so my skills aren't great. Regards Nik -
delete orphaned files/images from site/assets/files
NikNak replied to interrobang's topic in General Support
Hi there, This script is very useful - thank you. I have a question though... If you allow the image option in tinyMCE and your resulting html potentially contains direct references to the resulting duplicated images in that page's assets directory, am I right in assuming that these images would be deleted using this script in its current state? If this is the case, I'm just wondering how tricky it might be to check found images within any textArea fields found for that particular page. Kind regards Nik -
Thanks for the response. I'll keep an eye on any future developments. Kind regards Nik
-
Ah... ok Many thanks I think I'll have to revert to having more than one image for now then. Regards Nik
-
Hi again Soma Just run into another issue. I had a cropimage field set to allow up to 5 images and referenced the name 'banner_image.banner' to be displayed in the page list. (banner being the crop name). This all worked fine until I changed the 'Max files allowed' to 1. Now when I try and list the files, I get an error message saying: Method Pageimage::path does not exist or is not callable in this context. If I try and use the image rather than the cropped reference (ie 'banner_image' instead of 'banner_image.banner') The error I get is 'There is no Thumb called:' Do you know if this is something I am doing wrong? Kind regards Nik EDIT: Elsewhere in the file tree I use an image field (not a cropimage) with 'max files allowed' equal to 1, and this outputs the images fine.
-
Thanks so much. I'll give that a try. Regards Nik
-
Hi Soma Many thanks for this module - very helpful. I have stumbled across an issue which I wrongly reported as a bug here: https://github.com/ryancramerdesign/ProcessWire/issues/232 Basically, if you wish to use a date as an output in a list alongside an image, it no longer formats the date as you specified. If I uninstall the module, the dates are formatted as expected. Kind regards Nik
-
Where is the Language Support Page Names module settings screen
NikNak replied to NikNak's topic in Multi-Language Support
Humble apologies - I found it. I was being monumentally stupid - and hadn't noticed the 'Core Modules' tab in the modules list. Thanks for the help -
Where is the Language Support Page Names module settings screen
NikNak replied to NikNak's topic in Multi-Language Support
I have upgraded to DEV2.3.3 without a hitch but still cannot find this. It is as it was before. Should I be seeing this in the modules list under the Languages heading? Regards Nik