Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I need to know if I can do this


Guest

Recommended Posts

I need to know if there's a way to easily create pages for this: I want to have pages from a-z, each page having information on it and a list with letters from a to z , each linking to its own page. I'm not sure I explained it right. It's about listing baby names on my site. I hope you understand what I'm babbling here...:)

Link to comment
Share on other sites

I need to know if there's a way to easily create pages for this: I want to have pages from a-z, each page having information on it and a list with letters from a to z , each linking to its own page. I'm not sure I explained it right. It's about listing baby names on my site. I hope you understand what I'm babbling here...:)

 

 

easiest would be to have only one page (who wants to create and edit a whole alphabet of pages)

 

make a main part that always shows, with the list of letters, each linking back to the same page and having a variable attached ... you can add a bit of text here too with more information

....com/babynames.php?letter=B

 

this would be a tep_href_link of course so they don't lose the session

 

now in your text part, you get that variable and make a select case for it (steal it from product listing)

 

case 'A'
//add text here for all names with an A
case 'B'
//add text here for all names with B

etc etc

 

you will only show from this part the letter that has been selected!

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

I agree with Monika - the links to anchors on one single page would be much easier, and if its all text, then load time would not be a serious issue. Another possible solution, if you wish to have the 26 seperate pages, would be InfoPages Unlimited (search contribs) or a similar contribution - this enabels you to create pages quickly and relatively easily from within admin panel. You may need to tweak it for your own needs (for baby names an internal search facility would be nice touch..?)

 

Hope that helps

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Link to comment
Share on other sites

Thanks a lot! It sounds great! And I'd really like to do this! But, ofcourse, I don't have a clue on how to do it!:) I'll try doing something on my own, but if I can't...could you help?

Link to comment
Share on other sites

Thanks a lot! It sounds great! And I'd really like to do this! But, ofcourse, I don't have a clue on how to do it!:) I'll try doing something on my own, but if I can't...could you help?

 

sure thing! But we know you can do it!

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...