Hello,
My page run a long time with a frame based design. The searchengines dont like this because they act like a textbrowser (i think so).
Now i'm still redesigning my page into a Table based design.
My Questions are:
1 How do you solve the basic problem to give the information to the next page what should be showed?
The way i think isn't bad is with url append like ?show=news
additional variables (flow control) could be easily added to the url append with ...&var=bla
2. How do you put all content into the basic Layout?
Some people suggested to use SSI to include the files.
I think its better to include the files with include(), because the content is dynamic (menu, news and all other files)
I dont use Templates, but im tinking about if i should...
3. How is your solution for this problem? Or whitch solution do you prefer and why?
greez Pozor
PS: i hope i choosed the right forum
Frames and Table based design
Moderator: General Moderators
- code_monkey
- Forum Newbie
- Posts: 16
- Joined: Tue Jul 08, 2003 6:13 am
- Location: UK
- Contact:
I think what you said there is all pretty much a good solution to the problem.
In response to 1. you could also use a form to send variables from one page to another eg;
You can add additional variables simply as extra <input> blocks. The submit button can also be swapped for an image button which would probably look a bit better.
In answer to you second question, I think all of those methods are acceptable, personally I prefer to use a template system these days such as smarty http://smarty.php.net/ which has some funky features.
So in answer to 3. I would probably use a template system, with a mixture of urls/forms/session variables to send information to the next page.
In response to 1. you could also use a form to send variables from one page to another eg;
Code: Select all
<form action="page.php" method="POST">
<input type="hidden" name="show" value="news">
<input type="submit" name="submit" value="News">
</form>In answer to you second question, I think all of those methods are acceptable, personally I prefer to use a template system these days such as smarty http://smarty.php.net/ which has some funky features.
So in answer to 3. I would probably use a template system, with a mixture of urls/forms/session variables to send information to the next page.