Drupal: best practice for organizing different Drupal images on one site / subsection
This is probably the general task of creating a subkey on a site, which will be located in the sitename.com/subpath file.
The subsection will contain its own menu with multiple links (calendar view, MyEvent content type form, table view).
But clicking those links will lead to this / sub.
Is there a known solution for this (to stay in a subsection)?
Or it's okay to use a special code to control such a unit, for example. create pages under / subpath with custom PHP code that will load CCK ( drupal_get_form()
) forms ?
Also, is it an acceptable solution to change "View links to form node" to "View links to pages / subdirectories with programmatically generated forms node"
source to share
I'm not sure I fully understood your question - if I haven't, and I'm off topic, I apologize in advance.
Anyway:
-
Creating pages with code in them using a PHP filter is never accepted. There was a reason the filter was moved to a native module in 6.x - so you can turn it off completely.
-
You can go to Site Creation -> URL Aliases -> Create Alias โโand point the desired system paths (e.g. node / add / mycontent) in your subkey path (say mysection / add / mycontent), All links to the system path should change to a new alias.
EDIT:
Also, check pathauto and Alias โโurl subpath for paths like node / 1 and node / 1 / edit
source to share