show the links between the different steps

// msnf.module
function msnf_preprocess_msnf_block_step_info(&$vars) {
 ...
}

I added a fragment of my code, at night I put the patch

// line 627
      'data' => l(msnf_translate(array($step->step_name, $step->bundle, 'label'), $step->label), current_path(),array('query' => array('step'=>$step_name),'absolute' => true )  ),
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stBorchert’s picture

Status: Active » Closed (works as designed)

No patch is needed as you can simply override the code using the preprocess function in your theme.

Example: function garland_preprocess_msnf_block_step_info(&$vars) { ... }

tregismoreira’s picture

Status: Active » Closed (works as designed)
FileSize
1.11 KB

Why can't we assume the links as default? So, if it's the current step, we can output it as plain text.

Look this patch.

tregismoreira’s picture

Status: Closed (works as designed) » Active
stBorchert’s picture

See http://drupalcode.org/project/msnf.git/blob/refs/heads/7.x-1.x:/README.t...

Using the feature will cause data loss when switching to another step so this is for advanced users only and therefore disabled by default.

tregismoreira’s picture

Using the feature will cause data loss when switching to another step so this is for advanced users only and therefore disabled by default

Of course, but users can be informed of this. Perhaps this can be implemented as an optional extra, but I think you should not ignore this feature ;)

tregismoreira’s picture