Diferior CMS on steroids
+37 / 1944215 ( online 11 )

Custom Pages


Added downloads: 1
Comments: 5
Forum posts: 56
Method (Chatterbox) @ 09 02 04 - 01:31:46
It'd be nice to create custom pages to put placed either as a nav bar at the top (that would depend probably on the theme) and/or on the side under Main for example.
Avatar
Blog posts: 11
Added downloads: 2
Comments: 18
Forum posts: 572
UnrealX (Lead code monkey) @ 09 02 05 - 16:42:08
To add new text pages, see this:
http://diferior.com/forum/thread/cms/support/another-question/p8.html#p8
To add a link to it, edit templates/skio/index.tpl.php

I plan to add a proper text page editor in the future releases.
Added downloads: 1
Comments: 5
Forum posts: 56
Method (Chatterbox) @ 09 03 07 - 03:43:07 (edited 09 03 07 - 03:46:09)
I plan to add a proper text page editor in the future releases.

I noticed with your mounds of # comments saying you'll do that. :P

But the link you gave me seems a bit confusing. For example. The tos, copyright, privacy, and disclaimer pages all are linked respectively to what seems to be the root of the website, however, those files aren't there. (further digging I find those files are created.)

So I'm wondering how I would do the same thing. Can't find where you link the en.php entries such as 'tpl_text_privacy'. Can't find them anywhere. Index.tpl.php was my first guess, but it's simply a link. It's easy to change what I want those four files to say, but I also want to create another one as well. How could I do that? Tell me the files I would need to edit, and I'm sure I can get it from there. I don't need a whole tutorial on it, as I'm sure you're very busy.

Edit: Nvm. Found it :) Text.tpl.php.