Reply
There must be a better way, please help
Old 10-09-2006, 08:40 PM Re: There must be a better way, please help
lunchbox170's Avatar
Extreme Talker

Posts: 151
Name: Ben
I don't know any php i copy and pasted that.

But anyway so when I want to make changes to the main and subsequently the category page, which file do i make changes to.

I am just not seeing how what you have done will let me make changes to the main and then those changes will appear on the category page. I am just not see that.
lunchbox170 is offline
Reply With Quote
View Public Profile
 
Old 10-10-2006, 10:27 AM Re: There must be a better way, please help
AliKat's Avatar
Extreme Talker

Latest Blog Post:
Beginning Ajax with PHP
Posts: 168
Location: MS
the header and footer files contain all the same aspect of codes. Change them to change the whole site.

Chage the main and category page to change those little bits.

I suggest learning a little php if you are going to copy and paste it. It's good toknow what you are doing even in small amounts.
AliKat is offline
Reply With Quote
View Public Profile Visit AliKat's homepage!
 
Old 10-10-2006, 05:18 PM Re: There must be a better way, please help
lunchbox170's Avatar
Extreme Talker

Posts: 151
Name: Ben
ARRRGGGG, I am just so confused. So both the main page and all my category pages should have all of the html and the little bit of php with the include line, right?


So then if I make a change to the main page, say i make the background color different, you are telling me that the category page will change as well, with out me changing it. I just don't see how that would work.
lunchbox170 is offline
Reply With Quote
View Public Profile
 
Old 10-10-2006, 06:54 PM Re: There must be a better way, please help
AliKat's Avatar
Extreme Talker

Latest Blog Post:
Beginning Ajax with PHP
Posts: 168
Location: MS
No if you make ANY change to the header and footer files they both propgate to both the main page and the category pages.
AliKat is offline
Reply With Quote
View Public Profile Visit AliKat's homepage!
 
Old 10-10-2006, 07:16 PM Re: There must be a better way, please help
lunchbox170's Avatar
Extreme Talker

Posts: 151
Name: Ben
Oh, ok so I should have 4 files, right? main category header and footer. So the include header.php that should be the path to header.php right?
lunchbox170 is offline
Reply With Quote
View Public Profile
 
Old 10-11-2006, 06:29 PM Re: There must be a better way, please help
AliKat's Avatar
Extreme Talker

Latest Blog Post:
Beginning Ajax with PHP
Posts: 168
Location: MS
yes. And if you have more than one category you are going to need those pages as well.
AliKat is offline
Reply With Quote
View Public Profile Visit AliKat's homepage!
 
Old 10-11-2006, 10:44 PM Re: There must be a better way, please help
lunchbox170's Avatar
Extreme Talker

Posts: 151
Name: Ben
ok, good , wow i feel dumb now that was really simple and just could not grasp it.

Thanks so much for your help and patience.
lunchbox170 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to There must be a better way, please help

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12995 seconds with 11 queries