I just initated the Dynamic titles hack on my Rnuke site.
On the hack pages there was some info on this quoted below..
Basically all im asking is, how do you add in the includes/dynamic_titles.php script so that all my extra modules and content pages get dynamic titles?
"$useDynamicTitles = false; <-- Setting this to true will cause your nuke page titles to by dynamic per module.
NOTE: The above is the default setting. You must change this to get the titles to be dynamically produced.
The following modules will have their page titles dynamically generated:
Content
Downloads
Encyclopedia
Forums
News
Reviews
Story Archive
Topics
Web Links
You can certainly add your own by simply adding additional IF statements within the includes/dynamic_titles.php script."
Joined: Dec 01, 2005 Posts: 535 Location: Santiago, Dominican Republic
Posted:
Mon Apr 21, 2008 1:42 pm
You have to manually add some extra code to the file mentioned above. This could be a little tricky as you may have to know a bit how the desired module is structured, but you can take, for example, News as a template to create a new one. You will just need to change some variables and some sql queries...
Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
Posted:
Tue Apr 22, 2008 6:31 am
slaytanic_wehrmacht, not sure I could have said it better. Thanks.
pdfx, yes, unfortunately you do need to be at least familiar with the various pages within the given module and how they are initiated through the various links that you click. News is a good example, as slaytanic has mentioned, as well as Forums. If you looks the variables that are in the links, you should be able to correlate those to what I have done within dynamic_titles.php and then "roll your own" for your other modules.
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum