i am using v1.5 of EZComments. i installed and added hooks to Pagesetter. the comment form appears for the articles, but there is no comments shown when i added numerous comments. where are the comments? am i missing something?
also, i am using v0.99 of v4bJournal. i also added the hooks but there is no comment form appearing. am i missing out something again?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
help with ezcomments 1.5
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 19
ok.. v4bJournal is working fine :) but not for the Pagesetter... -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
I know that Pagesetter has it's own hook settings that allow hooks to be enabled for specific publication types. However, as I don't use Pagesetter, myself I can't be more specific. A look in the Pagesetter forums should provide some more info.
-Mark
--
Visit My homepage and Zikula themes. -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
Indeed, for each publication-setup [or tid if you want] you can tick 'enable hooks'.
Also make sure in your full-template you have following code:
Code
<!--[if $core.useDisplayHooks]-->
<!--[pnmodurl modname=pagesetter func=viewpub tid=$core.tid pid=$core.pid assign=viewUrl]-->
<!--[pnmodcallhooks hookobject=item hookaction=display hookid=$core.uniqueId module=pagesetter returnurl=$viewUrl]-->
<!--[/if]-->
Especially the hookid, which seems to be not correct in the ones found in the .zip/.tgz file.
- Igor -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 19
i do not quite understand. i already got the codes, exactly same as you posted, in the full-template. do you mean i need to change something such as the hookid=$core.uniqueId?? -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 19
hmmm.. actually i found out that all we need is to have these codes to work. no need to change anything, not even the hookid=$core.uniqueId
Code
<!--[if $core.useDisplayHooks]-->
<!--[pnmodurl modname=pagesetter func=viewpub tid=$core.tid pid=$core.pid assign=viewUrl]-->
<!--[pnmodcallhooks hookobject=item hookaction=display hookid=$core.uniqueId module=pagesetter returnurl=$viewUrl]-->
<!--[/if]-->
because Pagesetter does caching, thats why the comment form doesnt appear. so i had to clear the cache and it works.
i also noticed that even though the permissions are set correctly, weird behaviour may appear. for example, logged in as user and i can post comment, but when i log out, i am still able to see the form. this is due to caching also. so after some trial and error, all i have to do it to add the 'no cache' like this..
Code
<!--[nocache]--><!--[$core.editThis]-->
<!--[if $core.useDisplayHooks]-->
<!--[pnmodurl modname=pagesetter func=viewpub tid=$core.tid pid=$core.pid assign=viewUrl]-->
<!--[pnmodcallhooks hookobject=item hookaction=display hookid=$core.uniqueId module=pagesetter returnurl=$viewUrl]-->
<!--[/if]-->
<!--[/nocache]-->
hope it helps :)
- Moderated by:
- Support
