-
Posts
6,798 -
Joined
-
Last visited
-
Days Won
158
Everything posted by Soma
-
Ah now I get it, there's "input" setting too. Didn't see that before. So this makes sense, and works no matter if i enter manually with slashes or dashes.. strtotime does recognize them all. But using jquery datepicker is not right. There's options to configure ui datepicker. SO if selecting a date it enters in the way you define it. I worked with it a few times and I see no problems with doing it. The way it is now, it populates the field with a standard date like "2011-10-09" which does work and gets transformed when saving, but would be nicer to have it populate the way you defined under input settings. But maybe I'm getting it wrong with what's behind it in PW. Would strtotime not work when implementing this because it doesn't know which is d and wich is m? Is that the ISO format you're speaking about?
-
No Ryan this is just a normal gallery script like if you were using fancybox or any other. If it would be a service like embed you wouldn't need to enter each image with paths into text, instead just put a embed link. That's why I see little problems using this approach. Certainly nothing wrong here, but not ideal.
-
Thanks, I just tried out. I think the behaviour is a bug or by intention. Ryan would have to confirm this though. I would agree that it is strange to use this way. No matter what you specify in the details setting. When on page editing it shows info text: "m/d/Y" , but when entering, it is only valid with something like 10-08-2011. If you use the datepicker it works, just not the way you would expect. The output at template using echo $page->datefieldname; though it outputs as you defined in settings.
-
Hi and bienvenido diegonella You should be able to define format in the field details setting. Once you created the datetime field and save there is more options on top tabs. look for "Details"...
-
Just looked at it. Great so far, but a few things to consider. There's gazillion possibilities anyway how to implement a gallery, but I would never implement a gallery this way in PW or other CMS. Thats what PW is strong in, having images field with description field already, sorting, resizing, etc... Outputting them in the template is as easy as it can get with little php. You could combine it with having an images field to upload images, and then only put a [galleria] in the body text where you want it to render. Usually a gallery is something I don't want to hard-code into a textarea using tags with image path etc. So depending on what you want and need, this works and might be ok to use, but I would definately not recommended it. Also consider these things: What if you need description per image? How is resizing images/thumbs handled? Looking at your code. Use following for get paths to your module.. as it might doesn't work with other installations/paths the way you done it. <?php $this->config->urls->Galleria . "themes/classic/galleria.classic.min.js";
-
Ryan that's exactly the combination I'm facing with a website hosting I need to do a relaunch. I installed PW and got the same error, so I figured out that save_mode is on. That's why I was asking this. Having only faced 2-3 such configuration yet in all the years from friends... I for myself decided to simply tell the owner to change hosting provider. Everytime it got chaotic and it took them ages and 1000000 emails to get them the configuration only nearly right. Often they are shared hostings with php running as a module to save money and have no clue.
-
Do you have debug mode on? In your site/config.php ... There might be more errors showing. Not sure what the problem could be. Safe Mode on/off? in php? Have you manually uploaded the pw folders over ftp , so ftp user/group permission doesn't allow php to write in even if 0777... there can be many reasons.
-
Is this intended? When create a page and leave it unpublished it still can be accessed and viewed on frontend. Just recognized it's only when I'm logged in.
-
Hello landitus, not sure, are you using latest PW2.1? There used to be such an issue which was fixed. Any more infos you might can give can be helpful.
-
I'm also using this bramus cssextras and it's great an easy. I will soon work on extending the tinymce inputfield config in PW and incorporate this plugin too. the content.css is just for display in the wysiwyg. usually your sites css. all you need to is 1. add bramus_cssextras to the plugin string in PW 2. add buttons bramus_cssextras_classes,bramus_cssextras_ids to string in PW 3. add your custom selector strings to the inputfieldTinyMCE.js config like bramus_cssextras_classesstring : "li::ul[smallList,bigList];img::self[floatLeft,floatRight]", bramus_cssextras_idsstring : "p::self[introText]", done, but that all well explained on the plugins website.
-
Thanks Ryan for the quick fix. Just tested and works fine. Just noticed when I set the flag to not be able to move, I still see the "move" action int he page tree.
-
Welcome 1234 and 5j That's how we like it, first post, first module! Thanks for contributing to PW, will surely check this one out soon. Thanks, Soma
-
The configuration per tinymce inputfield is awesome, it would be even more, if I could specify a lot more that tinmyce has to offer, not just buttons and plugins. It would be cool to have possibility to enter custom init setup to easily add templates, custom formats, other theme etc. Are there any plans extending this? As for now I have to change core to archive this.
-
Thanks adamkiss for the suggestion! Thanks Ryan for the insight, awesome. That would be a nice to have feature. The client already asked if there's a way. Good to know it will come soon.
-
Would this be possible with the current PW? I sense that it's not possible yet but know it's on the roadmap. Would it require to have versioning done first, or could there be some trick to archive this? A link opening a window showing the current edited unsaved content? Guess it's not that simple.
-
I created a special template where I've set some settings under System tab. Now the "Disable Settings Tag" and "Disable Trash Option" are behaving strange, as when I flag "Disable Settings Tab" and save, Settings tab doesn't show up. When I go and unflag that option again and save it's still checked, but the settings tab does show up. When I go and uncheck "Disable Trash Option" and save the settings tab flag also is suddenly unchecked...
-
Welcome maruchan Are you/she using latest version? May try latest version from github. Make sure to clear cache in browser. I thought this was fixed already like 1-2 weeks ago. https://github.com/ryancramerdesign/P21/commit/4e2f595faba92d660973ecac07bd36e4d70cb9fa
-
then someone goes with js enabled to know where your form processing is and attacks that directly.
-
Outputting nested contents of page children/grandchildren
Soma replied to martinluff's topic in API & Templates
This is a nice technique that can be used, but isn't really using the cascading power of css when you need to redefine the different levels. In case of nested ul's it is easy to use inheritance if done right, no need to overwrite a lot anyway. Depends a lot what type of list you're trying to archive. -
I experience the same, session log files stay all the way the first login. I recognized once I downloaded site folder and was impressed by how many files there is. Is the any insight on this?
-
Would it be good to have multiple emails comma seperated possibility? EDIT: installed, tested, so far works as expected! thanks Ryan
-
Ryan, good to know, that was were I was coming from, but I wasn't sure if the log (sent from phone so haven't actually looked deeper into it nor tested) saves already date time, I wasn't sure. As for the pinging, yes I would also do that on the requested php side, no need to hand that over url get variable. I agree with having saved pages is thinking PW way, but in this scenario better have a different way of storing the data. How about something using file system with saved logfiles? Maybe not THE idea but just came to mind.
-
Ryan did it again. great addition! would it be to log date time too ?
-
Nice theme you got there!
-
Thanks for the feedback guys. Well, I just commited a new version with some improvements on contrast, color and the dropdown menu. Also sortable items and buttons are now in ui blueish and black on hover. @Apeisa, thanks for mention, though I think the dropdown is fast, I hate when moving over a dropdown menu and it instantly opens all menus. That's why I use hoverintent. But you can change the settings in the init in the top of main.js to suit your likes. I also like it to respond fast and changed the interval to 50ms. Though the sensitivity I'll let at 3. Pretty weak contrast??? You're joking right? Those are not really having a weak contrast by definition, this depends a lot on the screen and monitor settings. I looked at it at some differerent screens and didn't think it was too weak. Though I slightly increased the contrast in the last commit. @Pete thanks for the kind words. Though I don't really can image what's the problem with this 1 blueish pixel border... ? EDIT: Checked in latest version with some improvements on breadcrumbs, topnav, tabs and overall minor color changes.