samson132 Posted November 27, 2014 Share Posted November 27, 2014 How can I move my intro text shown in step 2 to the same place in step 1? To see the intro text visit - http://www.workbooks.com/sales-performance-calculator and click "Get started now". Then click > Next step You'll see the text: >Over the next few steps we’ll ask you to rate your current sales and marketing performance and then estimate your future rating with a new CRM platform that meets your business needs and requirements. This is the text which I'd like to remove and add in the same place above the first step (Step 1 (of 7) - Current Business Figures. This line is found on line 9 in values.php see JSFiddle - http://jsfiddle.net/arf1z13w/ $wb_spc_array['sections'][] = array("key" => "new-business-generating", "name" => "New Business Generating", "type" => "sales", "intro" => "<p>Over the next few steps we’ll ask you to rate your current sales and marketing performance and then estimate your future rating with a new CRM platform that meets your business needs and requirements.</p>", "description" => "Rate your organisation on its ability to effectively market to new prospects, generate leads and then measure the ROI of marketing campaigns. We’ve outlined some positive and negative indicators below to provide you with a benchmark.", "body" => " The remainder of the page seems to be styled in wb_spc.module, see a JSFiddle of this - http://jsfiddle.net/bmzox5vL. How can I make this work? Quote Link to comment https://forums.phpfreaks.com/topic/292753-how-to-move-html-text-in-php-to-another-page/ Share on other sites More sharing options...
Ch0cu3r Posted November 27, 2014 Share Posted November 27, 2014 Your could try commenting out lines 174 through to 176 (add // at the start of the lines eg) // if(isset($section['intro'])){ // $form[] = array('#markup' => $section['intro']); // } Now before line 147 add the following $form[] = array('#markup' => $wb_spc_array['sections'][0]['intro']); Quote Link to comment https://forums.phpfreaks.com/topic/292753-how-to-move-html-text-in-php-to-another-page/#findComment-1497860 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.