-
Posts
848 -
Joined
-
Last visited
-
Days Won
4
Everything posted by mr-fan
-
Happy Birthday, too! (We need a Birthday calendar and a reminder - since i've read more in this forum than on my other social hubs.... )
-
Thank you very much for this one! Best Regards mr-fan
-
Catalog of articles(categories,sub-categories,tags)
mr-fan replied to atano's topic in Getting Started
quick is relative.... if you look at other cms with processwire you get very quick to the needed result. it depends very much of the "level" of atano with PHP, HTML and JS and what the website should be. oh i forgot two very important links for news/article systems!!! 7. Take a look at ryans blog profile (a buch of useful templates that build a blog) http://modules.processwire.com/modules/blog-profile/ 8. And there is a real real big and great blog module from kongondo! (May this take you a big and quick step in the right direction?) http://modules.processwire.com/modules/process-blog/ for a blog special the last link with the module would be a big thing to try and use... regards mr-fan -
Catalog of articles(categories,sub-categories,tags)
mr-fan replied to atano's topic in Getting Started
Welcome atano! Processwire is great to learn "CMS" so you get some starting points! 1.Overview for the "warmup" https://processwire.com/talk/topic/6731-beginners-guide-to-processwire/ 2.Simple News Sytem threat https://processwire.com/talk/topic/2985-how-to-create-a-simple-news-system-for-pw/ 3.Tutorial Corner http://processwire.com/docs/tutorials/ 4.Go deeper with news https://processwire.com/talk/topic/3782-scalability-of-pw-news-system/ 5.more deeper with lots of articles/cats and so on you may look at the module ListerPro https://processwire.com/talk/store/product/14-listerpro-dev/ (Lists everything with your selections - like all news for a special categorie and much more!) 6.For a real big website have good reading of famous kongondo's article https://processwire.com/talk/topic/3579-tutorial-approaches-to-categorising-site-content/ Have fun with PW and here in the forum - be not afraid baby you are at home! -
What version? I use 1.1.1. from http://modules.processwire.com/modules/process-admin-custom-pages/ ACP scripts and styles are optional to load .js and .css on the template but the choice for template on the admin page should appear if you choose the Process - see screenshot? You even didn't need a template under the template section since the template select lists all .php files in site/templates.... regards mr-fan
-
thank you for answering, but what i meant was the 40,559 should be the same like 40.559 ? So a User could use , or . with two digit it works 40,55 = 40.55 but with more than 3 digits it don't round and set value to 40.559 without position after decimal point.... hope i can explain it clearly in en....
-
Really great!!! Thank you very much for this module! Just tested - only issue is with numbers with a . and more than two after that example: 40,55 = 40.55 40,559 = 40,56 40.55 = 40.55 40.559 = 40559.00 All other rounding works relly great with . or , no matter! But this could be with a regex on the client to get no wrong entries. (http://stackoverflow.com/questions/308122/simple-regular-expression-for-a-decimal-with-a-precision-of-2) Thank you again! Kind regards mr-fan
-
call it the NerdWire CMS Version - more fun more surprise....
-
Some usefull modules are the AdminCustomPages addon!! https://processwire.com/talk/topic/3474-admin-custom-pages-module/ you can control all the output via template access and roles but can use it with adminpages!! and do the code with the api in a simple template....it's really great. For me i've used the pagetree with different parent (hidden page like craig wrote!) and use the system popup box for editing: https://processwire.com/talk/topic/7836-cant-wait-first-project-with-pw-nearly-finished/ (at the end of this post - i've used this for images and documents - but could used fo all) regards mr-fan you could even use the table formats in the backend to get a table editing via the api maybe you could look at this module: https://processwire.com/talk/topic/5364-jquery-datatables-modulejs/ https://processwire.com/talk/topic/704-datatable/ https://processwire.com/talk/topic/3463-simple-custom-admin-page-for-online-store/
-
Some helpfull links to go: https://processwire.com/talk/topic/7359-set-pages-to-disable-after-certain-of-days-from-post-date/#entry70911 http://modules.processwire.com/modules/process-date-archiver/ but be ware of the path changes....for SEO (bookmarks and so on) regards mr-fan
-
It's great module i think.... http://modules.processwire.com/modules/template-decorator/ it's nice to get labels colors and icons...
-
until now it has it's place on the web.... http://gs-altfraunhofen.de/ Thanks for all help here and for Processwire again. "I'm lovin it" - and normaly i don't love software!!
-
Some reading stuff.... https://processwire.com/talk/topic/3189-one-table-per-field-rationale-and-impact/ and from ryan... https://processwire.com/talk/topic/2387-the-structure-of-fields-and-templates/?p=22762
-
I thought magnific was the inbuilt modal? On the CustomAdminPage i only have to load the scripts to get it work since they not loaded automatically with this kind of adminpage/process....but the jquery part should work in the "normal" adminpages....but i've not to much experience on this....
-
On a CustomAdminPage i use this jquery to get the magnific popup working and add the needed ?modal=1 to the edit links of the pagelisttree.... so may it helps: <style type="text/css" media="screen"> /** * larget magnific popup */ .mfp-iframe-holder .mfp-content { max-width: 1200px!important; } </style> <script type="text/javascript"> $(document).ajaxComplete(function() { //add trigger class and modal setup $('.PageListActionEdit a').each(function(){ $(this).addClass("lb-edit").attr("href",$(this).attr('href')+"&modal=1"); }); $('.PageListActionNew a').each(function(){ $(this).addClass("lb-edit").attr("href",$(this).attr('href')+"&modal=1"); }); //setup lightbox $('.lb-edit').magnificPopup({ type: 'iframe', disableOn: 0 }); }); </script> <?php //get Magnific css and js $this->modules->get('JqueryMagnific'); regards mr-fan
-
sorry i don't get it: custom PHP selector to find children of a sibling to the editing page: return $page->parent->siblings("template=LU-Stamm")->first()->children(); give me the pages from the wantet structur: don't can go with the id or choose the parentpage with the pagetree since i've more different parents with the same subtree like this -parent one --sub ---here we are editing (has the pagefield should show only children of this branch) --sub (template=LU-Stamm) ---here we choose (this is shown in the pagefield) ---here we choose (this is shown in the pagefield) -parent two --sub ---here we are editing (has the pagefield should show only children of this branch) --sub (template=LU-Stamm) ---here we choose (this is shown in the pagefield) ---here we choose (this is shown in the pagefield) Error Page xxx is not valid? How can i get this working?
-
Renaming the "content" tab when editing pages of a given template
mr-fan replied to netcarver's topic in General Support
languages: /wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module translate or change "content" regards mr-fan -
For a little page with less images i've set a couple of images in a pagetree called images with ebers image=page (one image per page) so the file can change but the link stays...imagemanagment would be done easy on the pagetree or a special adminpage. Take a look - should work with icons, too since icons are images....mostyl. https://processwire.com/talk/topic/7836-cant-wait-first-project-with-pw-nearly-finished/ Hanna code works for shure! but if you wanna use the PWImage Chooser you can work with this one and the modification of the startingpoint for Images like there: https://processwire.com/talk/topic/7439-processpageeditimageselect-hook-and-change-default-page/ Regards mr-fan
-
Yes thats a valide point. As far as i can see - the use for such a switch is for two usecases. Change some HTML/CSS things to make responsive "work better" and may get better usability with less documentsize to download (slider, images...) OR change the whole output to serve different things. On real big sites there is very often a special mobile content for such devices (like a storefinder or something else) but this is like justb3a wrote a kinda of religious question with no right or wrong answer....... so thanks for your module!!
-
accept terms before download - module for that?
mr-fan replied to douglas81's topic in General Support
can you post your form code.....shouldn't be that hard to use POST instead of GET to action the needed stuff there...? Today i'm on the run. But some other shure will help here! -
accept terms before download - module for that?
mr-fan replied to douglas81's topic in General Support
http://stackoverflow.com/questions/46585/when-do-you-use-post-and-when-do-you-use-get i think POST should work. -
accept terms before download - module for that?
mr-fan replied to douglas81's topic in General Support
...Thats the great thing of this technic.... The URL = the PAGE example real world: your file (page) = link to the file name is www.your-site/downloads/your-file.doc there you count the download, process the check for an entry or a value, and deliver the file. Nobody gets the file url in assets!! you asign the assetsfile to a pageurl so the url for the download = the url for the page not the file itself..... hope i could write it clear? EDIT: You could even change/update the file without changing the downloadurl Your have a filepage called "terms" = name of the page with the filefield gets may a terms-2014.pdf in it......next year you could delete the termns-2014.pdf and change it to 2015-terms-new-file.pdf -> the link stays always at your-site/downloads/terms.pdf.... -
accept terms before download - module for that?
mr-fan replied to douglas81's topic in General Support
Sounds it's gonna work with wireSendFile you've all possibilties like counting or setting a fieldvalue like mentioned in the comments on soma's original blog.... http://soma.urlich.ch/posts/flexible-downloads-using-pages/ codeexample from soma's comment: $page->of(false); $page->counter += 1; $page->save(); $page->of(true); wireSendFile($page->pdf->filename, $options); even you could create your fields on some sort of downloadstats (username, email, checked terms) under a parent page like: -other pages --download-stat-home ---download1 (fields: username,date,email,checked terms, witch file/page) ---download2 so you've all options to analyse all downloads...and check if the userentry in the "saved" download-stats page = checked terms true - and then deliver the file. This is just a mindgame from me - nothing that i build - someone correct me if this could be done in a better way.... regards mr-fan -
could this used for chang the whole output, too not only just the CSS class - or is this operation not recommended? like this one in a template file: $devicecheck = $config->mobileDetect->deviceType; if ($devicecheck = "desktop") { //output desktop } else { //output mobile } //if needed a additional check for a get param to switch if users change manually? regards mr-fan (have some experience with a other script that detects via PHP -> https://code.google.com/p/mobileesp/source/browse/#svn%2FPHP)
-
some other links Rating Pages https://processwire.com/talk/topic/7871-page-ratings/#entry76186 Flagpages https://processwire.com/talk/topic/7044-release-flagpages/ Bookmark pages https://processwire.com/talk/topic/7886-page-bookmarks/ Add remember - all are pages so Users are pages, too. This means that if i "bookmark" a users page -> i'm a follower of this "page=user". If i remeber right the user bwakad builds some kind of social powered website, may you send him a message. regards mr-fan