This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $modx->log(modX::LOG_LEVEL_ERROR, "{ } log"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ex : $(this).html('<p id="BlocSuccess">message envoyé :-)</p>').doTimeout(1000,function (){ | |
| $("#contactform").html(contenuForm);}); | |
| (function($){var a={},c="doTimeout",d=Array.prototype.slice;$[c]=function(){return b.apply(window,[0].concat(d.call(arguments)))};$.fn[c]=function(){var f=d.call(arguments),e=b.apply(this,[c+f[0]].concat(f));return typeof f[0]==="number"||typeof f[1]==="number"?this:e};function b(l){var m=this,h,k={},g=l?$.fn:$,n=arguments,i=4,f=n[1],j=n[2],p=n[3];if(typeof f!=="string"){i--;f=l=0;j=n[1];p=n[2]}if(l){h=m.eq(0);h.data(l,k=h.data(l)||{})}else{if(f){k=a[f]||(a[f]={})}}k.id&&clearTimeout(k.id);delete k.id;function e(){if(l){h.removeData(l)}else{if(f){delete a[f]}}}function o(){k.id=setTimeout(function(){k.fn()},j)}if(p){k.fn=function(q){if(typeof p==="string"){p=g[p]}p.apply(m,d.call(n,i))===true&&!q?o():e()};o()}else{if(k.fn){j===undefined?e():k.fn(j===false);return true}else{e()}}}})(jQuery); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $criteria = $modx->newQuery('modResource'); | |
| $criteria->leftJoin('modUser','PublishedBy'); | |
| $criteria->where(array( | |
| 'modResource.published' => 1, | |
| 'modResource.searchable' => 1, | |
| 'pagetitle:LIKE' => $value.'%' | |
| )); | |
| $criteria->orCondition(array( | |
| 'PublishedBy.username' => 'george123', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $path=$modx->getOption('base_path').'assets/templates/nomDossier'; | |
| $NomArtistePourPagetitle=array(); | |
| $dir=array(); | |
| $filesTT = scandir($path); | |
| foreach($filesTT as $fileee) { | |
| global $NomArtistePourPagetitle; | |
| if(is_dir("$path/$fileee") && $fileee !="." && $fileee !=".." ) { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $path=$modx->getOption('base_path').'assets/templates/fichiers_agdl/artistes'; | |
| $Discopraphie=array(); | |
| $NomArtistePourPagetitle=array(); | |
| $idpagecreate=array(); | |
| $Photo=array(); | |
| $dir=array(); | |
| $filesTT = scandir($path); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| onclick="window.open(''); return false;" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bold,italic,underline,strikethrough,sub,sup,separator,bullist,numlist,outdent,indent,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect,separator,styleprops | |
| undo,redo,selectall,separator,pastetext,pasteword,separator,search,replace,separator,nonbreaking,hr,charmap,separator,image,modxlink,unlink,anchor,media,separator,cleanup,removeformat,separator,fullscreen,print,code,help |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1) télécharger la dernière version de modx manuellement, la placer à la racine du site. | |
| 2) se connecter au serveur par le terminal avec | |
| ssh [email protected] | |
| 3) dézipper le zip | |
| unzip modx-2.0.7-pl.zip | |
| 4) vider cache du site déjà en place |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| créer le context avec | |
| http://www.class-zec.com/en/blog/2011/seo-friendly-multilingual-websites-with-modx-and-babel.html | |
| site_url = {base_url}fr/ | |
| cultureKey = fr | |
| site_start = 20 // rajouter quand babel sera installé | |
| rajouter le nouveau context pour les utilisateurs anonyme |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| créer une FC modifier l'onglet | |
| avant => modx-panel-resource-tv | |
| après => modx-resource-settings |