Revision history for TitleActionInfo


Revision [2420]

Last edited on 2016-05-12 21:11:40 by BrianKoontz [typo]
Additions:
- {{since version="1.3.4" display="inline"}}
Deletions:
- {{since version="1.3.4" display="inline"}} Introduction


Revision [2419]

Edited on 2016-05-12 21:11:17 by BrianKoontz [typo]
Additions:
<<Note: If you are looking to output a custom ##<title>...</title>## tag, please see Docs:TitleTagActionInfo.<< ::c::
Deletions:
<<Note: If you are looking to output a custom ##<title>...</title>## tag, please see Docs:TitleTagActionInfo.<<::c::


Revision [2418]

Edited on 2016-05-12 21:11:00 by BrianKoontz [updated]
Additions:
{{since version="1.3.4" align="left"}}
Prints the title of the current page.
##""{{title}}""##
Part of the [[Wikka:WikkaMenulets]] | Wikka Menulets project. Prints the return value of ##PageTitle().## Note that the return value of ##PageTitle()## is a concatenation of the name of your Wikka instance followed by the page "tag" (actual title of your page) **if there are no headers present in the page body**. Otherwise, this action outputs the string enclosed by the largest header markup closest to the top of the page.
- {{since version="1.3.4" display="inline"}} Introduction
- [[http://wikkawiki.org/DarTar Dario Taraborelli]]
Deletions:
{{since version="1.3.7" align="left"}}
Renders an HTML title tag in the page output header.
##""{{titletag string="My page title with important keywords"}}""##
|?|Parameters||
|[|
|=|name|=|type|=|required?|=|default|=|description||
|#|
|=|string||string||mandatory||-||value of the string enclosed by the title tag||
With the ##""{{titletag}}""## action you can generate a custom HTML title tag that will appear in the page output header. Please note that you will have to remove any instances of ##<title>...</title>## tags in your ##header.php## files, as multiple ##<title>## tags are not permissible under the HTML recommendations. Also, there is no protection against invoking ##""{{titletag}}""## more than once. Position of the title tag within the head of the document is not guaranteed or predictable (but shouldn't matter).
==Examples:==
##""{{titletag string="My Title"}}""##
produces the following output:
%%(html)
<head>
...
<title>MyTitle</title>
...
</head>
%%
- {{since version="1.3.7" display="inline"}} Introduction
- [[http://wikkawiki.org/BrianKoontz | Brian Koontz]]


Revision [2417]

Edited on 2016-05-12 21:04:45 by BrianKoontz [update]
Additions:
=====Title Action Documentation=====
This is the documentation page for the ##title## action.
<<Note: If you are looking to output a custom ##<title>...</title>## tag, please see Docs:TitleTagActionInfo.<<::c::
Deletions:
=====Titletag Action Documentation=====
This is the documentation page for the ##titletag## action.
<<Note: You will need to remove any existing ##<title>...</title>## tags in
your ##header.php## files (located under the ##templates/## directory).
Otherwise, you will have multiple ##<title>## tags in your HTML output, which
is not in compliance with the HTML recommendations.<<::c::


Revision [2416]

The oldest known version of this page was created on 2016-05-12 21:00:52 by BrianKoontz [update]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki