Jump to content

Bike

Members
  • Posts

    21
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Bike's Achievements

Jr. Member

Jr. Member (3/6)

0

Reputation

  1. Hi everbody, I still didn't find any solution for this problem though I think it might be something not too fancy. Looking for a select field (ASM too!) with language tabs. For each language there is not only a translation but an entirely different content. Ex: Select field "Publishers". Field holds different lists of publishers for each language EN / DE / ES. Or: ASM Select "Available as". Holds options such as "book", "ebook", "audiobook". Different selection possible for each language. In case I am not making it clear enough have a look at the pictures πŸ˜„
  2. It's been a while but I'm actually still looking for a solution... Is there a way to find all empty fields (even in repeaters)? The client doesn't want to click through each and every single field for translation whenever a new item has been created. πŸ™‚
  3. Thanks @wbmnfktr, seems to be the right track though I cannot get it working properly. Code is like: $options = array( // markup tags that are allowed. Example: "<br/><strong>" 'allowableTags' => '<p>', ); $p->text = $sanitizer->purify($data["comment"], $options); Other tags still appearing. Also I tried to use $markupHTMLPurifier as there are many more options such as br to p, remove emtpy p etc. which doesn't seem to be available in $sanitizer. But the function is unknown. Any clue?
  4. Hi everyone, currently I am transferring data from an old database to PW using the API. Textarea in old DB be like: <p>...</p><div dir="somecrappytags">i don't want that</div> Textarea in new DB, of course is exactly the same BUT: when I open and save that textarea in admin, CKEditor replaces all the divs with <p>, and that is what I do want! How can I achieve that formatting CKEditor does within the API? Like simulating open up and save the data in the admin to get rid of all those stupid tags and just keep the paragraphs? Is it sanitizer stuff?! Does anyone understand? πŸ˜„
  5. Hi everyone, I still did not figure out how to set up an select options field with different content for each language. I think it must be a simple thing to do and something you would need fairly often. Am I wrong? Another thing is that I need option field that are populated by other fields (or pages?) and don't know what to look for 😞 Could anyone tell me where to start with that? Thanks a lot!
  6. Thanks @3fingers I think this is something different from what I actually need. In fact I am looking for a select field with language tabs like any other multi-language field (textfield, textarea) in the backend.
  7. Thanks @outward, what I actually need (in the admin) is a repeater with a various amount of fields and this repeater to be connected to a select field. I am not quite sure if I can achieve this with your suggestion. Maybe you or someone else has another thread on hand?! Thanks!
  8. Hi @3fingers, it's supposed to be in the back-end.
  9. Hello everyone, I have a select field say "publishers" and I need its content to be different for every language. In the US there are different publishers than in GB. How to set up this kind of field? Couldn't find anything about it. Would be nice if someone could help ...
  10. Hi everyone, on some preferences template there is a repeater field containing fields like 'link' and 'url' (and maybe some more). That repeater field is populated by the client. On another template I'd like to have a select field which outputs the repeater's content each as an option so I can have it on the page like $select->link, $select->url, $select->whatever_is_in_the_repeater_field I think this should acutally be a common thing to do but I don't know how to accomplish it. Any ideas? Thanks πŸ™‚
  11. Thanks @Jan Romero, you understood right. To make it more clear: In admin I want all the books in a seperate branch so my client does not get confused with the other pages. On the actual page then I want all the books to be on /books/book-1 ... along with the other pages such as books/q-and-a or /books/upcoming. I do not want one page with different URLs, I just want to separate them in the admin. You mentioned urlSegments which I'm going to have a look at. ✌️
  12. Hi everyone, I didn't know what to even search for so I started this topic. I have a page say 'books' with some children such as 'specials', 'q&a', 'upcomig' etc. On that page I want to list books which are at the moment as well children what causes the books and the other pages mentioned above get mixed up in the same branch at the admin page and that's something I do not want. I'd like to have a seperate hidden page 'all books' where I draw all the books from but they should behave like being children of 'books''. That's because I want to like to detail pages and their paths should be /books/book-1 etc. and not /all-books/book-1 ... I hope it gets clear and is somehow possible. Thanks, already!
  13. Hi again... (Well, is it just me...?! Are you guys using repeaters with no issues?) Again, in a repeater I want to open the format or style dropdown which is only working when I double click it. WTF! And then, there's still the other repeater thing (overwriting for CKEditor still not working). I am getting desperate over those repeaters 😞
  14. Hi folks, I'm sorry for flooding the forum, but here's another issue: (I am not using the AoS module which causes the exact same problem.) Opening the source dialog of a textfield in a repeater brings up the overlay background to the very foreground (z-index: 10000, dialog z-index: 5000ish). What's the matter?
Γ—
Γ—
  • Create New...