Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
workflow advice.
#2
(2013-08-28, 01:22:31)lnickel Wrote: Hi folks.

I have a site I'm currently working on that requires a lot of tables (data etc.) on a particular page.

I set the page up with 4 tabbed content sections for the sake of usability. Each tab loads in a hidden div . This works nicely, however there is a lot of information in each section. This makes for a page with a lot of code in the editor. EEK

I was wondering if the function returnPageContent could be used in a template file to make it more modular so I don't have to do a boat load of div's etc on the page. Can they be ported in?

PHP Code:
<?php returnPageContent(); ?>

So for example. In a particular template file I could create the outer sections to hold each tabbed content. Where the arguments could be separate pages.

PHP Code:
<div id="section"><?php returnPageContent('fund-information'); ?></div>

<div id="section"><?php returnPageContent('fund-strategy); ?></div>

<div id="section"><?php returnPageContent('
fund-risk'); ?></div> 

Thanks in advance. Any advice would be greatly appreciated!!


I think this can be done. I'll give it a go.
Reply


Messages In This Thread
workflow advice. - by lnickel - 2013-08-28, 01:22:31
RE: workflow advice. - by lnickel - 2013-08-28, 06:59:55
RE: workflow advice. - by shawn_a - 2013-08-28, 07:10:58
RE: workflow advice. - by Carlos - 2013-08-29, 00:32:44
RE: workflow advice. - by lnickel - 2013-08-29, 04:43:19
RE: workflow advice. - by shawn_a - 2013-08-29, 05:04:15
RE: workflow advice. - by Carlos - 2013-08-29, 05:10:39
RE: workflow advice. - by shawn_a - 2013-08-29, 05:16:47
RE: workflow advice. - by Carlos - 2013-08-29, 05:19:20



Users browsing this thread: 3 Guest(s)