Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9125621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:50:48+00:00 2026-06-17T06:50:48+00:00

So I’m doing a custom user function(php script) in TYPO3 cms, I’m fetching data

  • 0

enter image description here

So I’m doing a custom user function(php script) in TYPO3 cms, I’m fetching data with sql, what I’m trying to do is fetch all of the content from one page.

I can easily do that by fetching data from tt_content with pid of the page, but what is the db relation between say that one plugin content elemenet(element under 1 in picture) and text&img content element (element under 2 in picture)?

How do I link them in DB so I know that they are both under Google map container?

Many thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T06:50:49+00:00Added an answer on June 17, 2026 at 6:50 am

    TemplaVoila stores tt_content uids (and their order) in table pages – in field tx_templavoila_flex, it’s standard XML

    To fetch all elements from given page you need to fetch that XML and read value with vDEF index from required column (as a common XML node). Uid’s of tt_content elements are comma divided, so when you’ll read ths node you just need to use explode by comma to get an array in proper order. sample:

    <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
    <T3FlexForms>
       <data>
           <sheet index="sDEF">
               <language index="lDEF">
                   <field index="field_leftcolumn">
                       <value index="vDEF">284,190,221</value>
                   </field>
                   <field index="field_rightcolumn">
                       <value index="vDEF">134,130</value>
                   </field>
                </language>
           </sheet>
       </data>
    </T3FlexForms>
    

    You can check how to work with these XML structures in… TemplaVoila source code, for an example it’s probably easiest to convert the XML to PHP array:

    $flexformContentArr = t3lib_div::xml2array($row['tx_templavoila_flex']);
    

    @see: typo3conf/ext/templavoila/class.tx_templavoila_api.php line #1362

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I want to construct a data frame in an Rcpp function, but when I
I'm trying to create an if statement in PHP that prevents a single post
Let's say I'm outputting a post title and in our database, it's Hello Y&#8217;all
I am trying to understand how to use SyndicationItem to display feed which is
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
Basically, what I'm trying to create is a page of div tags, each has
this is what i have right now Drawing an RSS feed into the php,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.