注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

天上人间*bobo之家

有阳光的时段,就有他(她)的博客文章。也许天气并非晴空万里,博主的“博物钟”却是

 
 
 

日志

 
 

pdf_generator2  

2010-02-24 14:34:22|  分类: typo3 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

How to

On this nice evening i show you how to install and let the extension run …

Extension: pdf_generator2

TYPO3: Version 4.2.9

1. After you’ve downloaded the extension, go to the Extension-Manger in your Backend -> Install pdf_generator2

1.1 Don’t forget to click the “update” Button after installing. Because the following Errormessage will appear when forget clicking the “update” Button:

Error while trying the pdfconversion  Maybe the gen_pdf.php script was not executed at all

update

2. Then go to your Root Template and insert the following lines:

lib.pdf = TEXT
lib.pdf.value = generate pdf
lib.pdf.postUserFunc = tx_pdfgenerator2->makePdfLink
lib.pdf.postUserFunc.target = _blank
 

3. I use TemplaVoila and just mapped a small TypoScriptObject: lib.pdf

4. After cleaning the cache, update the database reference index my new link appears hot and sexy!!!

5. Possible Error:

I use a local XAMPP Installation where the PEAR Package is included. Something will go wrong whis this two modules (pdf_generator2 and PEAR):

Fatal error:  Cannot redeclare readmap()
(previously declared in ...\Xampp\php\PEAR\fpdf\font\makefont\makefont.php:8)

So i just rename temporary the folder PEAR to PEAR_old and everthing works fine. (But it tooks me 2 hours to fix this little bug)

In the next days i will write something about detailed configuration!

Related posts:

  1. How to … update TYPO3 4.2
  2. Zimplit – a small, free Content-Management-System
  3. How to … sort the feuserlist in TYPO3
  评论这张
 
阅读(119)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018