Jump to content

electricarts

Members
  • Posts

    42
  • Joined

  • Last visited

Everything posted by electricarts

  1. Hi adrian, many thanks for your help! Now i understand the field pairings setup. Of course, that only makes sense to display the settings in the page settings. The encoding should be Excels fault. I receive many excel files from clients which have wrong encodings (mostly for characters like ä, ö, ü and so on). I've to open this files in Apple Numbers and re-save to fix this. If i understand it right, the CSV file should have a additional column for the title (with the tire size)? This should fix the "Tire" title for every subpage too. Once again many thanks!
  2. Ahh, thanks for pointing me in the right direction. I was able to import and update the entries from a csv file! But i'm wondering where the field pairings setup is. Of course i read the ReadMe, but from the beginning a was searching for theses settings. I see "Data entry / CSV import settings", but no pairings setup. Maybe i'm blind. I uploaded a test site to the server:
  3. Ah, ok. I thought the title field is separated from the fields in which the entries are imported to. So i've to add a blank column in the csv file or a column with "Import" in every row?
  4. Hi adrian, for my test i use 6 fields of "text" type (from textfield_1 to textfield_6). Textfields should display numbers too, right? The csv file is attached. article-list.csv
  5. Thanks @adrian for your suggestion. But i'm unable to make it work. The csv file has 6 columns (screenshot). So i add 6 fields to my template. When i choose "add" at the Batch Child Editor tab, choose the csv file and hit "save", the error: "The number of columns/fields in your CSV do not match the number of fields in the template. Nothing can be safely imported. If you need to exclude certain fields, make sure the CSV has blank values for the excluded fields." appears. I don't know what i'm doing wrong. I also tried the import with 4 fields (because of the 2 blank columns). But with no success. Mario
  6. Many thanks @szabesz and @FrancisChung! I'll try your suggestions. But the problem with both solutions will be, that for the user (editor of the site) it has to be super-easy to load these csv-files on a regular basis. Every few weeks there are a few changes in the file and it should be like "select the file and click upload" to apply the changes.
  7. Hallo, i'm searching for a way to import entries from a css file. I have a csv (or txt) file with some comma-separated data and want to import just 1 entry into a list (text or textarea field) in the PW (3.0.33) backend. I tried the "Import Pages from csv files" module. I'm not sure if this is the right solution. The file can't be imported, because after Step 2 and starting the import, the "Unable to import page because it has no required 'title' field or it is blank" error message appears. I'm doing something wrong or is using this module the wrong way of importing csv entries? Mario
  8. Ok, that makes sense. But what have Checkbox and Email (or something else) in common? I could easily change it from Checkbox to all the other displayed types. Only Options is missing.
  9. Hi Benjamin, no, i think i've explained it wrong. I made a field with the field type of "Checkbox". But now i wanna change it from "Checkbox" to "Options". But under the "Type" select menu i didn't see "Options". (see screenshot) I've to completely delete the field and make a new one. There i have the possibility to choose "Option".
  10. Hi, i just discovered that i can't change the field type after making a field. I made a field "checkbox" and later i decided to want that field as a radio button (Select Options Fieldtype) with two options. But i can't change it under "Basics" -> "Type". I've to delete the field and then make it new. Then i can choose the Select Options Fieldtype. I'm doing something wrong? PW 3.0.24 Mario
  11. Hi Ivan, thanks for your reply! I always forget that technically everything is a "page". ;-)
  12. Hi, for a site about adoption of dogs (laboratory beagles) we need a solution for display and filter records (700). Every record has identical fields (name of the dog, age, gender, pictures and name, address, phone number of the person who wants a dog and so on). It should be very easy for the admin of the site to make new entries/change entries and filter for specific entries in the backend. In the fronted there should be a possibility to filter entries too (maybe someone is searching a dog with a specific age). How can i do that? Use Repeater Fields to create the records? There are about 60 entries (textfields, radio buttons, select fields ...) in every record. Is this "to much" or are Repeater Fields able to handle this? For the filter part i'm sure that the Lister Pro ist the right solution, right? Mario
  13. Oh my god, i did it again. What a careless mistake. It should be a single entry field but the Maximum files allowed was set to 0. Changed it to 1 and everything works like a charm. Thanks for pointing me to the details of the field!
  14. Hi, for a download area i wanna use a repeater field with a text field (description of that download) and a file field (the download file). The repeater field is "downloads" and it contains the fields "body_part_1" and "download_files". When i use this: <div class="uk-grid"> <?php foreach($page->downloads as $download): ?> <div class="uk-width-4-6"> <?php echo $download->body_part_1; ?> </div> <div class="uk-width-2-6"> <?php $file = $download->download_files; if($file) echo "<a class='download-links' href='$file->url'>$file->description</a>"; ?> </div> <?php endforeach; ?> </div> the output is this: <div class="uk-width-2-6"> <a class='download-links' href='/site/assets/files/1083/'></a> </div> The text (body_part_1) is ok, but no description inside the link and the path lacks the filename. Of course it's my fault, but what i'm doing wrong?
  15. Ahhh, my fault. Of course. The description for that file was empty in the backend. So, nothing to klick in the frontend.
  16. Hi, for a download page i need some links to files, which don't stay together in a "ul". They are distributed all over the page. I was wondering (and hoping) that there's a solution like the one for images: <?php $image = $page->images->eq(0); if($image) echo "<img src='$image->url'>"; ?> But i can't find something about it and a quick test didn't work. It worked for one single download: <?php $file = $page->download_files->eq(0); if($file) echo "<a href='$file->url'>$file->description</a>"; ?> When trying to address the 2nd file in the array with "eq(1)" nothing happens. What can i do to select the a specific file from the array? Mario
  17. No, i didn't found this. Thanks for the link! That means, i've to write this config.allowedContent = true; config.extraAllowedContent = 'p(*)[*]{*};div(*)[*]{*};li(*)[*]{*};ul(*)[*]{*}'; CKEDITOR.dtd.$removeEmpty.i = 0; directly in the config.js and there's no way to use entries in the Input section of the field to achieve this?
  18. Hi, i tried everything i found about this issue (here and with a Google search). Nothing helped. I unchecked ACF and HTML purifier. I added the i tag to the Format Tags section under field->Input->CKEditor Settings. This made the field unusable (the field in the backend was empty after). I used wildcards i[*]{*}(*) in the Extra Allowed Content box. Didn't work. In the end i made a Hanna Code snippet. This worked and is maybe the better and more secure solution. But it drives me crazy to not know what i'm doing wrong.
  19. Hi Christophe, thanks for your reply! I've also tried i(*) and h4(*) individual. Without success. Your other suggestions didn't work too.
  20. Hi, what do i have to do, to allow the i tag and the h4 class in the CKEditor? In the Extra Allowed Content box (setup field -> input) i wrote "i(*);h4(*)". But when i type <h4 class="uk-panel-title"><i class="uk-icon-credit-card-alt"></i>Unsere Bankverbindung:</h4> the CKEditor still strips the complete i tag and the h4 class from the source. Mario
×
×
  • Create New...