<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:How to add the directory part into site (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:How to add the directory part into site
#1547
alison (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
How to add the directory part into site 1 Year, 4 Months ago Karma: 0  
Hi all
Quick question - I have downloaded ver 2.0.1.b from fantastico, and got both the admin and seen page going.

I am wanting to know if the directory can be placed inside the "body" of my site?

I basically just want to run with the links part on my own page that will have different adverts on each page so I just need the actual catergories, search function and the footer is prob all good to stay - but dont need the horizontal nav part or header.
Is this possible?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1548
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:How to add the directory part into site 1 Year, 4 Months ago Karma: 9  
I'm sure with some serious tweaks it could be made to be embedable, but right now it isn't


Your best bet is to try and create your own theme, you can start by copying one of the existing themes, then modifying it

View the source on your main page, for things like the header etc and recreate them in your theme's header.php file.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1549
alison (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:How to add the directory part into site 1 Year, 4 Months ago Karma: 0  
Ok so if I just have to customise, is it possible to add a 125x125 on the top of each catergory page?\
I want 4 of these on the top of each catergory page?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1550
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:How to add the directory part into site 1 Year, 4 Months ago Karma: 9  
If I understand correctly, you could do something like this..

At the bottom of header.php for whatever theme you are using,
you'll find
Code:

echo table("100%", "center", "", $html); ?>
Right after the echo line, you could do . . . .
Code:

if ($PID > 0) { ?> BANNER HTML CODE GOES HERE <?php }
 
Report to moderator   Logged Logged  
 
Last Edit: 2011/01/17 08:57 By Dewed.
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1551
alison (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:How to add the directory part into site 1 Year, 4 Months ago Karma: 0  
And that will create 4 x 125 advert boxes?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1563
alison (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:How to add the directory part into site 1 Year, 4 Months ago Karma: 0  
When I add that code you suggested it comes up with the following

Parse error: syntax error, unexpected '}' in /home/mumswho1/public_html/link/themes/original/header.php on line 75
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008