Is it possible to use the hamster CMS on other directories? (Template engine (HamsterCMS))

by numberonespinelapologist, Friday, October 09, 2026, 14:21 (32 days ago)

title.
I was thinking of making some pages using hamster templates but in a different directory than "files", because i don't want them to show up in my main [[NAVIGATION]]
menu.
Is it possible?

Avatar

Is it possible to use the hamster CMS on other directories?

by Turboblack ⌂, Saturday, October 10, 2026, 08:02 (31 days ago) @ numberonespinelapologist

For this, there are directories called "blog" or "includes" where you can create text files and link to them, just like in my example.

https://elpis.ws

You don't need to automate this; you can use HTML for layout.

The side menu doesn't use the navigation tool; the links there were manually formatted. You can use the blog in the same way. Or, if you need individual pages (a page within a page), they can be placed in includes and displayed like this

<a href="/cgi-bin/cms/nameofthepage">nameof thepage</a><br>

Look closely at what the code looks like; it's hardcoded without using any HamsterCMS tools.

--
We live in the distant past, we are still not at all civilized

Tags:
tags

Is it possible to use the hamster CMS on other directories?

by numberonespinelapologist, Saturday, October 10, 2026, 16:30 (31 days ago) @ Turboblack

I understand. Thanks so much for the reply!

Avatar

Is it possible to use the hamster CMS on other directories?

by Turboblack ⌂, Sunday, October 11, 2026, 11:08 (30 days ago) @ numberonespinelapologist

No problem, enjoy ;-)

--
We live in the distant past, we are still not at all civilized

RSS Feed of thread