× Bitte immer Live Url, PHP Version, Template Version und Template Name angeben

check [GELÖST] php code inside the tp_medical template

  • Beiträge: 3
  • Dank erhalten: 0

[GELÖST] php code inside the tp_medical template wurde erstellt von asklepiades

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
1 Jahr 10 Monate her #1

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Beiträge: 2009
  • Dank erhalten: 304

joomlaplates antwortete auf [GELÖST] php code inside the tp_medical template

Hello,
php code can be add only in org template folder index.php file:
Body or Head area

Letzte Änderung: 1 Jahr 10 Monate her von joomlaplates.
1 Jahr 10 Monate her #2
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Beiträge: 3
  • Dank erhalten: 0

asklepiades antwortete auf [GELÖST] php code inside the tp_medical template

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.
1 Jahr 10 Monate her #3

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Installations-Service

Sparen Sie Zeit, wir installieren ihr gekauftes Joomla Template
mit all den dazugehörigen Extensions und dem "Demo Inhalt" innerhalb der nächsten 24 Stunden
auf einem Server/Webhost ihrer Wahl

Kaufen - 59€

Copyright © 2022 Joomlaplates | Joomla 4 Templates mit Uikit 3

Impressum & Datenschutz | AGB