Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looking for a script

Status
Not open for further replies.

walks

Technical User
May 7, 2001
203
CA
Was wondering if anyone could help me out with a script. its for a web designing company and what it requires are teh ability to produce all of their work in a list (with links) in the left column. Then when clicked it takes you to the appropriate page on their website that shows the work.

Im thinking there has to be something like this available already, does anyone know where?
 
Actually let me rephrase that. It will probably need to generate lists on the left (all the web work they've done) through PHP.
 
it really depends on how the data is already stored, all you need to do is read in the data then write it to the HTML stream with the appropriate HTML tags added.



Chris.

Indifference will be the downfall of mankind, but who cares?
 
Ok my post doesnt even make sense to me so let me rephrase it


Being the complete novice I am I was wondering if someone could help me out or possibly show me a script I can configure for my website.

What Im looking for is for a web design company. I need the portfolio page to generate all of there work through PHP.

The layout is like this:

The table cell on the left is a list of txt links of all there work and it is split into 4 different categories, this list will obviously need to be updated when new work is done (thus the need for php). The table document on the right will showcase the work. The work will include a brief description of the site along with a thumbnail and link to the actual website.

Click here for an example

Are there any prewritten scripts available for something like this or is there anyone who would be willing to help me out?
 
well it's a fairly simple script. how it's written will depend on how the data is going to be held. A database (MySQL for PHP is favourite) is by far the best way for what you need even for a few sites. Everything about the site can be in the db and just read out. A flat text (CSV) file could also be used but would soon get unwieldy from a maintenance point of view (and very easily messed up!)


check out
and the PHP forum forum434

I would think the design company themselves would be able to provide the layout HTML code and your script would then add in the blanks.



Chris.

Indifference will be the downfall of mankind, but who cares?
 
Sorry for stating the obvious. Why not just code the solution in plain old html?

I look at the issue like this... if you are spending more time trying to create a solution, than the time saving the solution will offer... then you are better off finding another solution to your problem.

I'm not saying that Chris's solution won't take you to where you want to go... I'm just suggesting that marking in html and manually editing it as needed seems a perfectly valid solution that will be well within your scope to manage.

How about using an include file (since you have php available)... and using CSS to style the content. Then the design agency can edit just the include file (with simple markup that is styled by a CSS) and avoid dealing with any other html on the page.

Just offering alternatives!

Jeff
 
I concur... though a DB will do the job (I do it on my own site this way)

The simplest solution is to hard code it and use an include file.

Question though...
Why is the "web design agency" unable to do this? Is it really for a web design agency?
 
Question though...
Why is the "web design agency" unable to do this? Is it really for a web design agency?

my thoughts also.

weather its from a DB or static html, its a very very simple job to do, I feel as if we're missing some major details.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top