Jump to content

mr-fan

Members
  • Posts

    848
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by mr-fan

  1. glad you like it - it's just a little helper.
  2. So i've somehting to share expecially for beginners with processwire!! I'm like others here not really satisfied with the forum search - so i decided to make a google custom search page https://www.google.com/cse/publicurl?cx=014789015761400632609:fxrf0rj4wr4 but the optical result is not that i imagine so i created a very small html page with the PW Logo + Google CSE JS Code and now it looks better.... so i've had a fast search on the /talk/ /api/ /docs/ and cheatsheet pages from processwire.com! so maybe it's usefull for anybody? Have Fun PW-Search.zip
  3. This weekend is full with time killers but until i've the chance i 'all make a screenshot...
  4. the basic question is. Is it possible to put the logic in some helper classes and the/a template file without changing the core? have to try - need more time----> URGEND need for a paypal "spend more time" account... Via inside the URL would be a traditional way not REST via http response...like clsource described... the mainpoint for my hobby project is two-way sync (one direction for now): 1. local MSSQL DB to Webserver via .net send JSON Data to a web adress (->getting the data right is my point of work - i'll try with the import Json addon and some scripts) 2. get the data from the Webserver on a mobile app via JS and JSON (like with the PageWebservice Addon from Ryan) on a next step save it in local store and so on....i've a try with the g00gle APK builder... so until now i'm sorting what base i will use - more focus on REST (in mind of huge data and different usecases) or get it less or more simple via PHP and GET/POST? Kind regards mr-fan
  5. could something like this also handled by url segments? just read: http://processwire.com/docs/tutorials/how-to-use-url-segments/ segments for GET, PUT, PATCH, DELETE and the logic within the template file?? so may you have some sort of data like www.your-pw-site.com/products/ and use url segments for getting is www.your-pw-site.com/products/get/ data service for external pages could be done via using methods from http://modules.processwire.com/modules/service-pages/ and put, patch, delete via API in the template? or did i miss something. (I'm very new to this topic - but very interested since a friend ask me to setup a bridge between a local (mostly offline) MSSQL server and a mobile App so my ideas walking with a "man in the middle" as a website app that get JSON from the local PC (=sync) and host the data for the mobile App (=sync) ----> ) so sorry for loud thinking here....
  6. once again - the choosen font looks not cleartype in Win7 + FF31.0 i've set it to sans-serif only and it works for me... thanks for updating!
  7. The former CMS from argos (and me) was a long time ago (around 20006-2012) full with out-of-the-box addons and snippets...many addondevelopers and so on. I used a lot of them - and hanging today on various older installations with the more or less "messed" code (actual example is the funny old continue(0); that kills some addons on PHP 5.4) I'm sick in using many many addons from many different sources. I'm sick of changing the given HTML Output of the addons to fit my Frontend. I'm sick of having 10xx template .htt's that serves me some Output (one from the Galleryaddon, one from the formaddon, one from the...) i'm a PHP "beginner" since a couple of years because if to less time to take a real step forward.....and in my opinion i'm a beginner until i am a beginner until i learn new things....so i always wanna be a beginner "Pages" is real the big issue to catch if you come from a other cms - and to setup the backend, too......but with the userroles and some other helpers it's a breeze! the "abstraction" with processwire is the best of the best....because it's much more easier than taking the head in a database abstraction!! every website setup could worked out exact for the needs of the user/client....and simple upgraded. to have some "skills" required for a system is not the badest thing - to keep out users that only demand everything (in the os world) for free and asap - the new tutorial pages are great and if my english would be better i'd love to write some... For the enterprise topic here - maybe it would be realy nice to show up some Apps that are build with PW like geowire.org! I'd love the showcase!! (there are some real big projects in it) and read all the casestudies https://processwire.com/talk/forum/16-case-studies/ something like this for some real "enterprise" projects - wouldn't this be the best advertice? and the "wording" enterprise has no good title in the OpenSource world because you can simple switch a letter and get enterprice
  8. Great one - i'm shure ill translate it and test it!! maybe you've a lock at PIM http://modules.processwire.com/modules/page-image-manipulator/ for more options on the pics itself? Best regards mr-fan
  9. Just pinning this CKEditor Addon here that fits for some of the mentioned usecases: http://ckeditor.com/addon/strinsert https://github.com/57u/custom-dropdown-ckeditor4/blob/master/README.md you could define your own list of strings for insert in CKE - so you could setup the predefined HannaCodes for the customer to just only select the right one.... regards mr-fan
  10. nice one. created a very small pull request for the headlines in the sidebar to be translatable.... and it would be nice if the forum search get up in a new tab target=_blank so you don't leaf the adminbackend. i like the idea to have a dev/superadmin theme on the start! (the given font didn't look good in FF+Win7 i changed to normal sans_serif) Kind regards mr-fan
  11. this give me some questions...(don't think g00gle is bad! but think that they didn't do something without a idea behind...) - Did g00gle have buyed some companies that make money with httpS ? - Is it real a secure (or more secure) fact that https helps here? https is more expensive without a real security and more effort or work to get a good performance. but there was 2011 successful "man in the middle" attacs against https banking sites in germany... for big userdata it is the option to choose but for a normal page?? we will see - g00gle ansounced often some things to see whats happen and first then they act. only some thoughts from a non pro webmaniac....
  12. Very tough! If geht it right with this you get nicer urls for the imgages? I'll habe to test the next great and simple pw snippets....
  13. Am i right? Would possible too if every pic has his own page/object sitetree: --home ---some page ---some other pages ---my pics ----pic 1 (template is with pic (only once) + link field/text + something else ----pic 2 " ... so you could use a pageselectfield to choose from the imagepages what images are to use for the needed page? pro image is extreme extendable con image are not on the used page direct get the image via the choosen ID to show up on the needed page. Kinda a interesting usecase - i collect them here in the forum like i wonna be well prepared for my first real PW project! regards mr-fan
  14. mr-fan

    Page Audit

    Refferer from logged in users after login comes from the loginpage? Or did i geht this wrong? @adrian it is every day amazing to read what could be done with the pw API ....
  15. mr-fan

    Page Audit

    some smaller solution: http://www.innovativephp.com/how-to-get-the-last-visited-page-url-in-php/ best regards mr-fan
  16. mr-fan

    Page Audit

    Maybe i get it wrong but could this not be set via a tracking tool like PIWIK http://piwik.org/docs/ecommerce-analytics/ http://piwik.org/docs/tracking-goals-web-analytics/ http://piwik.org/docs/event-tracking/ just how i read your question - but it's nobuilt in PW but could integrated via API.
  17. CKEditor image styles in Processwire are set via a CSS class for frontent: class="align_center" class="align_left" class="align_right" so you have to setup some styles into your template CSS to fit your needs like for eg.: .align_left {float:left;margin: 5px;} .align_right{float:right;margin: 5px;} .align_center{margin: 0px auto; display:block;} Best regards mr-fan
  18. From my point of view - the critical points of PW in that article are the best for me Some day i've read a very interesting article about "Are you a tooler?" (i think it was AListApart - not shure) So for me i was until now in the world of "toolers" - using this addon, snippet, module to make the system i choose to do what i want - because in lack of skills to bending this system complet to fit my/customers needs. Always willing to learn and helped some real devs out with testing and translating - to get some help on the different things. And now with ProcessWire i feel like i'm a "thinker"!! I've ONE tool to use in different kind of models/usecases/options to get what i want. Ok as usual and first i've tested all the modules and addons in the rack - but i feel they are all just needed for a special propose and not to get a website work great like this is the fact for the drulapress CMS world!! Every week i'm reading this forum i'll get new ideas how to use PW from this really great community (Like to set up a "onliner" with a hidden pagetree to get a complete tagsystem running or other usefull stuff) Themes are for me no problem - get a HTML Theme from ever you want and setup is done in about let's say "30 minutes" So are you a tooler or a thinker? Are we talking about a software that helps you working without a limit - or a tool that complete works for you but always have it's limitations you have to take? Thankyou Ryan for this one great tool - thank all others here as far as i read this forum - here is a meetup with great people! 2 cents from a guy that love PW after 30 minutes testing
  19. Wow! Thanks for the links and your post! Always try to learn. Kind Regards mr-fan
  20. Maybe it is helpfull - maybe you know this allready: https://processwire.com/talk/topic/1654-module-pages-web-service-servicepages/ you could provide the json via this servicepage and setup the needed fields and order them...and use the output for the calendar. regards mr-fan
  21. I came from another CMS that really really works very easy for the "enduser", lot of templates, lot of stuff (at these days more and more older crap/stuff) addons, snippets and so on. Great to get some small and middle Websites run - but there was no development now so i've to jump from the dead horse.... I never ever did not compare these two systems (my well known cms with PW) - since i searched with the approach to find a new system with a new workflow that give's me more power with less effort. I'm feeling like at home now - i'm kinda excited to push my first PW project and working on some private pages to test and getting more experience. For me 30 min was enought to see that there are so much options to get the system you like and control all the content you/user produce. I'm not a PHP dev - but i can sort things - read&learn a lot ->but the phrase "OneLiner" get a new dimension here with PW In my former CMS there was erverything - flamewars between other cms and userdiscussions on forks and so on....this leads to nothing. The bad thing of such articles is that they rarely objective. So there is no real reason to discuss. One opinion against the other. Best Regards mr-fan (sorry for the nonnative en)
  22. Thanks for sharing! Very interesting how you handle CRUD with this approach?
  23. This is a great conzept of using Hanna Code with Pages...another thing that would work the same way... A Kind of Glossary: Pages: /glossar/ (or name it tags) --phrase one (Title, Url, Description for tooltip or something else, maybe some pagefield for cathegories) --phrase two --phrase three didn't tested but should work. For acronyms, tooltips and simple Contenttags just to use in every contentblock/article/topic that it is needed!! Thats a whole taggingsystem with just one snippet Thanks for sharing this basic idea!
  24. Hi Guys, i've search the forum via g* and found some interesting stuff on building apps with PW - but i've nothing found on some specific tasks for better performance and other issues...may someone like to share some hints or tipps? - using text/cache-manifest and setting it up via .htaccess like AddType text/cache-manifest .manifest ->are there any problems or other relevant things that i've have to keep in mind - i'm not very experienced in using much .htaccess "magic" on my former systems this was not needed - and the PW .htaccess looks quit complex.... - any experience on using a CACHE MANIFEST f.e. to cache js, jquery and css that is used by the webapp? or is there even more possibilitys with PW i've read about a setup where a Manifest is used to output different while the user is online or offline like this example code: CACHE MANIFEST # 2010-06-18:v2 # Explicitly cached 'master entries'. CACHE: /favicon.ico index.html stylesheet.css images/logo.png scripts/main.js # Resources that require the user to be online. NETWORK: login.php /myapi http://api.twitter.com # static.html will be served if main.py is inaccessible # offline.jpg will be served in place of all images in images/large/ # offline.html will be served in place of all other .html files FALLBACK: /main.py /static.html images/large/ images/offline.jpg *.html /offline.html My App (Website) will perform two things - listing things (could done via JSON and the great Module from Ryan PageServices) and some forms to push new items on the Website so my idea is - that if the user is offline only provide the listings and pulled content and hide the formpart until he have a connection. For a real offline-first App (save the data in local database or using tools like hood.ie or pouchDB) there is no "real" budget to hire a dev - so this would be a mobilefirst "Website" no real App - and my effort is now to give just some functionality get working in the "offline" mode. Any hints, tricks, tipps, links or warnings are appreciated... Best Regards mr-fan
  25. For my start i was going hard on this topic, too -> because i renamed my "image" field in "Bilder" .....so $page->image; really didn't worked.... But i'm more and more familiar with the API - especially reading day by day here! The great and at the same time "frightened" thing on PW is....there is so much function and logic within the API - so you don't have to code/work around like in other CMS or systems....so thanks to all that explains and teach all the nifty under the cowl.... Best Regards
×
×
  • Create New...