vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   changing meta title and description for tags.php (https://vborg.vbsupport.ru/showthread.php?t=261056)

neetusn 03-28-2011 11:35 AM

changing meta title and description for tags.php
 
may i know the condition which i can put to edit meta title and description for tags.php page by search keyword

Lynne 03-28-2011 03:22 PM

I don't understand what you want.

neetusn 03-29-2011 03:10 AM

I need to change metatitle and metadescription for only tags.php page.
Please give me the condition which i can put it in the headinclude so that rest of the pages follow defaults to the standard Meta information.
The Meta information for tags.php would be main tag name.

Lynne 03-29-2011 03:32 AM

You can just use THIS_SCRIPT for your condition:
HTML Code:

<vb:if condition="THIS_SCRIPT == 'tags'">meta this that<vb:else />meta something else</vb:if>

neetusn 03-29-2011 04:23 AM

I need to put metainfo as tag name but it is not available in headinclude template.
For ex the variable name is {vb:raw criteriaDisplay} which gives me tag name.


All times are GMT. The time now is 02:17 AM.

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.01083 seconds
  • Memory Usage 1,711KB
  • 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)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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