-
Posts
139 -
Joined
-
Last visited
Everything posted by hansv
-
@bernhard Problem solved (I hope) Cause: reference to RockMigration-json-file e.g. field rbp_text_text field rbp_text_text / tab 'Input' / 'Custom settings JSON' / 'JSON file' is refering to '/site/modules/RockMigrations/TinyMCE/text.json' I removed de reference ''/site/modules/RockMigrations/TinyMCE/text.json' + save Refresh site (F5) TinyMCE is visible Same positive result for the other blocks, accordion, features, ...
-
Hi I'm struggeling to view the TinyMCE menu en toolbar in the different rpb blocks (in backend and frontend) PW 3.0.242 en rpb 5.9.1 TineMCE 6.1.8 Front-end-page-editor (Core) In rpb_text_text: in rpb_accordion_item_content d and so on Hopefully someone can point out what I'm missing here? I suspect (as usual) it will be something minor.
-
Is it possible to realize this e-commerce with Padloper 2 I want to sell 10 products (food in a school restaurant). The food is sold on monday, tuesday; thursday and friday. Orders are places per month. First the month is chosen per product you can choose the days you want to buy the product Orders can be shown in different lists per customer / date / product/ per food / number per day per date / food (per date #bread 1, #bread2, ...) Lists can be emailed to customer, to ...
-
-
Hello When using the code-snippet in TinyMCE, the highlighting works in the backend, but not in the frontend. Backend Frontend Working with PW 3.0.208 dev and TinyMCE-module 6.1.2 Many thx in advance
-
@bernard, many thx Delete the row in db table 'fields' did the trick thx for your quick and efficient reply
-
Hi, I removed the 'recurme'-module. As a result my field 'kalender' has no fieldtype (fieldname: kalender, fieldlabel: kalender, fieldtype: none, assigned to templates: 0). Entering the field gives an error message. Is there any way around to delete an existing field that has no fieldtype? thx
-
@elabx thx for your suggestion. Callbacks in Uikit are not well documented. Do you have an example for 'sortable'?
-
Hi I use UIKIT3 Sortable at the frontend to make the blocks M1, M2, ... Each block is a page. I can move (sort) the blocks at the frontend, but how can I save the sort-order so the pages at the backend have the same sort-order as at the frontend?
-
I think, my question was not really clearly. In my template 'x', I have a field 'Relatie' (see screenshot). The field 'Relatie' is a Page reference field. Page 'y' may only be viewable by 'Raad van bestuur'. How can I make a permission / role for the value 'Raad van bestuur' of the field 'Relatie'?
-
Hi I have a question about Access control In my template, I have a field 'relations' (= a page field) with e.g. board of directors, members, ... The board of directors may view a page, the members not. How can I manage in permissions / roles that only the board of directors can view the page? thx in advance
-
@wbmnfktr thx, this is working (in Chrome, Win10). fine after cleaning browser-cache and closing browser-tabs,
-
module Recurme – Processwire Recurring Dates Field & Custom Calendar Module.
hansv replied to joshuag's topic in Modules/Plugins
Hi I have some difficulties with customize the lay-out. I have a custom calendar and want to put the month with navigation on top of it (in place of 05 = month may). Is there an API call $recurme->month()->next ? Is there an api call $recurme->month()->prev ? -
Hi I try to install MarkupProcesswirePhotoswipe. Is it possible that this module is not compatible wit php 7?
- 41 replies
-
- photoswipe
- module
-
(and 1 more)
Tagged with:
-
@adrian thx, I try your suggestion with AdminAction module
-
Hi Is it possible to import into repeater fields? hansv
-
@horst This works perfectly in alle pages. many, many thx
- 6 replies
-
- 1
-
- url segments
- $input
-
(and 1 more)
Tagged with:
-
The solution is working fine. The code is placed in _main.php and is shown in the header-part of the template. When going to another page, the information is lost and I get the error: Trying to get property 'naam' of non-object in /....../_main.php on line 83. I tried session-variables. The variables are stored, but when I go to another page the sesson-variables are not retrieved. My code $gebruikerarray = json_decode($gebruiker); $session->naam = $gebruikerarray->naam; $session->voornaam = $gebruikerarray->voornaam; $session->klas = $gebruikerarray->groups[0]->name; $session->email = $gebruikerarray->emailadres; $session->email_coaccount1 = $gebruikerarray->email_coaccount1; $session->email_coaccount2 = $gebruikerarray->email_coaccount2; echo 'Bestelling voor ' . $session->naam . ' ' . $session->voornaam . ' - ' . $session->klas . '<br>'; echo 'Email: ' . $session->email . '<br>'; if ($session->email_coaccount2 !== '' ) { echo 'Email co-account 1: ' . $session->email_coaccount1 . '<br>'; } if ($session->email_coaccount2 !== '' ) { echo 'Email co-account 2: ' . $session->email_coaccount2 . '<br>'; }
- 6 replies
-
- url segments
- $input
-
(and 1 more)
Tagged with:
-
@teppo@horst thx for your quick, very usefull, respons The combination of $input->get and allow url-segments in the home page did the trick. I was to much focused on the _main.php, but the real page was home.php. With the url-segments allowed in the home template, the magic of processwire was there. if(($input->get->u) !== ''){ $gebruikersnaam = $input->get->text('u');
- 6 replies
-
- 3
-
- url segments
- $input
-
(and 1 more)
Tagged with:
-
Hi everybody I want to catch a variable from outside processwire into _main.php if(isset($_GET['u']) && $_GET['u'] !== ''){ $gebruikersnaam = $_GET['u']; ... ... This is working fine in a php file in a non processwire environment. In a processwire environment, I get the variable when I refer to /site/templates/_main.php but a great part of my template-code is not shown. From outside processwire I refer to mydomain/index.php. If I place $gebruikersnaam = $_GET['u']; in index.php, how can I pass through my variable to _main.php? Or is there an other solution? thx hansv
- 6 replies
-
- url segments
- $input
-
(and 1 more)
Tagged with:
-
@adrian many thx A simple table check was enough. The cause of this is still a mistery, but I'm glad the site is working again. hansv
-
I got this morning an error on all pages that uses the hanna-code module on site that is already a few years online. I use the latest pw dev Als guest you see this error on www.orgelpijpjes.be Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Error has been logged. As administrator Error: Exception: SQLSTATE[HY000]: General error: 1036 Table 'hanna_code' is read only (in /customers/9/7/b/orgelpijpjes.be/httpd.www/site/modules/TextformatterHannaCode/TextformatterHannaCode.module line 305) #0 /customers/9/7/b/orgelpijpjes.be/httpd.www/site/modules/TextformatterHannaCode/TextformatterHannaCode.module(305): PDOStatement->execute() #1 /customers/9/7/b/orgelpijpjes.be/httpd.www/site/modules/TextformatterHannaCode/TextformatterHannaCode.module(198): TextformatterHannaCode->getReplacement('inthepicture', Array, true) #2 /customers/9/7/b/orgelpijpjes.be/httpd.www/wire/modules/Fieldtype/FieldtypeText.module(94): TextformatterHannaCode->formatValue(Object(ProcessWire\Page), Object(ProcessWire\Field), '<p>[[inthepictu...') #3 /customers/9/7/b/orgelpijpjes.be/httpd.www/wire/modules/Fieldtype/FieldtypeTextarea.module(119): ProcessWire\FieldtypeText->___formatValue(Object(ProcessWire\Page), Object(ProcessWire\Field) This error message was shown because: you are logged in as a Superuser. Error has been logged Has anyone suggestions how to solve this? thx
-
PW 3.0.52 with uikit site profile After installing the Core-module Language Support I get the following error Session: Module reported error during install (LanguageSupport): SQLSTATE[HY000]: General error: 1214 The used table type doesn't support FULLTEXT indexes Any idea how this error can be avoided?
-
On transferring my database online, I get the following error when I try to enter my templates, fields, formbuilder form. Error: Exception: SQLSTATE[42000]: Syntax error or access violation: 1104 The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay ( .... /wire/core/PageFinder.php line 410) Any suggestions how to fix? Many thx
-
I don't know is this topic is still alive? Just put this line in the header of _main.php, close your browser and restart or refresh (CTRL-F5) a few times and the favicon appears. <link rel="icon" href="<?=urls()->templates?>styles/images/favicon.ico">