-
Posts
705 -
Joined
-
Last visited
Everything posted by Christophe
-
I've just found the following article via Twitter: https://www.cmscritic.com/a-look-at-processwires-latest-core-updates/. I haven't read it yet. I have just clicked on the link because I've seen an error worth noting... I am going to send the author a message to suggest him a change from "ProcessWire, the open source PHP platform, has some updates well worth nothing." to "ProcessWire, the open source PHP platform, has some updates well worth noting."
-
Here is the code I use for at least one website for the moment. I don't remember exactly where in the forum(s) or in which profile I found it. I don't remember if it was one, or if I merged two pieces of code (perhaps I added the first "<li>"). It could be a start. (I'm also a php beginner.) <!-- Horizontal Menu --> <ul class="menu"><li><a href="<?=$config->urls->root?>"><?=$pages->get('/')->title?></a></li><?php function topMenu($currentPage, $startPage) { $out = ''; foreach($startPage->children as $page) { $class = ''; if($currentPage->id == $page->id) $class = " class='current'"; $out .= "<li$class><a href='$page->url'>$page->title</a>"; if(count($page->children)) { $out .= "<ul>" . topMenu($currentPage, $page, $level+1) . "</ul>"; } $out .= "</li>"; } return $out; } echo topMenu($page, $pages->get('/')); ?></ul>
-
Hi, I've just uploaded the HelloBrowser module via ftp to test it on a demo website (version 2.5.3) and am getting a blank page with the following error message after having hit the Refresh button to find new modules: Parse Error: syntax error, unexpected 'script' (T_STRING) (line 83 of /*****/****/*********/var/www/****************.web4me.fr/htdocs/site/modules/HelloBrowser/HelloBrowser.module) This error message was shown because you are logged in as a Superuser. Error has been logged. I've had to remove the module's folder via ftp in order to be able to access the Module administration again.
-
Hi, I've just found out again about browser-update.org via another website using it. If someone knowledgeable enough created a (simple) module/"plugin", ProcessWire could also be mentioned on the homepage: "You may also use third-party plugins for: WordPress, ember-cli, TYPO3, TYPOlight (german), vBulletin, concrete5, MODx, Drupal, Habari, Magento, WCF 2, CMS made simple, XenForo."
-
Hello, I didn't leave a message 1-2 days ago because I didn't know if I could really help. But never mind... For confirmation/precision, are you using option #1 with multiple databases, or option #2 with the same database (use of the Multisite module)? What are the (big) differences between the servers where both websites work and the server where only one website works ? And if there are 2 differents databases, are there any (big) differences between them? Edit: just in case, is there a significant difference relative to the ftp owner (apache, another "instance"...) or the mysql (database) owner...?
- 2 replies
-
- file upload
- description
-
(and 2 more)
Tagged with:
-
Did you look at the links? What had you done, had you changed the name of/deleted something, for example, before you had this issue? How had you named your fields, for instance, with lower-case characters? Is there any difference if you empty the Trash? Did you try with 2.6.0 master?
-
New sub-forum "Coming from other CMSs" or something similar
Christophe replied to Christophe's topic in Pub
An "official" pinned topic per cms perhaps... -
Hi, I've just "realized" again that I keep mentionning ProcessWire to some contacts. People who have just started using WordPress - or Joomla! - for instance, or are already using them. Some of them are also already using another CMS/CMF at their job (like CakePHP...). From time to time, I find myself continuing to try (even if just with a few sentences) to convince them to (really) try/test it. I think (as far as I remember) it's the first time that I act like this for a CMS/CMF. It's also the first time that I'm so "active" on a forum , even if it's not much. I would like to be more active, but I'm just a "newbie". It seems I can't help much. Wouldn't it be interesting/good for ProcessWire to have a sub-forum dedicated to all questions..., issues/problems... and advantages/benefits... related to the "transition(s)" from another CMS/CMF? NB: it's also the first time that I install/adapt/convert (to ProcessWire) myself front-end frameworks, static "themes"/templates or websites... PS: can someone add a space between "CMSs" AND "or" in the topic title, and perhaps add "something" before "similar", please?
-
Creating permission based access to field languages
Christophe replied to alexcapes's topic in Multi-Language Support
@LostKobrakai: https://processwire.com/talk/topic/9828-image-description-alt-tag-text-only-appearing-when-logged-in/ -
Creating permission based access to field languages
Christophe replied to alexcapes's topic in Multi-Language Support
I don't know if it's off topic, or not. With the Image type field you can "Disable multi-language descriptions" in the Input tab, as you perhaps already know. And when you log in with a user with a specific language you only have the (image) description "field" for that language. Once all the tabs are completed (or not) with content, perhaps, with a little tweak/hack, it could be possible to do this for each field or for all the fields from a certain "group"/template at once, or something like that, from the backend. -
Creating permission based access to field languages
Christophe replied to alexcapes's topic in Multi-Language Support
Hello, How is your site's structure? For one "article", do you have all your languages in the same page or do you have 12 separate pages? Can you give more details? -
Lost Work -- Auto Log Out misery: help me understand what happened?
Christophe replied to Metadope's topic in General Support
It seems ready for CKEditor: http://sisyphus-js.herokuapp.com/#interaction Interaction with other plugins Let's add some fanciness to our form's textareas via CKEditor // What's going on here? // Here we'll persist the form's data into localStorage on // every keystroke $( function() { $( "#ckeditor_form" ).sisyphus() } ); -
Hi, I've just entered Invalid value sent to Page::setTemplate in Google and have found several links, starting from the first ones, pointing to ProcessWire Topics/Posts in these Forums or to the ProcessWire GitHub. Some are related to the repeater field(s). They seem to give good clues/solutions. Hope that helps. By the way, which version(s) are you both using?
-
Lost Work -- Auto Log Out misery: help me understand what happened?
Christophe replied to Metadope's topic in General Support
Perhaps this could be useful, in this case or in another one...: www.seleniumhq.org (browser automation). -
I can't edit multilanguage code internationalization online
Christophe replied to manlio's topic in Multi-Language Support
Hello, How is it that the message displays /site\templates\homepage.php instead of /site/templates/homepage.php? Is your localhost on Windows (if so, which version is it)? Are you using Wamp, Xampp, easyPHP...? It seems it doesn't find the file(s) because the path is incorrect. -
Image "Description" (alt tag) text only appearing when logged in
Christophe replied to Christophe's topic in API & Templates
"Multilingual" only for the backend users . -
Image "Description" (alt tag) text only appearing when logged in
Christophe replied to Christophe's topic in API & Templates
Hi, (It's not a multilingual website.) The mistery is solved. It's quite logical. The language for Guest was Default. It had to be French to display the description when not logged in. And the language for the superuser had to be French to display the description when logged in. I often changed the language for the superuser but I didn't notice the difference until now. The multilingual description is deactivated by default so I hadn't realized that I had completed the "Description" (same label) only when logged in as the superuser with the French language. I guess that if I had done the opposite it wouldn't have bothered, as the (empty) French description would have inherited from the Default one. Thanks to both of you for helping me go more precisely in the right direction. -
Image "Description" (alt tag) text only appearing when logged in
Christophe replied to Christophe's topic in API & Templates
No clues? I tried different things but it didn't change anything. It could be a permission issue of course, but why? I could just hard code it, but I'd like to understand why this happens. -
Hello palacios000, I had the same problem while developing the last website I made and connecting to the admin (PW 2.5.3 too). In my case, it was certainly due to a "config" file where "development" (and not "production") "mode" was activated, and so there was probably no server-side cache enabled. Is the website in development or in production phase, and installed locally or online? What hosting do you have? Can you give more information?
-
On wordpress.com, it is claimed that "WordPress powers 23% of the internet". We can't know for sure if this figure/percentage is real/realistic. But it's so easy to claim this when a lot in fact only exist because they are created via this website, and probably cannot be said to be "professional" and/or of professional quality. And they are perhaps not "active" anymore. One question is if it powers them efficiently. And now also, the Joomla! website proposes this: demo.joomla.org "Try Joomla! Fall in love! Get a 90-day free Joomla! demo account"... And "Keep your site after 90 days!", "Quick Joomla! Test Drive" (that doesn't seem to work currently) and "Multilingual websites in Joomla!". So the figures/percentages... Another question is if these CMSes empower the developers to create websites efficiently. Because I made 2 websites with ImpressPages CMS (in fact I wanted to create the second with ProcessWire but was a total beginner at that time), I know that there is also "ImpressPages Cloud". "Use ImpressPages cloud to gain maximum simplicity. Add your own HTML, CSS or even PHP code. It is free in development mode. Pay just $4.99 when you ready to go live." "Register" "Try without registration" ("Try on The Cloud" link on the homepage). And we know it also exists for other CMSes, for instance Concrete5: www.concrete5.org/trial "You can point a full domain at this demo when you purchase a hosting plan." "Create a concrete5.org Community Account" "My Website Needs I need a website for myself I build many websites for a living."
-
Image "Description" (alt tag) text only appearing when logged in
Christophe replied to Christophe's topic in API & Templates
ProcessWire 2.5.3 © 2015 Default language + French language (for the simple user at least) Site modules installed and activated (for the moment): Email -> Email Obfuscation (EMO) 1.0.3 Fieldtype -> Map Marker 2.0.6 Inputfield -> Map Marker 2.0.7 Markup -> Map Markup (Google Maps) 1.0.1 Process -> Redirects 1.0.0 -
Image "Description" (alt tag) text only appearing when logged in
Christophe replied to Christophe's topic in API & Templates
Hello LostKobrakai, In this case at least, I've also looked at the source code. As the image and its width and height are displayed without include=hidden, I was just curious to see if it could change something. $config->debug is already enabled, but I haven't really looked at the information it displays in the backend. So, I've replaced alt="<?=$logo->description?>" with alt="<?=var_dump($logo->description)?>" and I have: <img width="98" height="129" "="" alt="string(0) " src="/site/assets/files/1036/psi_alphabet_grec_ipsyus-1.png"> in Firebug; <img src="/site/assets/files/1036/psi_alphabet_grec_ipsyus-1.png" width="98" height="129" alt="string(0) "" " /> in the source code. Where did I have to put var_dump($logo->description);? # When logged in as superadmin, or as the simple user, there is <img width="98" height="129" "="" ipsyus"="" -="" grec="" alphabet="" en="" psi="" alt="string(29) " src="/site/assets/files/1036/psi_alphabet_grec_ipsyus-1.png"> in Firebug, and <img src="/site/assets/files/1036/psi_alphabet_grec_ipsyus-1.png" width="98" height="129" alt="string(29) "psi en alphabet grec - ipsyus" " /> in the source code. -
Hello everyone, I've just finished building a small website based on the default profile's structure but with this as a "profile": http://purecss.io/layouts/side-menu/ Logo ("/header/") is a hidden page with just a "PageTitle" field, an "Image" field and a "Text" field. So, I have this in _init.php: $logo = $pages->get('/header/')->images->first(); And this in _main.php: <img src="<?=$logo->url?>" width="<?=$logo->width?>" height="<?=$logo->height?>" alt="<?=$logo->description?>" /> But, via Firebug or the default web developer tools of different browsers, the "description" part doesn't appear in alt: In Firefox: <img width="98" height="129" alt="" src="/site/assets/files/1036/psi_alphabet_grec_ipsyus-1.png"> In Chromium/Chrome and Opera: <img src="/site/assets/files/1036/psi_alphabet_grec_ipsyus-1.png" width="98" height="129" alt=""> I've also tried with the following variation in _init.php, but it doesn't change anything: $logo = $pages->get('/header/, include=hidden')->images->first(); The content of the alt attribute (that is to say the content of "Description" in the "Image" type field) is only displayed when I am logged in as a superuser or as a simple user with less permissions/rights. I have some "intuitions", but not more for the moment. Any ideas ?
-
Hi, Affinity Photo (Mac) is available in Beta version now. For Windows users, Serif also has more or less equivalent applications. If you create a free account and download (or not. I don't remember if it's necessary. Perhaps you just don't need to install it.) the free version (normally an older version), some time later you can go on the application page, and click on the button to upgrade to the pro version. You then have a reduced price. And some moments during the year there are special offers for the current version, and you can also have the previous version for almost nothing (email offers).
- 38 replies
-
- software
- prototyping
-
(and 1 more)
Tagged with: