Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    1. Home
    2. Pierre SULPICE
    3. Best
    • Profile
    • Following 0
    • Followers 1
    • Topics 43
    • Posts 111
    • Best 18
    • Groups 0

    Best posts made by Pierre SULPICE

    • RE: How to use URL parameter ?

      If you don't care about IE11, this is even enough :
      (new URL(window.location.href)).searchParams.get("param_name");
      I like this writing because it's easy to even add it in cloud backend forms as a javascript line to send it to your backoffice.
      You'll get null if the name isn't found.

      Warning : Don't mix up query string and fragment ofc when you do that 😉

      posted in Cloud CMS (Pagebuilder
      Pierre SULPICE
      Pierre SULPICE
    • RE: Having private libs/utils

      @Wassim thanks for you answer.

      I agree that the file will be tricky to find but I still try to the basic "even hard to find it shouldn't be public when it's related to security", and it's literally for all ma security checks 😕

      I thought about the other solution but I'm trying to develop something very easy to maintain for any developers even with a low formation for my clients, your solution itself is great and easy to use, I don't want to complexify it.

      I think the third solution I will retain is to create a proxy route that will take care of this common code then call the adequate resource and return the result.

      I think having private code outside of a route but still on AppDrag is the only major feature I miss right now !

      I haven't said it in a while: Thanks for AppDrag in general, I'm really having a great time on it 🙂

      See you soon,
      Best regards,

      posted in Cloud Backend (Cloud DB
      Pierre SULPICE
      Pierre SULPICE
    • RE: Search Box for Blog

      Hello,

      For some reason I can't drop a search box right now, but it's indeed linked to the shop.

      Entirely from my memory :
      If you double clic on it you should see the code doing the research and printing the elements.

      You can modify it to look in the blog instead, there is the APIs : https://support.appdrag.site/blog/80-REST-API-for-Blog-and-Shop.html

      I'm not sure you'll get away from this one without coding :/, let's wait the AppDrag answer in case of, since I'm just a user ^^

      Best regards,

      posted in Features requests
      Pierre SULPICE
      Pierre SULPICE
    • RE: Downloading files/folders as zip

      @jbenguira just adding something if someone stumble on this problem :
      You might not be able to login with an error saying that PowerShell can't run scripts.
      Easiest brainless way is to set the Execution Policy to Unrestricted during this process :
      https://docs.vmware.com/en/vRealize-Automation/7.6/com.vmware.vra.iaas.hp.doc/GUID-9670AFC5-76B8-4321-822A-BCE05800DB5B.html

      Thanks for the process by the way, worked like a charm.

      posted in Cloud CMS (Pagebuilder
      Pierre SULPICE
      Pierre SULPICE
    • RE: [TM] Broken Database

      Ooooh ok my bad !

      I deleted the 4 tables by query, created a new one the same way, worked flawlessly !

      Thanks a lot, my be a good idea to forbid it upfront since the interface can't print it ^^"

      See you,

      posted in Cloud Backend (Cloud DB
      Pierre SULPICE
      Pierre SULPICE
    • RE: New feature - Reuse your Cloud API functions as your templates

      Hello,

      That's 100% exactly what I needed to have right now !
      Thanks a lot !

      Quick question :
      How do you define if the the API function will be in my templates or not ? It's account based ? Project based ? Licence based ?

      Having a white label, if I invite a customer in one of my projects with admin privileges, he will be able to see all my API funcs as templates ? Or just the functions of the project I invited him in ?

      Thanks,
      Best regards,

      posted in Announcements
      Pierre SULPICE
      Pierre SULPICE
    • RE: [TM] Bug - Searchable List

      Hey @Daniel-Mulroy

      I had a loooot of work but I'm back 😉

      Thanks for your answer, I noticed some little issues on this part, I'll make a hug port a little later with everything in it !

      Color and size seems ok indeed.

      See you soon 🙂

      posted in Cloud CMS (Pagebuilder
      Pierre SULPICE
      Pierre SULPICE
    • RE: Default Timezone

      Ok I'll go with that, thanks !

      posted in Cloud Backend (Cloud DB
      Pierre SULPICE
      Pierre SULPICE
    • RE: New feature - Reuse your Cloud API functions as your templates

      Perfectly clear thanks a lot !

      posted in Announcements
      Pierre SULPICE
      Pierre SULPICE
    • RE: Forced margins on rows

      @Wassim removing the class and putting mine that does it the way I wanted worked like a charm, thanks a lot !

      Yes everything is goind well well thanks a lot, it's honestly thanks to AppDrag, even with those very tiny flaws here and there, there is everything to resolve them, so it's always fine ^^

      Good day,
      Best regards,

      posted in Cloud CMS (Pagebuilder
      Pierre SULPICE
      Pierre SULPICE
    • RE: [TM] Private code

      Well it's not THAT sensitive indeed, it was more like macros for table names and preprod names and stuff like that to avoid to repeat it and be able to change it easily.
      I know the Database and stuff like that are protected but I'm thinking that it's still the bed idea to spread all the accurate name of everything that easily ^^"

      Problem with the Env Variables is that they are contained only in the func where I write them, so it's not helping that much for this specific usage.
      I don't really like the idea of having an API call "just for that", especially when I'll use it a lot for my tracking system, the goal is more to reduce them 😉

      So it's not an ABSOLUTE NEED but it might be very handy to add some genericity in my code.

      For now I'll not do it, I'll let you know if I come up with a cool system to do it painlessly 🙂

      See you soon,

      posted in Cloud Backend (Cloud DB
      Pierre SULPICE
      Pierre SULPICE
    • RE: Global Variables on Cloud Backend API Functions

      That's a very very good news, omg, thanks a lot !

      posted in Announcements
      Pierre SULPICE
      Pierre SULPICE
    • RE: Gap after carrousel

      @wassim thanks a lot, working for us too, perfect 🙂

      Thank your for mistreating your zoom level for us 😉

      See you soon,
      Best regards,

      posted in Cloud CMS (Pagebuilder
      Pierre SULPICE
      Pierre SULPICE
    • RE: how to add longditude/langditude to DB - float?

      Hello Linda,

      Here is a nice representation of the precision you'll have depending your choice : http://mysql.rjweb.org/doc.php/latlng
      float would be 1.7m, so it all depends what you want to do with it.

      Ideally you should the POINT from this : https://dev.mysql.com/doc/refman/8.0/en/spatial-types.html
      But I don't think it's available on AppDrag ? I'll let them answer on that one ^^"

      Good day

      posted in Cloud Backend (Cloud DB
      Pierre SULPICE
      Pierre SULPICE
    • RE: Whatsapp on Scroll
      <div id="WhatsappChat" style="display: none; z-index: 1000; position: fixed; right: 100px; bottom: 100px; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(79, 206, 93); padding: 20px; border-radius: 100px; box-shadow: rgb(140, 140, 140) 1px 1px 1px; outline: 0px;;background-image:url('')"
      

      Which is in this line if you are not used to code 🙂
      You have right: 25px; bottom: 25px.
      It's "how far it is from the right" and "how far it is from the bottom", in pixels.
      Just play with those values until you like the result.

      Have fun

      posted in General Discussion
      Pierre SULPICE
      Pierre SULPICE
    • RE: How to re-attach a domain

      Hello Wassim,

      I picked the first option, worked flawlessly, thanks a lot.

      Good day,
      Best regards

      posted in Domains & Emails
      Pierre SULPICE
      Pierre SULPICE
    • RE: Uneven columns when 5 in a row

      @wassim That makes a lot of sense thank you very much 🙂

      Best regards,

      posted in Cloud CMS (Pagebuilder
      Pierre SULPICE
      Pierre SULPICE
    • RE: [TM] SSL Configuration blocked

      Thanks a lot, I should have thought about it, it seems so obvious now.
      Worked like a charm.

      Best regards,

      posted in Domains & Emails
      Pierre SULPICE
      Pierre SULPICE