Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Menu PHP Include
#3
I'm sorry you right, but but i'm not expert, i really dont understand how to explain i try like this.

I have template.php file in theme folder, i have try to write in that file just before website content the code:
PHP Code:
<? include("filename.php"); ?>
or
PHP Code:
<?php include(GSTHEMESPATH.$TEMPLATE.'/filename.php'); ?>
I think is the same... anyway.

The result is this, my external menĂ¹ appear wothout his css and others thing who let it work, is just a normal HTML text.

I dont know where to call CSS becaouse the CSS file are called in his own file (externalmenu.php) and if i try it alone it works.

If i try to call again in template.php file the css style like this:

PHP Code:
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<
link href="css/common.css" rel="stylesheet" type="text/css" />
<
link href="css/facets3.css" rel="stylesheet" type="text/css" />
<
link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
<
link href="css/menu.css" rel="stylesheet" type="text/css" />
<
script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/jquery.clip.js"></script>
<script type="text/javascript" src="js/jquery.facets.js"></script>
<script type="text/javascript"> 

Then:

PHP Code:
<? include("filename.php"); ?>

Dont work...
Where i need to call CSS and others JS file to have a result like this?
[Image: fnn8.jpg]
Reply


Messages In This Thread
Custom Menu PHP Include - by lakaroth - 2014-02-06, 04:52:11
RE: Custom Menu PHP Include - by shawn_a - 2014-02-06, 05:44:28
RE: Custom Menu PHP Include - by lakaroth - 2014-02-06, 06:07:18
RE: Custom Menu PHP Include - by shawn_a - 2014-02-06, 06:32:54
RE: Custom Menu PHP Include - by Carlos - 2014-02-06, 06:42:59
RE: Custom Menu PHP Include - by lakaroth - 2014-02-06, 06:47:53
RE: Custom Menu PHP Include [SOLVED] - by Carlos - 2014-02-06, 06:54:18
RE: Custom Menu PHP Include - by lakaroth - 2014-02-06, 08:05:49
RE: Custom Menu PHP Include - by shawn_a - 2014-02-06, 08:41:32
RE: Custom Menu PHP Include - by lakaroth - 2014-02-06, 18:37:13
RE: Custom Menu PHP Include - by datiswous - 2014-02-07, 11:25:27



Users browsing this thread: 1 Guest(s)