Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need a little explaining..
#13
Dominic Wrote:I've been searching for something like this, and it sounds like the simplest solution to what I want to do which is similar to what otoom wanted. I do have a question. How would I get this to work with multiple portfolios other than make a different function for each portfolio? "getPortfolio1();", "getPortfolio2(), "getPortfolo3();" etc etc.

Just add a parameter to the function and call it with getPortfolio('portfolio1') (portfolio1 being the parent page):
Code:
function getPortfolio($parentpage){
    $subpages=getChildren($parentpage);
    ...

Dominic Wrote:Also, will this work if i already have the i18N custom fields plugin installed?

I18N Custom Fields is an extension of Mike's Custom Fields, so it should work.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Need a little explaining.. - by oToom - 2011-03-19, 13:31:46
Need a little explaining.. - by Connie - 2011-03-19, 14:45:33
Need a little explaining.. - by oToom - 2011-03-19, 23:29:15
Need a little explaining.. - by polyfragmented - 2011-03-19, 23:37:48
Need a little explaining.. - by Connie - 2011-03-20, 00:49:41
Need a little explaining.. - by datiswous - 2011-03-21, 10:09:32
Need a little explaining.. - by Connie - 2011-03-21, 17:14:02
Need a little explaining.. - by oToom - 2011-03-22, 09:26:55
Need a little explaining.. - by n00dles101 - 2011-03-22, 09:44:23
Need a little explaining.. - by oToom - 2011-03-22, 10:15:03
Need a little explaining.. - by datiswous - 2011-03-22, 19:13:12
Need a little explaining.. - by Dominic - 2012-02-04, 04:39:59
Need a little explaining.. - by mvlcek - 2012-02-04, 04:47:43
Need a little explaining.. - by Carlos - 2012-02-04, 07:22:22
Need a little explaining.. - by Dominic - 2012-02-05, 01:04:15
Need a little explaining.. - by Carlos - 2012-02-06, 05:51:03



Users browsing this thread: 1 Guest(s)