Search…

X3 Photo Gallery Support Forums

Search…
 
chrisvalford
Topic Author
Posts: 2
Joined: 02 Nov 2026, 10:26

Adding blog comments

Yesterday, 03:30

Has anyone incorporated a blog system such as htmly with X3?
I have a basic blog folder and would like to add comments, and likes to the posts. As far as I can see, the PHP should be fairly easy to add but getting the CSS Styles to be reused would be my issue.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14511
Joined: 30 Sep 2006, 03:37

Re: Adding blog comments

Today, 01:46

chrisvalford wrote:Has anyone incorporated a blog system such as htmly with X3?
I am not familiar with htmly, but it seems to be a separate PHP framework to build your own custom blog with.

X3 already works with various comments platforms, like Disqus used here:
https://demo.photo.gallery/examples/features/post/

Keep in mind, this would be by using a Javascript widget (which should be available from external providers). You can't really integrate PHP into X3, because X3 uses pre-rendered templates, which additionally cache as HTML responses. It's not a platform that you can easily add your own dynamic html into.

I think realistically, you would need to use a platform like Disqus to add comments and likes below any page or post in your X3.