Forumlar / Cotonti / Support / plug.php parameters

o parameter

ez
#1 2011-03-06 21:19

I tried installing alex300 plugin for printing, but it failed with templates...

The url showed a popup with a strange (for me unknown) parameter...

it was plug.php?o=an_ppve.....

What is the o ???

I never seen that before ( I know e and r parameters)
Could someone help me ??
For me to find the error, i should know were to look first

thnx

==- I say: Keep it EZ -==
Dr2005alex
#2 2011-03-07 06:14

This link opens in a new window (usually). This part of the popup plugin.

WebKaa.ru - Cotonti Relax
ez
#3 2011-03-07 07:00

Hi, thanks for the answer....
I do not know this popup plugin.... can you tell me more about this ??

==- I say: Keep it EZ -==
Dr2005alex
#4 2011-03-07 10:38

Sorry for my language ....

 If you use  e a variable that marks a completely different code in plug.inc.php

not used by default plug.tpl, and is used popup.tpl in the skin.

What works can look in the code cotonti, in a file plug.inc.php from line 139

We'll see one hundred instead of $ plugin_title, $ plugin_body used

$ popup_header1, $ popup_header2, $ popup_footer, $ popup_body,

but do not use a common header and footer.

View attentively and plug.inc.php, popup.tpl and everything will become clear ...

WebKaa.ru - Cotonti Relax
ez
#5 2011-03-07 21:50

I looked at the code and i found it.

$mskin = sed_skinfile(array('popup', $o));

I guess i found the problem for the skinfile.... there needs to be a popup.tpl  (not sure what the skinfile function does whith an array... ??)

 

(In this plugin for printing pages, pdf and tell a friend there is NO popup.tpl)

 

Thanks Alex    

(by the way english is ok.... you answered so that is super !!)

 

==- I say: Keep it EZ -==