Jump to content

didhavn

Members
  • Posts

    44
  • Joined

  • Last visited

Everything posted by didhavn

  1. You're absolutely right, thanks! I integrated a comment functionality in the templates, see e.g. http://templates.didhavn-loremipsum-blog.demo.pwtemplates.de/en/blogs/blog-lorem/
  2. hey clsource. thanks for the reply! and you are absolutely right, it is odd...but i needed a quick solution and couldnt find a good and especially quick PW way. once I have more time again, the plan is to move and extend the pwtemplates.de page
  3. Hey everybody. I just released a couple of new premium themes/templates at https://pwtemplates.de including a onepage template, a blog template and a blog+sidebar template. I am going to constantly develop new themes and add them to https://pwtemplates.de Here are some Quick Facts: Fully responsive Multilanguage support Full SEO support Optional Google Analytics Easily create new pages out of multiple predefined sections Lazyload the sections of a page [Group and update website-information into blogs] (blog, blog+sidebar) [Use tags to tag and group blog entries] (blog, blog+sidebar) [Create each page with or without sidebar] (blog+sidebar) Website-wide search by text or tags Password protect each page individually with sophisticated page-encryption with dummy texts and pixelated images Just go to https://pwtemplates.de to test the demos and purchase them for a small expense allowance. Hope you like it!
  4. Hey szabesz. Thanks for you nice words and pointing out the z-index bug...just fixed it, thanks. And funny that you just mentioned UIkit I already planned to write a new template set based on UIkit (fantastic framework) and will most probably start with a wedding-theme.
  5. Hey everbody. I wanted to share something I have been working for quite some time, in total currently three premium Templates or Site-Profiles for ProcessWire 3 including a onepage template, a blog template and a blog+sidebar template. Here are some Quick Facts: Fully responsive Multilanguage support Full SEO support Optional Google Analytics Easily create new pages out of multiple predefined sections Lazyload the sections of a page [Group and update website-information into blogs] (blog, blog+sidebar) [Use tags to tag and group blog entries] (blog, blog+sidebar) [User-comments] (blog, blog+sidebar) [Create each page with or without sidebar] (blog+sidebar) Website-wide search by text or tags Password protect each page individually with sophisticated page-encryption with dummy texts and pixelated images Just go to https://pwtemplates.de to test the demos (e.g. blog-sidebar) and purchase them for a small expense allowance. Hope you like it!
  6. Hey all. This might sound a bit strange but I am looking for a solution to hook into page edit and remove or disable the two save buttons including their dropdown options. I managed to partly remove the buttons, but the dropdowns remained. However, I would prefer a solution with disabled buttons but have no idea how to achieve this. I hope somebody of you can tell me how to remove or disable these buttons. Thanks a lot in advance
  7. Thanks a lot, I'll give it a try !
  8. Hey all. I just came across a potential error in the FieldtypePassword. I have a password field added to some templates to protect the pages. However, whenever I want to save a page, I get the error of "required fiield missing"...that the password field is required and missing. But, the field is not set to required. Can anybody confirm that and/or has a solution? Best, Lukas
  9. Solved it. FYI, I found 'PageImageManipulator', and with a combination of different filters I can achieve the result I want to get. Best!
  10. Hey All. I tried google but couldn't find anything appropriate. My question is, if there is a module out there that I missed, to get images from Image- or CroppableImage-fields in a very blurred or distorted filtered version? Thanks a lot!
  11. Great idea, this should be included (as default) into the module as it would fix almost all issues I had with pagwtables. Thanks!
  12. Ok, fixed it using your RestictTabView module and just removed the two 71: if($this->user->isSuperuser()) return; ... 96: if($this->user->isSuperuser()) return; cases Thanks a lot!!
  13. Smart idea However, this module only works for non-superusers. I want to achieve this behaviour for all users including superuser. I just dont want anybody do mess with these pages. You have a hint for me how to remove/disable this button OR remove the children tab for all users?
  14. Hey. I have a follow up question to this one: Unfortunately, it is still possible for the user, to add pages via the "Children" tab in a page (see screenshot). I want to asure, that the user can create these Section-Pages only via the pagetable and not from somewhere else. Do you know how to hook into this tab and remove/disable the button? Thanks a lot!
  15. Hey all. Thanks a lot for your effort to help! Adrian, your solution works just perfect, thanks a lot!
  16. Hey All. I need some help with a problem relating to users permissions to create pages and selectively remove a "new" button. I have a container page called "Sektionen" to keep Sektions of pages. These sections are created within different pages via a pagetable field. Now I want to change the way new sections can be created in a way that they can ONLY be created via the pagetable-field, not via the "new" button in the pages tree (see screenshot - this button should be removed). I think I can not change this in the templates settings and wanted to ask if anybody of you has an idea how to accomplish that? Thanks a lot!
  17. Sorry, but I have another followup question. As I described above, I have this 'create-poi' page under parent 'API' to create a poi from frontend. I call this with an ajax call. I am wondering why the post-data is only transfered when calling the page including the language in the url. For example, this call with 'en' in the url is successfull. A simple print_r($_POST); in the 'create-poi' returns all data. $.ajax({ url: 'en/api/create-poi/', type: 'POST', data: formData, ... }); However, when I call the the page with the following ajax without 'en', the ajax-call hits the page BUT the POST-data is empty. print_r($_POST); returns an empty array. $.ajax({ url: 'api/create-poi/', type: 'POST', data: formData, ... }); I don't really have to solve this, as it is working with 'en' in the URL, but I am wondering and curious what is happening there...how can the call successfully hit the page but the POST-data get lost?
  18. Thanks LostKobraKai...I think I have to get my eyes checked
  19. A short followup question: Is it possible to set the status of alternate languages to active of existing pages in the admin-backend?
  20. Such a stupid mistake! Thanks soma, I didn't know that I have to set the languages active when creating pages via API Now all works fine, thanks!
  21. hey all. i experienced a strange behaviour and wanted to ask if somebody has a solution for this. i have a page 'POIs' (points of interest) that keeps multiple 'POI' as childs. each 'POI' should be creatable via frontend through an ajax-call to the page 'create-poi'. then i have a page 'get-pois' that queries all the pages with template 'poi' and return them. Home --> POIs --> --> POI 1 [*front-end created] --> --> POI 2 [*front-end created] --> --> POI X [*back-end created] --> API --> --> Create POI --> --> Get POIs all works fine except that all the POIs created through the api only show up when 'get-pois' is called from default language. for example, POI 1 and POI 2 have been create through frontend, POI X in the admin-backend. now calling localhost/en/api/get-pois outputs all pois, calling localhost/de/api/get-pois outputs only POI X. all the pois have the required fields in both translations. can anybody of you think of a solution?
  22. Thanks a lot, szanesz! You were absolutely right about the namespaces!
  23. Hey all. Does anyone of you know why I can not call functions that are defined in _func.php? The file _func.php is included by the _init.php and if I just add an echo 'TEST'; to the _func.php, it is working. But when I add e.g. function print_test() { echo 'TEST'; } I get a Fatal error: Call to undefined function print_test() in ... on the page of the template calling this function. Does anyone of you have an idea what to change? Best, Lukas
  24. Hey all. I have a repeater with single textfield items. Everything is working fine till I reach 51 items. When I want to add the 52th, I get a 500 Internal Server Error and the page is not editable anymore...I have to delete the page and start from scatch. Can anyone think of a reason for that? And of course a solution? Thanks a lot!! [EDIT] I am running: - ProcessWire 2.7.2 - FieldtypeRepeater 1.0.2 - MySql Server Version: 5.5.47-0 - PHP Version 5.6.21
  25. It seems like nobody before had this strange kind of error. Maybe somebody can think of a possible source of problem, if it might be eg a htaccess problem (which I doubt because there is no such rule that could affect that e.g. example.com/admin/page/edit/?id=2 is working but example.com/admin/page/edit/?id=1 not)? Or if it might be a user-id problem that I can look for in the database directly? Thanks a lot
×
×
  • Create New...