Site Network: Home | | 网赚 | About



how to install the template of typo3

To install the template, unzip and upload the "fileadmin" folder in your root TYPO3 root directory. All future templates will also be stored in fileadmin/tempates/. The full path to the template folder should appear as /fileadmin/templates/zenlight2col/.

1) Login as Admin and go to Tools > Ext Manager > Menu: Import extensions from online repository > Connect to online repository and install "CSS styled content" if you do not have this extension installed.
2) Click on Web > Templates
3) Highlight the root page you wish to apply the template to.
4) Click on "Create template for new site" then Click "OK"
5) Click on "Click here to edit whole template record"
6) Copy/Paste the Typoscript found in the typoscript_setup.txt file into the Setup Field of your template record.
7) Scroll down to Include static (from extensions): and add "CSS Styled Content (css_styled_content)" from the "Items:" field to the "Selected:" Field.
8) Save and Clear Cache.

The setup.txt file contains the TypoScript need for the CSS menu to work. Simply copy/paste this into the Setup Field of your template record. Other Typoscript snippets have been included to enhance functionality. Please note that that "Simulate static pages" is the default setup. You will need to enable .htaccess included in your root TYPO3 directory to use this feature. To enable change _.htaccess to .htaccess.

If you do not wish to use "Simulate static pages" then comment out or delete entirely the following:

# Simulate static pages (uncomment/comment to configure)
#######################################
config.simulateStaticDocuments = 1
# config.simulateStaticDocuments_addTitle = 30
config.simulateStaticDocuments_noTypeIfNoTitle = 1
# config.simulateStaticDocuments_pageTitleFirst = 1
# config.pageTitleFirst = 1
# config.simulateStaticDocuments_pEnc = md5
# config.simulateStaticDocuments_pEnc = base64
# config.simulateStaticDocuments_pEnc_onlyP = backPid, tt_news, cHash, L, tx_ttnews[backPid], tx_ttnews[tt_news], print, pS, pL, arc, cat, begin_at, swords
# config.simulateStaticDocuments = PATH_INFO
# config.absRefPrefix = http:// www.mydomain.com/

The menu rollovers are done with the CSS file (background image positioning) instead of Javascript. Fireworks MX PNG files have been included for customizing the graphical header. You can modify the graphics with a demo version of Fireworks MX from macromedia.com if you do not already own a copy.

To export PNG the image file as HTML and image slices simply use the File > Export Preview function in Fireworks after opening header.png. Upload the modified images to fileadmin/templates/mediatech/images/fileadmin/templates/zenlight2col/images/.

Remember to always Clear cache in Admin functions after modifying graphics or template.html for changes to take effect. If you have any questions or problems setting up the template please post at http://mediatech.net/typo3_forum.html so we can fix any problems or bugs and to make future instructions easier to understand.

Posted by Yangtze 11:39  

0 Comments:

Post a Comment