|
#1
|
|||
|
|||
|
I have 2 addons. One for image_template.html, another for browse_template.html. They both have a same function inside. this causes the archive
page goes to blank. And when I delete the function in the addon for browse_template.html, it goes well and even can use the function of the addon for image_template.html. the function turns global? Does it mean PP reads all the addon first no matter which page you're bruwsing and even no addon tag in it? Will this slow down the speed? refer to some other addons, I insert the following before the first addon's codes 1. if ($_GET['x']=='' ) { ...... } can anyone give a clear answer on this? Thanks.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar Last edited by jdleung; 06-13-2006 at 05:50 PM. |
|
#2
|
|||
|
|||
|
no answer?
you guys watching football game?
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar |
|
#3
|
||||
|
||||
|
yeah. i've got a bet on ecuador right now - going well. also got the england game later so no time to really take the time to understand this right now. will come back here.
__________________
Affordable Website Design in North Wales |
|
#4
|
|||
|
|||
|
3:0. you win!
hope you can give me a reply after England win the game.;-D
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar |
|
#5
|
||||
|
||||
|
I have your answer but you should hope that Iran won't lose too bad to Portugal tomorrow and then I'll give you the answer
![]() Ok... you did! now here is the answer before defining the function put this line if ( !function_exists('function_name') ){ and at the end add } for example PHP Code:
Quote:
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#6
|
|||
|
|||
|
Thanks Raminia.
I'm clear now. hope pp will update soon. Quote:
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar |
| Post Reply |
| Thread Tools | |
|
|