elvina
Members-
Posts
15 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
elvina's Achievements
Jr. Member (3/6)
2
Reputation
-
Hi, I have got this to work now, thanks. I have a new issue which is I have a multi language text field which doesn't get filled in. Is it possible to import multi language fields? I'm just bringing in default language to start with, I don't get any error, but just a blank field.
-
Thanks! I'll have a go with that, though I did manage to get the inbuilt PW date translation to work. I had been using date() but realised i need to use $datetime->date() (as well as put translations in the WireDateTime.php file) Oooh actually I need ranges too so HumanDates will be very useful. Cheers!
-
Hi Bernhard I tried to use the Latte localDate filter in a latte template and I get "Filter not defined". Is there a list of latte filters that are included? I'm just trying to get my date fields to translate as I can't get months to translate without using strftime() which is now depreciated. thanks
-
Much appreciated! Bit slow at getting back to work, but I will test it as soon as i can.
-
ok yes. it is this. I rebuilt it and import works fine, but when I add an image field, and without any data going into the image field, it gives the error. Is there a way to do it in a table with an image column? I just want to bring in all the text/page data and do the images later manually.
-
elvina started following RockFrontend now supports translations in LATTE files ?
-
Hi, it is just single template. actually i just realised what I had changed to get the 2nd error message, i tried using Page (autocomplete) instead of Page (select). I put it back to Page (select) and tried with basic page template, and i get the first error again. ProcessWire\FieldtypeTable::wakeupFile(): Argument #1 ($page) must be of type ProcessWire\Page, null given, called in domain.org/site/modules/FieldtypeTable/FieldtypeTable.module on line 1189
-
Hi Table CSV Import / Export Version 2.0.17 (just updated) ProFields: Table 0.3.0 I wonder if I somehow am doing this wrong! I have used the csv import very successfuly with page creation, so I thought I was doing the same. I tried changing some settings in the table columns, and another row. example of what i have pasted into csv import box (which is the contents of the exported file) position and country are pages. position.title name email organisation country.title "Vice President" "FirstName Surname" name.surname@gmail.com UFRGS Brazil Settings as tab seperated. so with this one, I got the error Unknown Selector operator: '[empty]' -- was your selector value properly escaped? field='Vice', value='President', selector: 'Vice President'
-
Hi I'm having problems importing to a csv with a page(select) in one column. Whatever I put in the correct column the title or name, I am getting an error that says I've tried pasting it in, and using a file. I've tried tab and comma delimited. I even tried filling in one row, adding it. Then I exported it as a csv and tried to import that file, and i get the same error. Is there anything specific I might have missed? its 5 columns, 2 of which are page(select) fields, the others are just plain text fields
-
Great, thanks so much
-
Hi, i'm a bit of a beginner, so wasn't sure how to update from a zip. I just replaced the old 'RockFrontend' folder and replaced it with the Dev one, is that correct? Is there anything else I need to do? Anyway, it works! thanks so much
-
Hi Bernhard, I am using latte and wanted to use the 'webalize' filter. I get the error "Filter |webalize requires nette/utils package". What is the way to include it into RockFrontend? It seems useful! thanks
-
OK, I had to fiddle with getting the right hooks. As the page is made before the title field is entered in the repeater. So this renames the repeater page with the field title and the year field of the original page holding the repeater. $wire->addHookBefore('Pages::save', function(HookEvent $event) { $page = $event->arguments(0); if($page->template->name == 'repeater_committee_section') { $title = $page->field_title; $year=date('Y', $page->getForpage()->starts); if (!empty($title)) { $page->name = $page->field_title . "-" . $year; } } });
-
Hi, I have a repeater on a page. It is a committe with different sections, so I have each section as a repeating block containing another repeater with the members. eg. Block: title="Presidency", contains Ms J. Smith - President, Mr J. Brown - Treasurer etc Block: title="Executive Committee" contains other members. This all works fine, but when I edit in the front end, the Block editor comes up with my repeater field but says "editing block 21245454354" and opens saying "editing page 21245454354". I can see these are the page titles in the admin, but is there a way to have these pages named as the title of that block? thanks
-
Hi, I just updated to the latest version (2.1.73) and now I get an error when using FrontendLoginRegister. My login page now gets error Oh snizzle… Error: Exception: Method Link::useAriaAttributes does not exist or is not callable in this context (in wire/core/Wire.php line 563) #0 wire/core/Wire.php (419): Wire->___callUnknown('useAriaAttribut...', Array) #1 wire/core/WireHooks.php (968): Wire->_callMethod('___callUnknown', Array) #2 wire/core/Wire.php (484): WireHooks->runHooks(Object(FrontendForms\Link), 'callUnknown', Array) #3 wire/core/Wire.php (487): Wire->__call('callUnknown', Array) #4 site/modules/FrontendForms/Formelements/Form.php (2178): Wire->__call('useAriaAttribut...', Array) #5 site/modules/FrontendLoginRegister/pages/LoginPage.php (570): FrontendForms\Form->render() #6 site/modules/FrontendLoginRegister/pages/LoginPage.php (896): FrontendLoginRegister\LoginPage->render() #7 site/templates/fl_loginpage.php (10): FrontendLoginRegister\LoginPage->__toString() was there something to turn this option off?