Feature #15193

There is no API to list tables in the Web->Page module

Added by Michael Stucki over 15 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2005-11-10
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

Description

Some extensions like tt_products can display the table records in the page module of the backend.

This is very nice but would also be nice for a lot of other extensions. But unfortunately, the feature is hardcoded.

It would be great to have an API or at least a simple hook for this.
(issue imported from #M1822)


Files

error-typo3-2.png (9.83 KB) error-typo3-2.png Administrator Admin, 2006-02-22 20:26
apiPageModule.diff (6.23 KB) apiPageModule.diff Administrator Admin, 2006-03-16 18:04
1822_v2.diff (5.96 KB) 1822_v2.diff Administrator Admin, 2010-02-06 15:47
T3X_test_pm_recordlist.t3x (2.45 KB) T3X_test_pm_recordlist.t3x Administrator Admin, 2010-02-06 15:47
#1

Updated by Ingo Renner over 15 years ago

what about

$TYPO3_CONF_VARS['EXTCONF']['cms']['db_layout']['addTables']['tx_irfaq_q'][0] = array(
'fList' => 'q,a,q_from,expert',
'icon' => TRUE
);

...taken as an example from irfaq

#2

Updated by Franz Holzinger over 15 years ago

reuse the TCA: The palettes already exist.
---------------
'overview' => Array (
'Standard' => '2',
'Extended' => '3'
),
'palettes' => Array (
'1' => Array('showitem' => 'starttime, endtime, fe_group'),
'2' => Array('showitem' => 'price2, special_preparation, directcost, tax, offer, highlight'),
'3' => Array('showitem' => 'subtitle, www, itemnumber, inStock'),
'4' => Array('showitem' => 'size, unit, unit_factor, gradings, bulkily, weight'),
'5' => Array('showitem' => 'accessory2'),
'6' => Array('showitem' => ''),
)
----------

#3

Updated by Sebastian Kurfuerst over 15 years ago

If I see this correctly, the method mentioned by Ingo already exists :-)
Sebastian

#5

Updated by Franz Holzinger over 15 years ago

But you cannot set the function menu with this.

case 'tt_products':
$h_func = t3lib_BEfunc::getFuncMenu($this->id,'SET[tt_products]',$this->MOD_SETTINGS['tt_products'],$this->MOD_MENU['tt_products'],'db_layout.php','');
break;

#6

Updated by Franz Holzinger over 15 years ago

But you cannot set the function menu with this.

if (!isset($dblist->externalTables[$table])) {
...
case 'tt_products':
$h_func =
t3lib_BEfunc::getFuncMenu($this->id,'SET[tt_products]',
$this->MOD_SETTINGS['tt_products'],$this->MOD_MENU['tt_products'],'db_layout.php','');
break;

#7

Updated by Franz Holzinger over 15 years ago

function menuConfig() {
// MENU-ITEMS:
$this->MOD_MENU = array(
...
'tt_products' => array (
0 => $LANG->getLL('m_default'),
'ext' => $LANG->getLL('m_tt_products_ext')
),

cannot be configured from outside.

#8

Updated by Sebastian Kurfuerst over 15 years ago

Hi,
yes, you are right with this. It would be really cool if you wrote a patch making this possible :-)
Sebastian

#9

Updated by Franz Holzinger over 15 years ago

I have sent the patch already to the CORE list in December 2005.
So lets wait until someone will find the time to look on it.

#10

Updated by Franz Holzinger over 15 years ago

The Web->Page module does not work correctly with TYPO3 4.0beta3. See attached image.

#11

Updated by Michael Stucki over 15 years ago

Hi Franz,

The Web->Page module does not work correctly with TYPO3 4.0beta3.
See attached image.

You being a core dev, I would say that you should look at this issue and propose a fix for it.

- michael

#12

Updated by Robert Markula about 15 years ago

Hi!
What's the status of this? It would be a nice usability enhancement, especially when looking for 4.5.

#13

Updated by Roger Bunyan about 15 years ago

+1
It would be nice to have the option to put records on page view

roger

#14

Updated by Ernesto Baschny about 15 years ago

Roger Bunyan,

I think we are moving in circles here. There is already an API to put records on page module. See the first comment of this bug report. The link to the documentation about is changed to:

http://typo3.org/documentation/document-library/core-documentation/doc_core_api/current/view/3/8/#id2860649

What seems to be missing is an API to have different "views" of those records, like tt_news and other "hardcoded" extensions are able to do.

This has been discussed in the core list, but I don't think anything has been integrated, as this thread was a bit of a mess. Maybe we could get Franz Holzinger to recreate a patch to the current trunk of SVN and provide a RFC so it can be discussed in core again.

#15

Updated by Andreas Stauder about 15 years ago

For me this patch makes really sense. The patch is already available, easy to test, increases the usability for important extensions. So why not intergrate it in V4.1?

#16

Updated by Ernesto Baschny about 15 years ago

Someone just has to make an organized summary and current patch (for current 4.0 trunk) about it and we can discuss it in the core list. I would suggest Franz as he was originally interested in it.

With "organized summary" I mean some clear text which all core developers can understand without having to install extensions or do much research. This is usually the easiest and fastes way to get it into the core.

#17

Updated by Andreas almost 14 years ago

I would really go for this patch in the next typo3 version. better listings on the page module would be very smooth thing - especially since the typo3 vers.5 with the more flexible ajax interface will still take some time ;-)

#18

Updated by Franz Holzinger almost 14 years ago

I have resent this patch again to the Core list that it comes into TYPO3 4.2.
Please have a look at it and tell me if something is still unclear. If you want an additional feature then I generally agree but want to deliver that in a separate patch.

Regards,

Franz

#19

Updated by Franz Holzinger almost 13 years ago

I have uploaded a new extension patch1822 into TER. So you can test and use it without applying the patch.

#20

Updated by Jonas Felix over 12 years ago

I just found this patch in static_info_table. Cool patch! What's about this into core?

#21

Updated by Sascha Egerer over 12 years ago

Any progress?

#22

Updated by Oliver Hader about 12 years ago

Is this still valid?!

#23

Updated by Oliver Hader about 12 years ago

I think it is irrevant...
It's possible by using $TYPO3_CONF_VARS['EXTCONF']['cms']['db_layout']['addTables']...

#24

Updated by Michael Hirdes almost 12 years ago

reopened by request of franz H.

#25

Updated by Xavier Perseguers over 11 years ago

Franz, could you have a look at what Olly said in may 2009 and provide a new patch if needed? it would be so nice to get rid of this "patch" in TER and not having it anymore as an option in static_info_tables... :-)

#26

Updated by Steffen Kamper over 11 years ago

I renewed the patch and wrote a demo extension using fe_users as example.

#27

Updated by Steffen Kamper over 11 years ago

committed to trunk rev 6874

#28

Updated by Susanne Moog over 10 years ago

  • Target version deleted (4.4.0)

Also available in: Atom PDF