agreed^^ you really should utilize the $marty where it is available.
<{include file="$xoops_theme/includes/menu.html"}>
no need for <{php}>
Smarty also has an include tag <{include file="path/to/file.ext"}>
Awesome! I knew there was something like that. This worked:
About the first question: Have you tried using XOOPS_ROOT_PATH?
I think XOOPS_ROOT_PATH and XOOPS_URL are both available.
I'm developing a new theme for icms/xoops that has a lot of neat ajax features, simplicity to use and modify and such, but there are few things that I need help with. I'm going to use this thread for that.
First of all, here's the theme:
http://www.pageprogressive.com
And here's what I need help with:
1) I want to include a menu file and I am currently doing it this way:
Hi Shine,
We're in the same situation. I'm not a theme whiz myself.
However, I treat the themes that are coming out as a Xoops Theme for the moment (there is some documentation on that somewhere)
Furthermore, I treat the template I will make as a normal Web Layout.
So, I searched the web for my type of layout (3 Columns with some specifications) I even searched tweakers.net
So when I started I wanted a 3 Column Layout.
I googled some more and found a good search term "holy grail"
http://www.google.com/search?q=%223+column%22+holy+grail
It's a good place to start. The sites with the best examples will be shown in that search result. Then you look for your own type of layout that you wish.
When you have your layout, you can convert it into an impressive template.
Oh dear oh dear,..... always I've been a totally noob in themes and design.
I see a lot of new things within the standard impress theme and css. And really am totally lost.
Is there some specialist who can explain a bit more about theme designing considering impress? Or can even give some more examples?
Keep in mind you are talking to a design nitwit.
Thanks in advance,
Grtz., Shine