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

[GELÖST] php code inside the tp_medical template

  • asklepiades
  • asklepiadess Avatar Autor
  • Neues Mitglied
  • 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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

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

Posted 2 Jahre 9 Monate her #2
Hello,
php code can be add only in org template folder index.php file:
Body or Head area

Last Edit:2 Jahre 9 Monate her von joomlaplates

Anhänge:

Letzte Änderung: 2 Jahre 9 Monate her von joomlaplates.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • asklepiades
  • asklepiadess Avatar Autor
  • Neues Mitglied
  • 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.

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 © 2008 - 2025 Joomlaplates | Professional Joomla Templates

Impressum & Datenschutz | AGB