Jump to content

Soma

Moderators
  • Posts

    6,808
  • Joined

  • Last visited

  • Days Won

    159

Everything posted by Soma

  1. Found the issue: $page->filesManager->path - doesn't return anything, it should be: $page->filesManager->path() - this works I changed this in ProcessPageEdit.module to be $this->page->filesManager->path() and now upload works.
  2. But when sharing the files through a resource page, it would then only be possible to inserting them in tinymce, not for image fields on page? So what if I like to have an image field allowing 1 image, to be able to be on a predefined place on the layout, and which is not language specific?
  3. Just thinking. How would we handle images then? upload again on each page?
  4. The approach of having the languages in one page with multiple fields, can be nice as it's all in one place but to work well it requires some things to be considered and it might not as flexible as with separate tree approach. Concerning the urls for search engines in the field approach, I don't know how easy it would be to have PW use a "name" field for each language separate. So for a german page it would have "/firma/ueber-uns/" as the path, while english it would take the english names and result in "/company/about-us/" for the same page. To have PW and in template know which language is currently viewed, there would have to be some url segment defined that is used like domain.com/en/... or optional have subdomains. en.domain.com. At work we often need to create multi-language websites, and there's always some sort of restrictions, problems, workarounds needed depending on system and which approach is chosen. So if there will be some strong and flexible core support for building multilingual sites, it would be a great selling argument as almost all other opensource systems lack good implementation.
  5. Hard to say really. Parent, order, status as you said I think for sure. But now I'm thinking about custom fields that's used for additional statuses, I'm thinking of the ones I need to create for each template because core doesn't have it the way I need it, like "not_in_navigation" checkbox and "not_searchable"... So if possible, there should be a way to add custom fields that needs to be synced on a template basis. I think it will be easier to find out once a first alpha can be tested.
  6. it's doomed to immortality... just created an issue on github for Ryan ;D https://github.com/ryancramerdesign/P21/issues/45
  7. this is for targeting IE versions in CSS by simply being able to use it like: .ie9 .title { ... } .ie8 .title {} without the need of hacks or conditional stylesheets. looks like the site uses html5boilerplate, see their website for more infos on this subject.
  8. Thanks apeisa, well it's still a prototype version with dummy images. Some are too small and just scaled to fit.
  9. Thanks Ryan, glad you like it. Also, fixed the strange url behavior when using non hash urls ,when coming from searchengine results.
  10. I'm aware of this, just not sure yet how to handle, working on it... I know, but ajaxy doesn't support his new history.js yet, which supports HTML5 history and gracefully degrades on older browsers using hash's. Using history.js alone wouldn't work, beacuse it doesn't support multilevel, forms and json out of the box. I d'love to hear about other ways doing this in a simple way if anybody knows, cause I've read that HTML5 history ist buggy and inconsistent across browsers...
  11. I'm currently prototyping an new website at work, I'm using jquery ajaxy plugin to provide browser forward/back function and make pages bookmarkable and still function without javascript ( for search engines ). I used $config->ajax in templates to exlude header and footer. currently available at: http://zueblin.update.ch.update.nine.ch
  12. Thanks Ryan. Yes, I did it like you suggested with extra fields. I'm ok with this, only I'm thinking about: wouldn't then the "Hidden:.." settings be redundant? Edit: Oh yes, thanks for pointing out the include=hidden, forgot about that, wich solves part of the issue.
  13. Well in my scenario, I have like 5 page templates, and at the end I found out I need a "hide in navigation" and a "searchable" checkbox across all pages. So I thought I try this option...
  14. I can imagine. Do you need any support on this? I think this will be one of the more important module for me/us. If there would be no easy way to handle a multi language site with language SEO urls, it would be a dealbreaker.
  15. Thanks Ryan for the info. I think it can be handy in certain circumstances to create a field across all templates, but then it would be great to be able to select the templates you want to attach the new field and what position, without going to each template and manually attach it. As it is now, you're not felxible and it still would be neccessary to go to each template and move it to the place you want, so no real timesaver... I would be ok with having as advanced feature.
  16. It would be good to have a settings on page to set if page is searchable. Right now there's under "Settings" the option to "Hidden: Excluded from lists and searches" BUT what if I wanted to hide only from searches results, but still be able to use in lists $pages->find() on them if the affected pages are only used as a container. To archive that I need to create two extra checkbox fields to all templates. "Searchable" and "Hide from Menu". What if we would have 2 options instead: x Hidden: Excluded from lists. x Search: Searchable
  17. As far as I know, there's no way to define a default value for a field. What are your thoughts about this option? I think it can be desireable in certain cases.
  18. Question: What does the option "Global" do? "If checked, ALL pages will be required to have this field. It will be automatically added to any fieldgroups/templates that don't already have it. This does not mean that a value is required in the field, only that the editable field will exist in all pages." I created a checkbox and checked "global". But the Field doesn't appear on any page...
  19. I reported an issue 2 days ago that is something similar when creating page manually: https://github.com/ryancramerdesign/P21/issues/41 you could enter more replace functions to your need.
  20. If so, I use to play since years and even run a local Go club. Go, also known as weiqi (china) or baduk (korean), is a ancient asien strategic boardgame using only white and black stones. It's usually played on a wooden board with 19x19 lines, stones are played on intersections. It's around 4000 years old and while there's only a few very basic rules it is highly dynamic, komplex but very elegant. It's about sorounding enemy stones while creating own territory. There's a large community playing live and on online servers all around the world. If interested here you'll find more informations Wiki ie: http://en.wikipedia.org/wiki/Go_(game) Contact me if you need any more infos or help. I would love to get anybody involved or get a game or two.
  21. Recently thought about similar things that could be done with new html5 and the like Now that we have the file api, wouldn't it then be possible to see a preview thumb of a selected file in the page edit before saving the page?
  22. Actually that's a very nice and simple to use plugin I also used (after trying some datatable plugins) in some codeigniter projects, with ajax and themeroller styling, especially like the cookie state save option and sortable, filterable. It was very nice as my apps also uses jquery ui. Would be nice to have such a feature for very large lists. Wasn't this already discussed somewhere?
  23. Here's a new version of the modules section collapse module. Added count and +- Hope it's useful for someone. Edit: updated first post with github repo.
  24. Works! Thanks, you're my hero!
  25. Thanks for the help, but can't get it to work... checked files and tried all different variations.
×
×
  • Create New...