ARG
Members-
Posts
10 -
Joined
-
Last visited
ARG's Achievements
Jr. Member (3/6)
7
Reputation
-
It seems to me that a good definition of a ''Modern Site Profile'' should be: an mix of the UIKit Site Profile and Multilingual Profile. Multilingual: of course, does not need further explanations why this profile is important for many of us. UIKit : for those who ask them selves about the hype around UIKit, I suggest a very basic test: Take a tablet, a smartphone, or any device with a touch screen, and then, go on the documentation page of each of the majors CSS frameworks: -Bootstrap -Foundation -UIkit Try EACH function, like it is supposed to work on a touch screen device: with the help of your ...finger. At the end, I am pretty sure you will understand why UIKit is a good choice for PW: Because IT WORKS. (No more: expand..ooops... retract....Re expand...ooopss keep the finger too long on the item...f...k...try again.... @£¦@@$....will plug a mouse....) Everything works. It could be UIKit 2. Married with PW, It is way enough to make a terrific couple. And.... Santa is coming...
-
Yes, I had a look into, 2 days ago. And...well... I am not ready I will follow your advice: understand the ''normal'' logic of PW, instead of trying to apply another (CMS) logic, just to stay in the confort zone. Thank you !
-
Template associated to an _include.php page: possible???
ARG replied to ARG's topic in Getting Started
Oh no ! Cool things need time to be done. The difference between mediocrity and quality, is, frequently, the addition of time to talent, and work. But I am patient... Thank you again. -
Hello szabesz, thank you for your advices. But.... I don't want to build an HTML element structure inside Ckeditor. This part is built (or, I would like it to be built) in the other field ''card_html'' (textarea field) I just want to use Ckeditor like it is supposed to be: for the ease to write content, and manage things related to content. Nothing else. (In my actual website, the editor (old version of TinyMCE) allows the mix of content and HTML tags. I don't fear for security, as I am the only user/admin/redactor/designer/builder... name it... But as soon as the page/block is a little bit complex, the edition of the content becomes cumbersome.) I am trying to find a way to separate HTML structure from content. And my question is about ''how to include the content (ckeditor1 file) in the structure (card_html file)'' ? (if possible)
-
Hello everyone. I am in the process to understand how to build HTML blocks ( like cards, for example) with de possibility to edit/populate them with the confort and ease of use of Ckeditor. I built a template with 3 fields: -Title: page title -ckeditor1: textarea (the editor) -card_html: textarea (the html code) The template is associated to a page. The output will look to something like: echo "<h3>{$page->card_html}</h3>"; Until there, no problem. The question is about the card_html code: if I want to use ckeditor to populate my card, I must output the content generated by the editor, in the HTML code of the card_html field. I tryed something like: <div class="uk-child-width-1-2@s uk-grid-match" uk-grid> <div> <div class="uk-card uk-card-hover uk-card-body"> <h3 class="uk-card-title">My title</h3> <?php echo $pages->get("/page-1/")->ckeditor1; ?> The output shows: get("/page-1/")->ckeditor1; ?> So : Or I am trying something impossible. Or I am doing it wrong. Can anybody help ? Thank you.
-
Template associated to an _include.php page: possible???
ARG replied to ARG's topic in Getting Started
This describes a kind of liberty ... (this is why I find Processwire so attractive).... but... ..''Is the technology an instrument of liberation or enslavement?'' You have four hours. GO ! Just joking Thank you for the answers: each of them open up the door a little more. -
Template associated to an _include.php page: possible???
ARG replied to ARG's topic in Getting Started
Doable? Ok. I probably missed something. I will digg deeper in the doc. Thank you monchu. -
Hello. Sorry in advance for the super basic question, from a total begginer: -when I want to create a new template in the admin, I have to create firstly a ''new.php'' page in the site/template folder. -Is it possible to do the same in an ''_new-include-some-page.php'' in the site/template/include folder? I was thinking to a solution: removing the Include folder, and put all the .php pages in the template folder. But, I am sure I am missing something, and other solutions exist. An advice? Thank you for your time.
-
Thank you ''fbg13'' I have made the change and everything is fine, now. Maybe this change should be done also in the tutorial?
-
Hello, I am completely new at PW, (and Php) coming from another CMS. I decided to try to understand the beast, before crafting anything. So, I started from the beginning: the simple web site tutorial. I am trying to output the Home page with Head and footer included in. Here is my Home page code: include("./includes/head.inc.php"); echo "<h1>{$page->title}</h1>"; include("./includes/scripts.inc.php"); include("./includes/foot.inc.php"); Here is my Head.inc.php code: <?php require_once("./includes/functions.inc.php"); ?> <!doctype html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content="<?php echo $pages->get("/site-settings/")->site_meta_description; ?>"> <title><?php echo $pages->get("/site-settings/")->site_meta_description;?></title> <link rel="stylesheet" href="<?php echo $config->urls->templates?>css/simplegrid.css" /> <link rel="stylesheet" href="<?php echo $config->urls->templates?>css/site.css" /> </head> <body> And this the message I got, when I try to view my page: Compile Error: require_once(): Failed opening required 'C:/wamp64/www/processwire-master/site/templates/includes/includes/functions.inc.php' (include_path='.;C:\php\pear') (line 1 of C:\wamp64\www\processwire-master\site\assets\cache\FileCompiler\site\templates\includes\head.inc.php) Any advice would be helpful Thank you for your time.