PDA

View Full Version : Customising problem


Anonymous
08-08-2005, 01:15 PM
I'm having trouble integrating the directory into my web site. I'm trying to customise the way the directory looks, I only want to include certian bits of the directory like the directory it self, the search feild/button, the Sort by links and the bread crumb trail.

I started by trying to simply integrate the default layout into a page for my web site but this is what happens: {old test link removed}
Is there a way to just include certian parts of the directory like the directory it self, the search feild/button, the Sort by links and the bread crumb trail by using certian special tags like: {bread_crumb} or {sort_by}?? Am i doing something wrong?

yktan
08-08-2005, 01:38 PM
It does take some time to customise PHPLD but it's not impossible. In your case, I would suggest using a table to arrange all three components of your page. First, the banner (first row), second, the row of links (second row), and finally, the directory itself (third row).

There is something very wrong with the page. Looking at the source of tha page:
Content visible to registered users only.We can see that after the div called "main" is ended, the page is already ended with </body> and </html>. But after that, another div is declared again. Something is definitely not right about the whole page.

I would suggest using a table to control the layout of the page.

Regards,
YK

Anonymous
08-08-2005, 03:17 PM
Content visible to registered users only.

You mean just for the directory? Like a simple table like you would use for tabular data?

Using tables to layout the whole page is simply not an option as I have built the site using standards and CSS anyway using tables to layout a web site is wrong in somany ways I can not begin to explain just Google it.

yktan
08-08-2005, 05:13 PM
Hi Guest,

If you do not like tables, you can achieve what you want to do with DIVs and SPANs too. The concept will be the same.


Regards,
YK

David
08-08-2005, 05:14 PM
We have a member here named kickass. You should search for the threads she wrote. She managed to create a CSS only layout, so it is quite possible. I believe Ap0s7le did too.

Despite the desire among some to no longer use tables, nearly all of the largest applications written in PHP use tables. I think it will be a long time before such standards are adopted, but I'm glad we have been able to produce a tableless version of this software.

kickass
08-09-2005, 02:40 AM
If you need a copy of the template I used (sans my images, of course) I'd be happy to send it to you in zip form. Just drop me an email. I will, as time permits, be adding to our brand new wiki documentation as to how I customized the template, which is, as of right now, almost completely out of tables, I just have to ditch the payment page table and it will be table-less. bj at kickasswebdesign dot com

As to mixing and matching features within the template that's better answered by David and the other geekyguys here. I managed to move a lotta stuff within my template to reposition it the way I wanted, but I didn't omit anything.

bcct
08-15-2005, 06:19 AM
As I understand, table and its tags is really not a good option for web designing.

Read this.
http://stopdesign.com/articles/throwing_tables/

Along the way to customize phplinkdirectory in my web site, I learned more about how to use CSS to create sections in a web page. It is really a much cleaner way as compare to table tags. The result looks like table, but much easier in term of subsequent changes, management of entire web sites (for consistancy of look), precision in positioning, download speed, etc.

This is what I am toying with.
http://www.financialplanningmalaysia.com/directory/index.php

It is not ready yet, thus have not linked from the main page. But take a look, I modified it from one of the Blogger's templates. Not a single table tag, CSS only.

regards,

MSM
08-17-2005, 06:57 PM
@bcct

great page ! can you provide with some detailed tips where and how to modify our code to css ???

love to built a directory like you did.......

regards,
Mike

David
08-17-2005, 07:36 PM
{old link removed}