You are here: Re: php template and broken links « All PHP « IT news, forums, messages
Re: php template and broken links

Posted by Ralph Zajac on 05/17/05 21:48

Hi


> > I'm trying to rewrite my www page from static html to php. I'm using
> > Dreamveawer as an editor.
> >
> > I designed very simple template http://slackware.asmonet.net/tmp2. I
want
> > all pages to load in the center column. But I run into some problems.
> > Articles in my page are in few directories. When I'm loading a page into
> > center column all links stop working. I need to change them as they ware
> > relative to directory where index.php is (not the page I'm loading).
That
> > would not be a problem but when I'm trying to edit pages I don't see any
> > pictures and so on because links work only when the page is loaded to
> > central column. Is there a way around it or maybe some trick? Any
> > suggestions?
> >
>
> All your links in the central section of that page are file:// URLs, not
> http:// URLs, so of course they're not going to work!



Yes I know it's only example how the page will look like. My point is that
do I need to change all links in my page relative to folder where index.php
is? Or there is maybe a trick that will make links displayed in index.php
central column work and when I'm displaying only a page that is loaded
there?


> On an unrelated point, <blockquote> is *not* designed to indent data in
> lists. It'd be worth your time to learn how to use HTML (and CSS)
properly.


Thanks. I see into it.



Thank you

Ralph

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация