+ Reply to Thread
Results 1 to 5 of 5

Thread: Pulling content from another page

  1. #1
    Join Date
    Mar 2008
    Posts
    162

    Default Pulling content from another page

    I have a designed an opening page for my Wiki where it displays graphical elements as the background of a table and then it is subdivided with news in one cell and so forth with the table border hidden. I have found that with the table border hidden it is harder to type text into the table and I wouldn't trust other to edit this way.

    I would like to use another page to "feed" text into the table so that the home page never has to be edited. I tried using this:

    {{ wiki.page("<page>", "<section>") }}

    But all that would produce was a link to the page. Do I have to have DekiScript installed for this extension to work?

    Beez

  2. #2
    Join Date
    Feb 2007
    Location
    San Diego, CA
    Posts
    733

    Default

    That behavior indicates that it wasn't able to find either the page or the section that you requested. You can see a running example here: http://wiki.opengarden.org/User:BrigetteK.

  3. #3
    Join Date
    Mar 2008
    Posts
    162

    Default

    For me "Userage" isn't the best example because that doesn't express a path.

    What if want text to my non-user page that is 4 levels down in another section. How do I put this: "http://wiki.company.org/page1/page2/page3/targetpage" where the question marks are below?

    {{ wiki.page ("????","section") }}

    Thanks,

    Beez
    Last edited by beezoboy; 04-07-2008 at 08:18 PM. Reason: Forgot Bold

  4. #4
    Join Date
    Feb 2007
    Location
    San Diego, CA
    Posts
    733

    Default

    You would use page1/page2/page3/targetpage for your example. First try {{wiki.page("page1/page2/page3/targetpage")}} and check if you see the page's content. If so, you have the page path set correctly and the section name is the culprit.

  5. #5
    Join Date
    Mar 2008
    Posts
    162

    Default

    Thanks.

    That fixed the issue for me.

    Beez

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts