T
T
TANK_IST2015-01-09 20:05:47
CMS
TANK_IST, 2015-01-09 20:05:47

How to create a special page in joomla?

You need to test on the site. When I worked with wordpress, I simply created a file like page-1710.php and wrote all the logic there. How to do it in joomla?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Novikov, 2015-01-10
@BOOMER_74

One of three:
1) Just create a .php file;
2) You need Joomla integration (database access, etc.), paste this code (example for the root folder):

<?php
  define('_JEXEC', 1);
  define('JPATH_BASE', dirname(__FILE__));
  define('DS', DIRECTORY_SEPARATOR);

  require_once(JPATH_BASE . DS . 'includes' . DS . 'defines.php');
  require_once(JPATH_BASE . DS . 'includes' . DS . 'framework.php');

  $app = JFactory::getApplication('site');
  $app->initialise();
?>

3) You need to insert the code into the content, use a module, such as DirectPHP .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question