Bitte immer Live Url, PHP Version, Template Version und Template Name angeben
[GELÖST] php code inside the tp_medical template
- asklepiades
-
Autor
- Neues Mitglied
-
- Beiträge: 3
- Dank erhalten: 0
[GELÖST] php code inside the tp_medical template wurde erstellt von asklepiades
Posted 2 Jahre 9 Monate her #1
Template: tp_medical Joomla 4x php8
Browsing through astroid there are only options for JS and CSS.
I need to add php code (inline php possible).
How can I include (and run) php inside this Template?
Astroid configuration is comfortable, but maybe, php needs
a special syntax or one of the external plugins to work.
Idea is to display static data (content dependent of server time and date)
to browers with Java Script prohibited.
Thanks for your help.
asklepiades
Browsing through astroid there are only options for JS and CSS.
I need to add php code (inline php possible).
How can I include (and run) php inside this Template?
Astroid configuration is comfortable, but maybe, php needs
a special syntax or one of the external plugins to work.
Idea is to display static data (content dependent of server time and date)
to browers with Java Script prohibited.
Thanks for your help.
asklepiades
von asklepiades
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- joomlaplates
-
- Moderator
-
- Beiträge: 2371
- Dank erhalten: 350
joomlaplates antwortete auf [GELÖST] php code inside the tp_medical template
Posted 2 Jahre 9 Monate her #2
Last Edit:2 Jahre 9 Monate her
von joomlaplates
Letzte Änderung: 2 Jahre 9 Monate her von joomlaplates.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- asklepiades
-
Autor
- Neues Mitglied
-
- Beiträge: 3
- Dank erhalten: 0
asklepiades antwortete auf [GELÖST] php code inside the tp_medical template
Posted 2 Jahre 9 Monate her #3
With the directphp plugin I can add php to pages directly and it works, so your answer is not completely correct.
What I wanted to know is how to add php in the comfortable andro configuration assistant where adding of java script and css are possible per default...
Of course, js is a great option to create dynamic content but since many browsers have js shutoff, a switch to serverside code -php- can be straightforward. I need to show dynamic content (an address changing dependent of time and date).
Maybe, the jp creators wish to add php functionality to the framework in future.
What I wanted to know is how to add php in the comfortable andro configuration assistant where adding of java script and css are possible per default...
Of course, js is a great option to create dynamic content but since many browsers have js shutoff, a switch to serverside code -php- can be straightforward. I need to show dynamic content (an address changing dependent of time and date).
Maybe, the jp creators wish to add php functionality to the framework in future.
von asklepiades
Bitte Anmelden oder Registrieren um der Konversation beizutreten.