Freeman1
01-01-2008, 11:45 PM
Hi guys,
I'm trying to customize my own template and have a couple questions that should be simple enough..
Is it important to use all the other template files to split the site up, or do many of you use the main.tpl for most stuff, then just add one or to files to include? When there will only be a few pages (not including categories), is there much need to split all these pages up?
Oh, one more thing.. Is there a way to prevent the search function from working? I'd rather not have it available. From what I can see, even if I don't show the search window in my site, people could still access the search through the address bar.. mysite.com/search.php?type=
Ok, I had to add this one more thing.. I would like to have a section appear when a category is loaded. Basically a little info about that category. All information across all categories would be the same to prevent having to have an individual file for each category, but I would like to have the name of the category appear in a few locations in that area (if that is possible).. Hope you guys understand all that, not sure that I do.. lol
Ok, one more thing.. I can't seem to figure out how to organize the listing of categories.. I know enough to use tables, but I don't know what code should be included in each table cell to tell the script to place the categories in them. Any idea? For example, right now my categories are appearing like this 'Category1Category2".. I would like it to be;
Category 1
Category 2
Thanks
I'm trying to customize my own template and have a couple questions that should be simple enough..
Is it important to use all the other template files to split the site up, or do many of you use the main.tpl for most stuff, then just add one or to files to include? When there will only be a few pages (not including categories), is there much need to split all these pages up?
Oh, one more thing.. Is there a way to prevent the search function from working? I'd rather not have it available. From what I can see, even if I don't show the search window in my site, people could still access the search through the address bar.. mysite.com/search.php?type=
Ok, I had to add this one more thing.. I would like to have a section appear when a category is loaded. Basically a little info about that category. All information across all categories would be the same to prevent having to have an individual file for each category, but I would like to have the name of the category appear in a few locations in that area (if that is possible).. Hope you guys understand all that, not sure that I do.. lol
Ok, one more thing.. I can't seem to figure out how to organize the listing of categories.. I know enough to use tables, but I don't know what code should be included in each table cell to tell the script to place the categories in them. Any idea? For example, right now my categories are appearing like this 'Category1Category2".. I would like it to be;
Category 1
Category 2
Thanks