Page 3 of 3

Posted: Sun 11. Apr 2004, 21:12
by Bijan Hemati
Hi kemios,

You need to use correct path for your bg_right_shadow.gif file in page layout.

For example if your root dir for your phpWCMS application is http://mysite.com/wcms and you have a folder for your skin pictures called pic1, then you would use this path "/wcms/pic1/bg_right_shadow.gif" in the page layout right block image field.

Regards,
Bijan

Posted: Sun 11. Apr 2004, 22:56
by DeXXus
Mr Bijan is absolutely correct and it could be a simple case of having dropped the pluralization of the folder name :roll:

Your pagelayout_INM has the locations specified like:
/templates/dari/bg_right_shadow.gif
But... your HEADER code says:
background="template/dari/bg_right_shadow.gif
(note "s" on the end of folder named "template"

Posted: Sun 11. Apr 2004, 23:20
by Bijan Hemati
Hi DeXXus,

You are more observant than I! :P

Bijan

Posted: Sun 11. Apr 2004, 23:27
by DeXXus
Bijan Hemati wrote:Hi DeXXus,

You are more observant than I! :P

Bijan
Hello my friend Bijan!

It was your "words"... that guided my eyes... to where they should LQQK :wink:

Posted: Mon 12. Apr 2004, 08:55
by kemios
Bijan andd DeXXus,

Thanks for your prompt reply. I must have been staring too long at my screen !

Posted: Mon 12. Apr 2004, 23:08
by eglwolf
OK I am trying to get the "default" template working, and I can seems to see what is wrong

http://www.equivity.com/v4/

Any ideas?

Posted: Wed 21. Apr 2004, 01:01
by 1996 328ti
I'm trying to follow the example at the beginning of this thread but things just don't look right.

The header is not wide enough.
There is a gap between main and footer.
Using Safari, one line of the menu wraps one line instead of no wrap.
Once I navigate around and go back it is OK.
Explorer seems o be no issue.

http://www.nccbmwcca.org/index.php
It looks different when viewed with differrent browsers although the phpwcms home page looks fine.

I've downloaded the proper gifs and jpgs and created directories for them in the /img directory.

I'm missing something obvious.

Posted: Wed 21. Apr 2004, 05:09
by Bijan Hemati
Could you post the values in the page layout and the template?

Posted: Wed 21. Apr 2004, 05:31
by 1996 328ti
Bijan Hemati wrote:Could you post the values in the page layout and the template?
Header

Code: Select all

<table width="775" height="53" border="0" cellpadding="0" cellspacing="0"> 
   <tr> 
    <td width="200" height="52" bgcolor="#4A5966"><a href="/" target="_top"><img src="img/article/template/template_r1_c1.jpg" width="200" height="52" border="0" alt="phpWCMS"></a></td> 
    <td width="1" bgcolor="#4A5966"><img src="img/leer.gif" width="1" height="1"></td> 
    <td width="559" bgcolor="#F59B29"><img src="img/article/template/template_r1_c3.jpg" width="559" height="52" border="0" alt="open source web content management system"></td> 
    <td width="15" rowspan="2" background="img/article/elements/bg_right_shadow.gif"><img src="img/leer.gif" width="15" height="1"></td> 
   </tr> 
   <tr><td height="1" colspan="3" bgcolor="#4A5966"><img src="img/leer.gif" width="1" height="1"></td></tr> 
 </table>
Main

Code: Select all

<table border="0" cellpadding="0" cellspacing="0"> 
 <tr><td colspan="2"><img src="img/leer.gif" width="1" height="10"></td></tr> 
 <tr> 
 <td class="breadcrumb">{BREADCRUMB}</td> 
 <td align="right" class="footer">{DATE_ARTICLE}</td> 
 </tr> 
 <tr><td colspan="2"><img src="img/leer.gif" width="1" height="5"></td></tr> 
 <tr><td colspan="2"><img src="img/article/elements/content_line_499.gif" width="499" height="1"></td></tr> 
 <tr><td colspan="2"><img src="img/leer.gif" width="1" height="15"></td></tr> 
 </table><table width="499" border="0" cellpadding="0" cellspacing="0"> 
 <tr><td>{CONTENT}</td></tr> 
 <tr><td><img src="img/leer.gif" width="1" height="25"></td></tr> 
 <tr><td>[BACK]<img src="img/article/back_link_0.gif" border="0">[/BACK]&nbsp;&nbsp;<a href="#" target="_top" title="goto top of the page"><img src="img/article/top_link_0.gif" border="0"></a>&nbsp;&nbsp;[PRINT]<img src="picture/symbols/print_icon.gif" width="44" height="9" border="0" title="open optimized page for printing">[/PRINT]</td></tr> 
 <tr><td height="100%"><img src="img/leer.gif" width="1" height="25"></td></tr> 
 <tr><td><img src="img/article/elements/content_line_499.gif" width="499" height="1"></td></tr> 
 <tr><td><img src="img/leer.gif" width="1" height="5"></td></tr> 
 <tr><td class="footer">copyright &copy; 2002-2003 Oliver Georgi &middot; [RSS all]XML RSS[/RSS] &middot; <a href="http://sourceforge.net/projects/phpwcms" target="_blank">SourceForge.net</a> &middot; <a href="http://www.hotscripts.com/cgi-bin/rate.cgi?ID=27718" target="_blank">rate phpwcms</a></td></tr> 
 <tr><td><img src="img/leer.gif" width="1" height="12"><img src="http://sourceforge.net/sflogo.php?group_id=94396&type=1" width="1" height="1" border="0" alt="SourceForge.net Logo"></td></tr> 
 </table>
Footer

Code: Select all

<table width="775" height="11" border="0" cellpadding="0" cellspacing="0"> 
  <tr> 
   <td width="755" height="1" bgcolor="#4A5966"><img src="img/leer.gif" width="1" height="1"></td> 
   <td width="20"><img src="img/article/elements/bg_bottom_shadow_1px.gif" width="20" height="1"></td> 
  </tr> 
  <tr> 
   <td height="10"><img src="img/article/elements/bg_bottom_shadow.gif" width="755" height="10"></td> 
   <td><img src="img/article/elements/bg_bottom_corner.gif" width="20" height="10"></td> 
  </tr> 
</table>
Left

Code: Select all

<img src="img/article/template/template_r3_c1.jpg" width="200" height="85" border="1">{NAV_TABLE_COLUMN}<img src="img/leer.gif" width="1" height="100">
Page Layout
Left image "img/article/elements/bg_nav.jpg"
Left space "img/article/elements/bg_left.gif"
Right "img/article/elements/bg_right_shadow.gif"

Image

Posted: Fri 25. Jun 2004, 04:24
by anhlt1983
Hey...I see another way to make a template.

You can user a editor of HTML to make your own template by html code then copy and paste the parts of your html code to the template module ( don't use any css or layout )...

Good luck :))

Posted: Fri 25. Jun 2004, 08:16
by Oliver Georgi
Hehe :wink: - that's the recommend way.

Oliver

Posted: Fri 25. Jun 2004, 10:00
by pepe
Hallo 1996 328ti

I am proud to see my little background image on your site :D

It gives your site a sort of 3. dimension, i think :wink:


And here i give you another help, to shorten your todo list:
put it into your templates left col ("width:135px" needs an adaption to your site)
-------------------------------------------------------------------------------------

<!-- search on the left col //-->
<form action="###search_input_action:3###" method="post">
{SPACER:5x1}<input name="###search_input_field###" type="text" size="10" maxlength="50" value="###search_input_value###" style="font-size:10px; width:135px;">
<input type="submit" value="search" style="font-size:10px;">
</form>

-------------------------------------------------------------------------------------

The 3 is the ID of the structure-site, where you must place in the content-part "search". This site can be hidden in the structure-menu.


But - by the way- tell me where is Germantown???


regards pepe

http://cms.peperkorn-online.de

Posted: Sun 16. Jul 2006, 10:41
by Rahner
I Used O.G. Template for experiments.
In addition I used his CSS Code, but something is different: In Internet Explorer the active Navigation Row is right (the text link in the navrow is right).
Why?