Active
Project:
Panels Extras
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
29 Jul 2011 at 19:40 UTC
Updated:
29 Jul 2011 at 20:09 UTC
Porting emailpanels to d7 seems to be a challenge, created this issue for d7 port of emailpanels.
Comments
Comment #1
chriscalip commentedBroken attempt to port emailpanels to d7 - the problem is the additional complexity from d6 email module menu_router of email/%/% that is restricted to (nid,field) to d7 email module menu_router email/%/% ($object_type,$object_id,$field_name)
-- I am kinda stumped, need help.
Comment #2
chriscalip commentedWrite to ctools queue and ask for clarification if ctools has a setup for a conditional hook_get_arguments($task, $subtask_id)
Title: CTOOLS page manager "improve context detection"
Description:
Hello, I wanted to start a discussion about the implications of fields being available in most (all)
entities (node,term,user) in particular how we look at menu routers.
First of all I think it's great that we can share fields in all entities,
the ability to share an email field in content types, terms, etc.. etc.. is just awesome.
Contrib Module's also have taken advantage and are readjusting their own page callbacks to this fact.
For the email module has a menu_router(path,page_callback) :
a. (d6 version) menu_router ('email/%/%',email_mail_page) with email_mail_page($nid,$field_name);
b. (d7 version) menu_router ('email/%/%/%',email_mail_page) with email_mail_page($object_type,$object_id,$field_name);
Comment #3
chriscalip commentedI gotta remember the advice when I start on this issue again going to faqpanels d7 port now and yeah that other faqpanels issue.
Comment #3.0
chriscalip commentedgave a more detailed description.