Closed (fixed)
Project:
Pageroute
Version:
5.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2008 at 17:38 UTC
Updated:
14 Nov 2008 at 11:19 UTC
I connected the node-add forms for two different content types using pageroute. Each form was themed using a custom .tpl.php, per How to Theme CCK Input Forms. When I browse to the pageroute, the theming from the custom .tpl.phps is not applied. How can node-add forms be themed within a pageroute?
A contrived example:
- Two content types, plant and animal.
- Themed pages /node/add/plant and /node/add/animal
- Pageroute /mypageroute containing /node/add/plant and /node/add/animal (as node adding forms.)
When browsing node/add/plant, the themed form appears. When browsing /mypageroute, the node-adding form for plant is displayed in the default, unthemed way.
Comments
Comment #1
bcn commentedI am having the same issue... Were you able to find a solution for this?
@fago Is it possible to theme lonely nodes?
Comment #2
threexk commentedEnded up abandoning pageroute and writing a quick-and-dirty module to redirect to the second form upon completion of the first form. Don't know if it'll help in your case, but here's the module code:
I am still fairly new to Drupal and PHP, so I'm not totally sure how the $_REQUEST line works -- I got it from a comment in another issue.
Comment #3
Tauran commentedPlease reopen if the request persists.