Closed (duplicate)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2011 at 14:02 UTC
Updated:
2 Feb 2017 at 17:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #0.0
jordanmagnuson commentedMade some text bold.
Comment #1
yogeshchaugule8 commentedHi JordanMagnuson, did you found solution for this issue, I'm facing the same issue.
I'm using 7.x-1.3 version of ctools.
Comment #2
jordanmagnuson commentedNo, sorry, didn't ever solve this.
Comment #3
adriankremer commentedi just found that the "$not_first" var in "includes/wizard.inc" seems to be unused and can be used as condition in creating the previous button.
greetings adrian
Comment #4
sumthief commentedHello
Faced with the same problem on my current project.
There is one of variants to solve this problem in #3.
But I think we shouldn't modify ctools_wizard_wrapper function for this.
Condition to add 'Back' button is very simple:
Also we have some manipulations with $previous variable some lines above.
Looks like the root of the problem is that passed $form_state for showing next step is built from previous step.
So I think we should unset it before new step was shown.
Here is a patch which solves this problem.
Comment #5
sumthief commentedThere is an older issue which describes exactly same problem.
Here is a link - https://www.drupal.org/node/1488930.
Comment #6
Rushikumar commented@sumthief
Can confirm the patch in #4 fixes the issue.
My versions--
Drupal v7.52
ctools - 7.x-1.9