Skip to content

Hiding “write reply” textfield under each comment

I’m working on my school project which is gallery, a clone of flickr and unsplash really. Right now I was working on comments system which works rather well all things considered, but I also want to add replies under those comments and having textfields under each comment seems clunky, so I wrote small …

PDFTron draw text sideways

For my specific purpose user draw rectangle annotation on web viewer and later on replace that with Free-Text in the place of Rectangle annotation. As you can see in above image i have added one …

Connection was not established Xdebug 3 with PhpStorm

Good afternoon. When an attempt is made to debug the script on PHP 8, PhpStorm reports that there is no connection with version 3 xdebug. Works with all versions below 3. I tried to change the parameters of xdebug.remote_{host, port} to xdebug.client_{host, port} but also did not help. Answer Xdebug 3 will be…

Deploying Laravel app to Google App Engine

I am trying to deploy my Laravel 7.29.3 app to Google App Engine Standard environment. I have followed the guided located here https://cloud.google.com/community/tutorials/run-laravel-on-appengine-standard. However, I get a View[Welcome] not found error when I view my deployment. My app.yaml file looks like b…

How to display link delete to auth user in Laravel?

I’m having a simple message/comment features. The message can be deleted by using SoftDeletes function in Laravel. However, I want to make the message can be deleted or the link message being display by the logged-in user only. They cannot delete other’s message. So, here is my code in message.bla…

get_template_part – WordPress not working

I am trying to place the content of the about page inside a div on the header , the template part is located on folder template-parts/content-about.php on the header the code is: And the content-about.php looks like this: The issue is that is showing on the div the same content as the current page for example…