vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Edit Pagetitle in SHOWTHREAD (https://vborg.vbsupport.ru/showthread.php?t=242386)

MarpeX 05-12-2010 07:59 PM

Edit Pagetitle in SHOWTHREAD
 
Hey,

currently I optimise my forum. I would like to change the pagetitle to the following structure:

[thread title] - [category name]

I can edit the thread title really easy in the SHOWTHREAD template when using "{vb:raw thread.title}" between <title> and </title>. Unfortunately I have a problem in generating the category name.

I thought that it would be easy when I take a look at the FORUMDISPLAY template - there I found "{vb:raw foruminfo.title_clean}" but there was no effect.

Which phrase I have to use to create the pagetitle like the structure [thread title] - [category name] when viewing a thread?

Thanks for your help,
MarpeX.

MarpeX 05-22-2010 05:50 AM

Does really no one know how to handle it?

Lynne 05-22-2010 01:58 PM

foruminfo isn't registered for use in the showthread template. If you preregister it, then you can probably use it.

MarpeX 05-24-2010 04:42 PM

Is there not another chance?


All times are GMT. The time now is 04:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02164 seconds
  • Memory Usage 1,704KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete