Project

General

Profile

Actions

Feature #15193

closed

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

Added by Michael Stucki over 18 years ago. Updated about 13 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
Actions #1

Updated by Ingo Renner over 18 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

Actions #2

Updated by Franz Holzinger over 18 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' => ''),
)
----------

Actions #3

Updated by Sebastian Kurfuerst over 18 years ago

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

Actions #5

Updated by Franz Holzinger over 18 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;

Actions #6

Updated by Franz Holzinger over 18 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;

Actions #7

Updated by Franz Holzinger over 18 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.

Actions #8

Updated by Sebastian Kurfuerst over 18 years ago

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

Actions #9

Updated by Franz Holzinger over 18 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.

Actions #10

Updated by Franz Holzinger about 18 years ago

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

Actions #11

Updated by Michael Stucki about 18 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

Actions #12

Updated by Robert Markula almost 18 years ago

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

Actions #13

Updated by Roger Bunyan almost 18 years ago

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

roger

Actions #14

Updated by Ernesto Baschny almost 18 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.

Actions #15

Updated by Andreas Stauder almost 18 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?

Actions #16

Updated by Ernesto Baschny almost 18 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.

Actions #17

Updated by Andreas over 16 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 ;-)

Actions #18

Updated by Franz Holzinger over 16 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

Actions #19

Updated by Franz Holzinger over 15 years ago

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

Actions #20

Updated by Jonas Felix over 15 years ago

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

Actions #21

Updated by Sascha Egerer about 15 years ago

Any progress?

Actions #22

Updated by Oliver Hader almost 15 years ago

Is this still valid?!

Actions #23

Updated by Oliver Hader almost 15 years ago

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

Actions #24

Updated by Michael Hirdes over 14 years ago

reopened by request of franz H.

Actions #25

Updated by Xavier Perseguers about 14 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... :-)

Actions #26

Updated by Steffen Kamper about 14 years ago

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

Actions #27

Updated by Steffen Kamper about 14 years ago

committed to trunk rev 6874

Actions #28

Updated by Susanne Moog about 13 years ago

  • Target version deleted (4.4.0)
Actions

Also available in: Atom PDF