| Topic: | Multihook error...bizarre |
|---|---|
|
remmingtonshowdown
Helper
Posts: 285 Posted: |
Installed according to the install.txt and everything looked a-ok. Activated, entered a whole bunch of links, still looked ok. Activated the module hook for Pagesetter and broken. When I click a Pagesetter articl I recieve this error:CodeFatal error: Call to undefined function absolute_url() in /home/binaryov/public_html/teamclifbarmidwest/modules/MultiHook/pnuserapi.php on line 347 Yikes! Lil help... thanks |
|
gerkynet
Helper
Posts: 257 Posted: |
What version of MultiHook do you have installed? (3.0 version is prepared for pn.8) It seem as isn't loading the modules/MultiHook/common.php library. edited by: gerkynet, Aug 26, 2006 - 01:18 PM -- |
|
remmingtonshowdown
Helper
Posts: 285 Posted: |
I am using version 2 now and it "works" I had to do alot of editing to force the module to show print the "class" when replacing the links... I still cannot get the Ajax working. I see the little square image to the left of the link and I assume it's what should pop up a window to edit the link... yet nothing. Perhaps it has something to do with callig the multihookhelper in AutoTheme... I have followed the instructions yet nada.... ugh edited by: remmingtonshowdown, Aug 26, 2006 - 10:35 AM |
|
Teb
Professional
Posts: 501 Posted: |
Does it work on other browsers? IE, FireFox, ... ? -- -- Teb -- Dutch Zikula Community Support questions in a Personal Message will be ignored. Use the forums at all times! |
|
Landseer
Developer
Posts: 852 Posted: |
I must admit I never used MultiHook in Autothemes. Did you add the javascript and stylesheets to the head of your theme? Concerning the absolute_url() function: This is defined in modules/MultiHook/common.php. You should re-upload this or better switch to 3.0 And what changes were necessary to solve the class problem? -- "He is not dangerous, he just wants to play...." |
|
remmingtonshowdown
Helper
Posts: 285 Posted: |
howdy... It neither worked on IE (yuck) or Firefox. And I tried like hell to make it work. I cannot get 3.0 runnig on a .7.6.2 site (and I understand 3.0 was prepared for pn.8) 2.0 works for me. My guess is that because AT doesn't use pnRender to create its theme pages I can't use the Code<!--[multihookhelper]--> Code$multihookhelper= ... In the end I don't really care that much- I'm the only one who will be setting multihooks so going into the admin panel is fine... I just really really wanted to play with the Ajax. I'm brainstorming how I would build a site where all the user input is ajaxed. mmm... In common.php at lines 93, 95, 99 I had to replace Code'<a '.$extclass.' With Code'<a class="'.$externallinkclass.'" That will get the user defined class printed to the created URL etc... I think this code CodeGreat module though...huge selling point!! |