View Full Version : Adding graphics or adds into the template
phil2564
10-11-2005, 01:17 AM
I want to ad a few ads on the left and right sides of the links similar to what this link has on the left and right sides of the links. How do I edit the directory to do this
EXAMPLE:
http://www.phpdirectory.com/code/scripts/opensource/dms/
kickass
10-11-2005, 01:04 PM
You can find two or three column css layouts here:
http://kickasswebdesign.com/webgeekdir/CSS/Layouts/
Then you'll have to edit main.css and all the template files to add the new divs. You might find it easier to start with the Tableless Layout (http://kickasswebdesign.com/wordpress/2005/09/a-phpld-tableless-template-for-download/) template since it's easier to plug in stuff than the tabled one.
hosted
10-11-2005, 04:04 PM
I have done a partial 2 column CSS hack to the basic template - take a quick look @ www.podcast-lists.com
If this is basically what you are looking for, drop me a note, and I will make available my template if interested. Basically, All I did was to add a div for the left column, set up a couple of CSS classes and Voila!
I will certainly need to find the time to check out Kickass's CSS template - as it was where I was going to slowly head towards.
Mike77
10-14-2005, 09:11 PM
kickass,I uploaded your tableless template for phpld. Most of things seem ok,except that last category (pics & movies) is somehow misplaced? How to fix this?
Also I would like to use this CSS layot but I have no idea to what put where? Could you help?
http://www.tanfa.co.uk/css/layouts/flexi-float.txt
what goes to header.tpl,what into index.php and what in footer? ? what goes to main.css - do I add or replace CSS code or how? do I delete all in your original php template and just paste from that CSS layout? ? Is there any walkthrough? I like your work but I find it little difficult to implement :)
ps: site is adult content (just text though)
kickass
10-15-2005, 11:03 PM
Content visible to registered users only.
This is why I get paid to create custom templates and themes. :)
I'm sorry I don't have enough time to really help you. I do know that Vkaryl has a template she's about to release that is a two column theme. Maybe that will be easier for you. I think it's far enough along so she can sneak you an earlybird beta release if you ask nicely.
As to using Claire's fabulous layout-- It can be done. You have to create a plain xhtml page first, using her layout, customize it with your images, colors and such. When you're done block it out by section using comments to figure out what parts of your page are going in what tpl file. Basically the areas you're starting with are header.tpl, main.tpl, and footer.tpl.
Then you mix and match, slice and dice. You're going to want to make your side columns as their own tpl files and call them in separately so if there's a change you only have to edit one file. You can peek at my template along the way to see how I implemented the category area as a list instead of as a table (you HAVE to use ems as the width on that or it doesn't work and I have no clue why.) and to get ideas of which smarty tags are working which areas.
Finish off the other template pages using main.tpl as a guide.
Last step is adding the phpld specific styles into the css stylesheet that you got from Claire and make sure it's renamed main.css and put where it needs to be.
Then you upload and pray . . .
Good luck!
Mike77
10-16-2005, 10:03 AM
bj,thanks for reply here and in email.
I though it will be easy like just putting certain parts of that css file into different tpl files. Now it sounds even more complicated. What worries me the most is that with the next release of phpld maybe the template will become obsolete and I will have to do all over again. I really though(few posts above made me feel so) that I will just need to copy all css to main.css and then redistribute some html code into some tpl files. Maybew this is in fact the case but it all seems to complicated for me now :)
Thank you for yout time though.While your tabeless template is very nice I will have to replace it to old one because of this "display last category out of place" problem. :)
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.