PDA

View Full Version : vbcms section pagination - title metatag problem


jsdk_racer
08-08-2012, 08:35 PM
I'd like to add page number to title tag in vbcms. Therefore i edited the template vbcms_page and add condition to <title>...</title> - <vb:if condition="$pagenumber > 1"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if>.
But i cannot see any changes in title while jumping through pages 1, 2, 3, 4 etc.

Thanks in advance for any help...
Dominik

Lynne
08-08-2012, 10:22 PM
My guess is that variable isn't preregistered for use with that template. Cellarius wrote a really good article that you may be interested in - [vB4] Rendering templates and registering variables - a short guide (https://vborg.vbsupport.ru/showthread.php?t=228078)