Thanks a lot for all the help. Works fine.
Zen TYPO3 Forum
Our TYPO3 forum is available for freelancers, professionals and clients new to TYPO3 to discuss Basic TYPO3 templating, Typoscript, extension installation, administration and help with subscription templates. Please register for an account to post.
Total Posts: 3 - Pages (1): [1]
If you want the image to show up on all pages you can create TypoScript HTML markers. At the bottom of Setup: TypoScript Setup code, add something like this.
The resulting HTML TypoScript markers will look like these.
Now insert the markers into your template to make the images appear.
Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
# Image 1
#######################################
page.1 {
subparts.IMAGE1 = TEXT
subparts.IMAGE1.insertData = 1
subparts.IMAGE1.value (
<img src="fileadmin/images/my_image.gif" alt="" />
)
}
# Image 2
#######################################
page.1 {
subparts.IMAGE2 = TEXT
subparts.IMAGE2.insertData = 1
subparts.IMAGE2.value (
<img src="fileadmin/images/my_other_image.gif" alt="" />
)
}
#######################################
page.1 {
subparts.IMAGE1 = TEXT
subparts.IMAGE1.insertData = 1
subparts.IMAGE1.value (
<img src="fileadmin/images/my_image.gif" alt="" />
)
}
# Image 2
#######################################
page.1 {
subparts.IMAGE2 = TEXT
subparts.IMAGE2.insertData = 1
subparts.IMAGE2.value (
<img src="fileadmin/images/my_other_image.gif" alt="" />
)
}
The resulting HTML TypoScript markers will look like these.
<!-- ###IMAGE1### START -->
<!-- ###IMAGE1### END-->
<!-- ###IMAGE2### START -->
<!-- ###IMAGE2### END-->
<!-- ###IMAGE1### END-->
<!-- ###IMAGE2### START -->
<!-- ###IMAGE2### END-->
Now insert the markers into your template to make the images appear.
<div id="left-content">
<!-- ###IMAGE1### START -->
<!-- ###IMAGE1### END-->
<!-- ###VERTNAV_TITLE### START-->
<!-- ###VERTNAV_TITLE### END-->
<!--###VERTNAV### START-->
<p>this is the where left menu goes</p>
<!--###VERTNAV### STOP-->
<!-- ###IMAGE2### START -->
<!-- ###IMAGE2### END-->
<div id="left-wrapper">
<!-- ###CONTENT_LEFT### START-->
<H2 align="justify">- Title -</H2>
<p>this is the where left content goes</p>
<!-- ###CONTENT_LEFT### END-->
<!-- end #left-wrapper -->
</div>
<!-- end #left-content -->
</div>
<!-- ###IMAGE1### START -->
<!-- ###IMAGE1### END-->
<!-- ###VERTNAV_TITLE### START-->
<!-- ###VERTNAV_TITLE### END-->
<!--###VERTNAV### START-->
<p>this is the where left menu goes</p>
<!--###VERTNAV### STOP-->
<!-- ###IMAGE2### START -->
<!-- ###IMAGE2### END-->
<div id="left-wrapper">
<!-- ###CONTENT_LEFT### START-->
<H2 align="justify">- Title -</H2>
<p>this is the where left content goes</p>
<!-- ###CONTENT_LEFT### END-->
<!-- end #left-wrapper -->
</div>
<!-- end #left-content -->
</div>
Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
How can I insert an image before and after the vertical navigation? Is that possible. I tried putting the pic into the template.html file, but I did not get it to work.
Thanks
Thanks
Total Posts: 3 - Pages (1): [1]
CHC Forum provided by Cast Iron Coding