HTML Pages and HTML Templates: {VALUES}
5 posters
Page 1 of 1
HTML Pages and HTML Templates: {VALUES}
Hello supports,
1. Am i able to use the {VALUES} for new features i would implement myself lets say in new HTML pages, or tweak the existing templates ? I don't know if these are php related or what. Please enlighten me what the stuff inside curly braces usually does in templates.
2. Is it possible to work with CSS Frameworks within the templates like Bootstrap 4 ?
Id like to have the forum template more responsive to the screen sizes.
Could i work with CSS grid?
3. Is there any forumotion API i can consume, or is there anything out there developers can use to build great forumotion forums?
Please bring good news
Appreciated.
1. Am i able to use the {VALUES} for new features i would implement myself lets say in new HTML pages, or tweak the existing templates ? I don't know if these are php related or what. Please enlighten me what the stuff inside curly braces usually does in templates.
2. Is it possible to work with CSS Frameworks within the templates like Bootstrap 4 ?
Id like to have the forum template more responsive to the screen sizes.
Could i work with CSS grid?
3. Is there any forumotion API i can consume, or is there anything out there developers can use to build great forumotion forums?
Please bring good news
Appreciated.
Re: HTML Pages and HTML Templates: {VALUES}
Hey,
best regards,
- 1. You can use this
and change- Code:
<script src="http://sd-1.archive-host.com/membres/up/137670929941788204/var_fa.js"></script>
to- Code:
{USERNAME}
.- Code:
<span class="USERNAME"></span>
- 2. Yap you can use bootstrap, materialize or other Frameworks, you only need to understand each template (tpl) variable.
- 3. what you mean?
best regards,
Re: HTML Pages and HTML Templates: {VALUES}
1. I don't think he means the message variables like
, he may be referring to the template variables, for example
.
They are template-based and there's not much to do. They are based on the template context, and even the global ones like
don't work directly in a custom HTML page, you can try it yourself. I'm not sure but they are probably PHP related indeed, the thing is they only work in the templates.
In some cases you could store the template value into the value property of an input of type 'hidden', and get it later using Javascript. These type of inputs are already used in some templates for example when you send a message to store the topic ID or so, and this way you can refer to it later.
2. Just to make sure you are aware of it, I'll remember you can make responsive changes on CSS based on screen size and type using @media
Usually that's enough so you don't have to make huge template changes based on that...
3. Not sure what you mean by forumotion API.
|
|
They are template-based and there's not much to do. They are based on the template context, and even the global ones like
|
In some cases you could store the template value into the value property of an input of type 'hidden', and get it later using Javascript. These type of inputs are already used in some templates for example when you send a message to store the topic ID or so, and this way you can refer to it later.
2. Just to make sure you are aware of it, I'll remember you can make responsive changes on CSS based on screen size and type using @media
- Code:
@media (max-width: 740px) {
.EV_Item{
height: auto;
}
}
Usually that's enough so you don't have to make huge template changes based on that...
3. Not sure what you mean by forumotion API.
Wecoc- Forumember
- Posts : 144
Reputation : 111
Language : Catalan, Spanish, English
Re: HTML Pages and HTML Templates: {VALUES}
2. Are there any guidelines for those {VARIABLE}s. If i could understand what each of them does i could do great stuff in the existing templates (don't have to be a new HTML page).
3. I mean a backend API (PHP backend i guess) i can make (AJAX) HTTP requests to, to fetch data, make HTTP POST requests to make a new post, group, register a user etc. and much more.
3. I mean a backend API (PHP backend i guess) i can make (AJAX) HTTP requests to, to fetch data, make HTTP POST requests to make a new post, group, register a user etc. and much more.
Re: HTML Pages and HTML Templates: {VALUES}
The answer to 3 is yes you can use Ajax to get and post data. I use it on my own site.
Re: HTML Pages and HTML Templates: {VALUES}
I didnt ask if i can use ajax, but if theres an Backend API from forumotion i can consume. Ajax is one way to do it. I could use FetchAPI in javascript too.
Re: HTML Pages and HTML Templates: {VALUES}
Oh, sorry, I misread your question. Is there is a backend API? I'm not entirely sure.
Re: HTML Pages and HTML Templates: {VALUES}
Wecoc wrote:you can make responsive changes on CSS based on screen size and type using @media
- Code:
@media (max-width: 740px) {
.EV_Item{
height: auto;
}
}
Usually that's enough so you don't have to make huge template changes based on that...
Take the current topic section as an example. Many objects use floats etc. for layout. All of that would be rewritten using a grid system.
Re: HTML Pages and HTML Templates: {VALUES}
Hello,
There is a French guidelines here : https://github.com/Etana/template#templates-de-forumactif
I don't think there is something like that in English, unfortunately.
No, there is no API.
Regards,
Walt
The Crocodile wrote:2. Are there any guidelines for those {VARIABLE}s. If i could understand what each of them does i could do great stuff in the existing templates (don't have to be a new HTML page).
There is a French guidelines here : https://github.com/Etana/template#templates-de-forumactif
I don't think there is something like that in English, unfortunately.
The Crocodile wrote:I didnt ask if i can use ajax, but if theres an Backend API from forumotion i can consume. Ajax is one way to do it. I could use FetchAPI in javascript too.
No, there is no API.
Regards,
Walt
Re: HTML Pages and HTML Templates: {VALUES}
Exactly what i needed thank you very much. Ill google translate that. Should be simple enough.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum