Jump to content

Recommended Posts

Hey everyone,

 

I'm new and had a question about PHP.

 

I downloaded a CMS named Joomla yesterday, and I'm trying to merge some of the code within our site. The problem is that the whole code (that I took from a default template to test it out) is completely in a special PHP code.

 

Example (and the first <php may be wrong, but it was something like that):

<php.
/* + ----------------------------------------------------------------------------+ | e107 website system | | Steve Dunstan 2001-2002 | http://e107.org | jalist@e107.org | | Released under the terms and conditions of the | GNU General Public License (http://gnu.org). | | $Source: /cvsroot/e107/e107_0.7/e107_themes/interfectus/theme.php,v $ | $Revision: 1.11 $ | $Date: 2007/03/18 11:20:30 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ if (!defined('e107_INIT')) { exit; } // [multilanguage] @include_once(e_THEME."esfv1.0/languages/".e_LANGUAGE.".php"); @include_once(e_THEME."esfv1.0/languages/English.php"); // [theme] $themename = "ESF v1.0 Theme"; $themeversion = "1.0"; $themeauthor = "DJ Raven [jalist]"; $themeemail = "jalist@e107.org"; $themewebsite = "http://www.esforces.com"; $themedate = "16/03/2005"; $themeinfo = "Dark theme suitable for gaming / clan sites."; define("STANDARDS_MODE", TRUE); $xhtmlcompliant = TRUE; $csscompliant = TRUE; define("THEME_DISCLAIMER", "
".LAN_THEME_1.""); define("IMODE", "dark"); // [layout] $layout = "_default"; $HEADER = "
[ {SITENAME} ]
{CUSTOM=search+".THEME_ABS."images/search.png}
{CUSTOM=clock}
{SETSTYLE=main} "; $FOOTER = "
{SETSTYLE=menu1} {SITELINKS} {MENU=1}

{SITEDISCLAIMER}
{THEME_DISCLAIMER}
"; /*
{PLUGIN=other_news_menu/other_news2_menu}
*/ $CUSTOMHEADER = ""
; ?>

 

I have no idea, but is this a special PHP code or something? If I leave the <php instact in the beginning and place it on where the code should be, it will work.. But it'll only display below our site. If I remove the php code in the beginning, it'll show as this:

 

http://esf.filefront.com/cms/news.php

 

Possible someone can help me with this how to add this code on our site correctly?

 

If I made this thread in the wrong section, please do move it :).

 

Regards,

Skyrider

Link to comment
https://forums.phpfreaks.com/topic/123582-php-cms-joomla/
Share on other sites

I still have a problem though. Even with the <?php code and the ending code on the end of the whole code stuff, it works as it should.. But it only displays under our website, not where I placed the code (it should be on the news area). So, what should I do now? How do I make this to work at the location where you see at the text on the site?

Link to comment
https://forums.phpfreaks.com/topic/123582-php-cms-joomla/#findComment-638240
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.