PDA


View Full Version : <title> tags on new pages ??


mongoose
11-11-2005, 05:21 PM
by title, i'm referring to the <html><title> tag.

what i'm trying to do is simply add some new pages to my site. when i do that the new page pulls the adv_portal, and i get the <head></head> section that comes with it.

that makes the title tag for the new page:
<title>$vboptions[hometitle]</title>

but i don't want every new page to have that as a title. i'd like my new page on red poker chips to be titled "Red Poker Chips", not "My Wonderful Homepage".

- is there a variable that i could use to replace [hometitle] that would serve my purpose?
- is there another way around importing adv_portal as the base for the page (or would i even want to try that)

basically, is there a way each of my new pages could have their own <title> information?

any help is much appreciated!

- mongoose

Brian
11-12-2005, 01:41 PM
Have you modified your adv_portal template at all? It should show $vboptions[hometitle] - {page name} for the title.

mongoose
11-13-2005, 06:19 PM
i didn't think i did, but if this isn't the line of code that comes out of the box, i must've:

<title>$vboptions[hometitle]</title>

if i can get either of the following pieces of information i could solve it from there:
- the original code for the title tags in the adv_portal file .
- the variable that carries the page title information when you "add a page"

Brian
11-15-2005, 02:27 PM
<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>

Would be the original code. :)

jpa
11-17-2005, 11:35 AM
En que archivo pondo ese codigo?

In which file I add that I cosay?

Saludos

Brian
11-17-2005, 12:28 PM
Admin CP => Style Manager => {select style} => All Style Options

Open the list of vBa Portal templates, then edit your adv_portal template.

mongoose
11-17-2005, 10:44 PM
BINGO!

thank you brian.

jpa
02-13-2006, 09:39 PM
Por favor ayudenme en eso!!!! que no se me arregla, aun no se ve el titulo arriba...

Espero ayuda

wizywyg
02-15-2006, 09:21 PM
Where do we set the "Title" for our home page. I only see options/settings for title of the forum.

maniac
09-08-2006, 01:42 AM
Where do we set the "Title" for our home page. I only see options/settings for title of the forum.

Ditto...

Where can I add a homepage specific title?