Jump to content

elvina

Members
  • Posts

    26
  • Joined

  • Last visited

Everything posted by elvina

  1. ok, i saw this comment and have aded in the jquerycore file. this works for now, but I don't really understand why this file gets loaded for admin user but not other users. I can't see anything obvious in the Roles settings.
  2. I think it might be something to do with jquery. For some reason, when I am logged in as superuser, i get no errors and can see "Alfred is ready" in console, but if I login as a limited user, I get a ton of messages that jquery is not loaded, and Alfred reports... Loading jQuery... inject_main.js:1 inject_main.js 20 Alfred.min.js?m=1731854866:8 Loading jQuery... Alfred.min.js?m=1731854866:8 jQuery not found I am adding the scripts in my _init file with this $rockfrontend->scripts() ->add('/site/templates/uikit/dist/js/uikit.min.js') ->add('/site/templates/uikit/dist/js/uikit-icons.min.js') ->add('/site/modules/FormBuilder/ProcessFormBuilder.js', 'defer') ... ->minify(!$config->debug); Am I doing it correctly?
  3. Hi @bernhard , thanks for reply I just looked and I do have that checked already
  4. Hi, I'm using Rockdev 3.23.2 I have a page that is displaying content from a series of subpages, and I have users that can only edit 1 of these subpages. I would like Alfred to let them edit it from this list page (as it is the only way it is displayed on the site). So I am using {alfred($item)}, where $item is the subpage, in a div. This works perfectly if I am logged in as admin, but logged in as the user with edit access to a subpage, it doesn't work. No icons appear I can edit from the dashboard, so its only front page editing that isn't working. I checked and the user does have 'page-edit-front' checked. Is this possible? or does it need any extra settings? cheers
  5. Does anyone have tips or css snippets they are using to get round this issue?
  6. was just about to delete my comment! I just realised that I hadn't updated the module. updated and all good, works as you say with pipe seperator in multi language field. Thanks so much!
  7. Hi. I'm just back on my importing with a multi language text field. I'm not sure I understand what you mean that I have a multi language text field in my table and it works to manually enter using the table GUI, but importing via CSV doesn't work. Are you saying I need to convert them to text areas?
  8. Hi Are you asking about Latte filters or about using the PW date formatting?
  9. 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.
  10. 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!
  11. 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
  12. Much appreciated! Bit slow at getting back to work, but I will test it as soon as i can.
  13. 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.
  14. 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
  15. 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'
  16. 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
  17. Great, thanks so much
  18. 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
  19. 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
  20. 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; } } });
  21. 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
  22. Thank you! and this version has fixed the problem I was having before you updated! My frontendlogin using a latte template was not getting redirected on login, it got stuck with the "please be patient...", but now it works all fine.
  23. 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?
×
×
  • Create New...