ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Oké, rephrased: how to display a gallery-name in the title?

October 28, 2007 8:11am

Subscribe [2]
  • #1 / Oct 28, 2007 8:11am

    robertniessen

    11 posts

    Hello,

    I try to display the gallery name, as administered in the gallery’s preferences, in the meta data c.q. the <title> of a webpage.

    I thought I could use the same code as in calling for the info of a weblog, but obviously I do something wrong. The code I use (anbd tried in many ways):
    head>

    {assign_variable:gallery_name="ig-holland"}
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <title>{exp:gallery:info gallery= "{gallery_name}"}{title}{/exp:gallery:info gallery}</title> ..............

    thanks for thinking with/for me,

    Robert

  • #2 / Nov 03, 2007 8:29pm

    Erin Dalzell

    790 posts

    Hmmm…interesting…not sure how to access that either.

  • #3 / Nov 03, 2007 8:32pm

    Erin Dalzell

    790 posts

    The name shouldn’t change though, so can’t you just hard code it?

  • #4 / Nov 04, 2007 10:34am

    robertniessen

    11 posts

    Yes I can, but that is one off the problems with problem-solving: now I want to know!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases