View Single Post
  #3  
Old 11-20-2005, 01:26 AM
MusicMan MusicMan is offline
 
Join Date: Nov 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Danny.VBT
You can make a new table for rules or whatever you want to put into it, and then just extract it in the .php file, finally you can display in a template.
?? I don't know if that answers my question.

The code I posted does allow me to create a unique "rules" template, and if I was to insert all of the rules of my site into the text field it will make a rules page that has the same style as the rest of the site. However...that's not what I'm asking, I'm able to get that part working.

What I'm needing is a way to create a generic template that contains the style and layout of my site, a template that can be called upon by thousands of unique pages. As of right now the only way I can see to create each unique page is to create a corresponding template, since the text for the .php page has to be inserted in the "text" field within the template. So what I need is a way to manipulate the content of a page within the php code of that page, not within the template it calls for. There's no way I would ever have time to mess with coding 10,000 pages and then also programming 10,000 different templates for those pages.

There are a couple of examples of something similar to what I'm looking for on other sites, but the webmasters are impossible to get in touch with, and probably wouldn't want to help me anyway. I guess if anyone is serious about wanting to help you could PM me and I could give you a couple of links for reference.

I hope that explains it a little better, thanks for the reply.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01616 seconds
  • Memory Usage 1,763KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete