Search found 22 matches

by JustAGuy
10 Jun 2023, 19:02
Forum: Bug Report version 3.4.4
Topic: Php warning - Ajax field in form
Replies: 6
Views: 275

Re: Php warning - Ajax field in form

Good afternoon mate!! :) Something similar happened to me, but it was solved by changing the php version on my hosting server. It's weird because I had to go back to version 7.4 even though Rukovoditel version 3.4 is "compatible" with PHP version 8.2. Some of the tables did not finish sync...
by JustAGuy
04 Jun 2023, 00:58
Forum: Discussion
Topic: Disable preview
Replies: 10
Views: 306

Re: Disable preview

Hi for me it’s good 😮 Can you provide me some screenshots (your html block + pdf preview + where you click) and if possible the part in html (with browser inspector) of the problem (link pdf ?) Thanks Also maybe try the code for all browsers. There is no condition so it will work. Maybe it’s becaus...
by JustAGuy
03 Jun 2023, 15:42
Forum: Discussion
Topic: Disable preview
Replies: 10
Views: 306

Re: Disable preview

Hi Sorry for the late answer. So maybe just to delete the link on the pdf ? So the link ("a href" tag) has a class "fancybox-ajax", so just to delete link with this class (I don't know if this class is on another link, like image or 3D model, ... so test it and tell me if some o...
by JustAGuy
01 Jun 2023, 10:51
Forum: Discussion
Topic: Disable preview
Replies: 10
Views: 306

Re: Disable preview

Oh ok, my first code was about image preview ^^ not PDF Can you add an example on a demo account and give me the link, because I don't really use PDF on my own installation. Thanks Ooh so that was it haha. I'd be happy to link you, but I don't have a demo account as I work directly on a copy of the...
by JustAGuy
01 Jun 2023, 08:48
Forum: Discussion
Topic: Disable preview
Replies: 10
Views: 306

Re: Disable preview

my pleasure :) Hello again mate, yesterday I was trying the codes and they did not work for me. It kept loading the preview :'( :'( What I want to achieve by removing the preview, is to force browsers to use their own rendering engine for PDF files so that I can view them from browsers, without hav...
by JustAGuy
31 May 2023, 21:43
Forum: Discussion
Topic: Disable preview
Replies: 10
Views: 306

Re: Disable preview

Hi you can try to hide the img tag with specific class (in HTML custom code before </body>). For all browsers : <script> $('.fieldtype-image-container img.fieldtype_image').parent('a').parent('.fieldtype-image-container').hide(); </script> For mobile, maybe try (it gets the user agent) : <script> v...
by JustAGuy
31 May 2023, 10:07
Forum: Discussion
Topic: Disable preview
Replies: 10
Views: 306

Disable preview

Hello everyone, does anyone know the necessary code to disable the preview of the files on mobile devices or directly disable the preview? :? :|

I have tried to modify the code of the JQuery libraries or the preview plugins but I have not succeeded.

Any solution? Thanks in advance!!! ;)
by JustAGuy
28 May 2023, 04:27
Forum: Discussion
Topic: Hide or block the option to change skin to users
Replies: 5
Views: 139

Re: Hide or block the option to change skin to users

eddydeniro wrote: 28 May 2023, 00:27 Try this in your Custom HTML page

Code: Select all

<script>
$('.fa-picture-o').parentsUntil('li').remove();
</script>
It works perfectly!! Thanks a lot again for the help. It's nice to have colleagues like you. All the best!! ;) :D
by JustAGuy
28 May 2023, 01:20
Forum: Discussion
Topic: Hide or block the option to change skin to users
Replies: 5
Views: 139

Re: Hide or block the option to change skin to users

eddydeniro wrote: 28 May 2023, 00:27 Try this in your Custom HTML page

Code: Select all

<script>
$('.fa-picture-o').parentsUntil('li').remove();
</script>
Thank you so much! I'll try it as soon as I start programming!! :) :)
by JustAGuy
27 May 2023, 22:51
Forum: Discussion
Topic: Hide or block the option to change skin to users
Replies: 5
Views: 139

Re: Hide or block the option to change skin to users

Screenshot 2023-05-28 003915.png I think the note in app config page is very clear. For your purpose, then leave it blank. Hide/remove the button "Change Skin" with JS (in custom HTML). Now you can set a specific skin for a particular user in Users page. Hello Eddy, thank you very much fo...