Templates make my head off - HELP!!!

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
DiG
Posts: 29
Joined: Tue 18. May 2004, 13:13
Location: Russian Federation, Tyumen, Western Siberia

Templates make my head off - HELP!!!

Post by DiG »

Here is design-template:
Image

As you can see it's look like 2-column left template. But! My design have the graphical border around all site. And that is the problem.

:?: Question: How to split my design and what the part of it I need to paste in phpwcms blocks?

Thank you.
Let's make this world better.
TAOG
Posts: 206
Joined: Fri 17. Sep 2004, 20:14
Location: Berlin/Germany
Contact:

Post by TAOG »

ure "border around" design isn't the big problem. i use on my one site an table for that dynamic expanding content.

Code: Select all

<table width="100%"  border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="35" height="6" background="img/border_top_left.gif"></td>
		<td background="img/border_top.gif"></td>
		<td width="8" height="6" background="img/border_top_right.gif"></td>
	</tr>
	<tr>
		<td background="img/border_left.gif"></td>
		<td bgcolor="#FFFFE5" valign="top">{NAV_TABLE_COLUMN}</td>
		<td background="img/border_right.gif"></td>
	</tr>
	<tr>
		<td width="35" height="7" background="img/border_bottom_left.gif"></td>
		<td background="img/border_bottom.gif"></td>
		<td width="8" height="7" background="img/border_bottom_right.gif"></td>
	</tr>
</table>
to see the result of this code look here: http://www.taog.de
DiG
Posts: 29
Joined: Tue 18. May 2004, 13:13
Location: Russian Federation, Tyumen, Western Siberia

Post by DiG »

TAOG,
Thanks for help but it's not it. For more understanding of my question I changed picture. Look on it again And you'll understand (I hope) what I mean.

And also I need to know how to divide html code between blocks?
Last edited by DiG on Tue 19. Oct 2004, 17:33, edited 1 time in total.
Let's make this world better.
TAOG
Posts: 206
Joined: Fri 17. Sep 2004, 20:14
Location: Berlin/Germany
Contact:

Post by TAOG »

well i think it is not that problem.
cut in horizontal ure headcontent. make ure leftcontent and rightcontent with the correct pixel hight+width. in the footercontent place ure bottum border.

thats, i think, also possible to do :D

edit: drop me an simple image with ure needed picture. i will test it.
DiG
Posts: 29
Joined: Tue 18. May 2004, 13:13
Location: Russian Federation, Tyumen, Western Siberia

Post by DiG »

TAOG, I dig it!!!! Now I know how to do that. :D Thanks for help again. I found my way. :wink:
Let's make this world better.
DiG
Posts: 29
Joined: Tue 18. May 2004, 13:13
Location: Russian Federation, Tyumen, Western Siberia

Post by DiG »

@#$%! Some one, please, tell me what I'm doing wrong?

Link: http://morrowind.ncn.ru/test/index.php
Look as HTML.
Let's make this world better.
TAOG
Posts: 206
Joined: Fri 17. Sep 2004, 20:14
Location: Berlin/Germany
Contact:

Post by TAOG »

DiG wrote:@#$%! Some one, please, tell me what I'm doing wrong?

Link: http://morrowind.ncn.ru/test/index.php
Look as HTML.
let me show ure code for the left content. i think u have the left border only placed in the row u have content. make this border in an <td background="image.gif" width="xyz">
and cut ure image.gif so, that u have the right width.


edit:
i copy&paste the sourcecode of this site. u do the right think.
u must place around the navigation table a table with 100% hight an 2 cols. in the left ure BG image in the right ure code for the navigation table.
i think it works. ure navigation is not large enought to close the border at the end.
DiG
Posts: 29
Joined: Tue 18. May 2004, 13:13
Location: Russian Federation, Tyumen, Western Siberia

Post by DiG »

TAOG, I know that, but I set left column table hight="100%" and it not working. :(
Question: Is it right to paste tables in blocks?
I have the feeling that is wrong because you'll get tables inside table (bad HTML code).
Let's make this world better.
TAOG
Posts: 206
Joined: Fri 17. Sep 2004, 20:14
Location: Berlin/Germany
Contact:

Post by TAOG »

tables in tables is at my one site the code atm.
did u try <div> tags and css for the layout?
TAOG
Posts: 206
Joined: Fri 17. Sep 2004, 20:14
Location: Berlin/Germany
Contact:

Post by TAOG »

DIG! i think i got an solution for ure problem :)

make ure border as an backgroundimage in the horizontal aspect. not vertikal only in the left <td> tag. width=ure navigation witdh and place this as backgroundimage in ure <table> tag.

i think it is an solution ;)
DiG
Posts: 29
Joined: Tue 18. May 2004, 13:13
Location: Russian Federation, Tyumen, Western Siberia

Post by DiG »

TAOG, ok. I'll try.
Before a little quastion: Where I need to place css file to see it in selet of template page? In which folder of my ftp?

Thank you for patience and stay with me. :wink:
Let's make this world better.
Chehi
Posts: 6
Joined: Mon 4. Oct 2004, 16:11
Location: Barcelona

style sheets

Post by Chehi »

I have put my style sheet here: site root/phpwcms_template/inc_css
and I can choose it from the dropdown menu in the backend.

Hope this helps.
Post Reply