Closed (fixed)
Project:
Checklist
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2012 at 22:14 UTC
Updated:
13 Nov 2014 at 14:45 UTC
Jump to comment: Most recent
Comments
Comment #1
dgastudio commentedsorry
Comment #2
dgastudio commentedat this way i can display checklist in block, but after press "continue"...
Fatal error: Call to undefined function checklist_main_page()
Comment #3
j_ten_man commentedComment #4
dgastudio commentedyep, thanks!
Comment #5
dgastudio commentedclosing
Comment #6
dgastudio commentedopening again.
after put this code in block, title CHECKLISTS is applied to every page where block is displayed.
Comment #7
j_ten_man commentedJust looked at the actual code. Here's a better idea:
Comment #8
j_ten_man commentedComment #9
ybabel commentedworked fine for me. I tested with 1 user instance.
Comment #10
TheRealDeal commentedSorry to dig up an old thread but where exactly should I post this php code? In my themes template or in the module folder etc? (I am a drupal newbie)
Comment #11
j_ten_man commentedThis code was put into a block using the PHP filter (although it's not recommended to have this module turned on). You could also put this in a template file that is specific for the block.
You could also write a small module that implements the block hooks to accomplish this as well.
Comment #12
TheRealDeal commentedThanks the code from post #3 worked for me, for some reason the code in #7 doesn't.