Capture.jpg

wszystkie dane są prawidłowo tak naprawdę, tagi dwa dodałem i mam 2x tag id, jeśli próbuję zrobić var+dump($this->getError()); dostaję false że nie ma errorów, sorry za takie małe zdjęcie


dodam jeszcze jakie dane są dodane do tabeli content_types

type_alias
component.pathofcertification
table
{"special":{"dbtable":"#__component_path_of_certif ication","key":"id","type":"PathOfCertification"," prefix":"JTable","config":"array()", "common":{"dbtable":"#__ucm_content","key":"ucm_id ","type":"Corecontent","prefix":"JTable","config": "array()"}}

field_mappings
{"common":{"core_content_item_id":"id","core_title ":"name","core_state":"state","core_alias":"alias" ,"core_created_time":"created","core_modified_time ":"modified","core_body":"introtext", "core_hits":"hits","core_publish_up":"publish_up", "core_publish_down":"publish_down","core_access":" access", "core_params":"attribs", "core_featured":"featured", "core_metadata":"metadata", "core_language":"language", "core_images":"images", "core_urls":"urls", "core_version":"version", "core_ordering":"ordering", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"catid", "core_xreference":"xreference", "asset_id":"asset_id"}, "special":{"fulltext":"fulltext"}}

w pliku table w konstruktorze dodałem
Kod PHP:
JTableObserverTags::createObserver($this, array('typeAlias' => 'component.pathofcertification')); 

w modelu w get item dodałem
Kod PHP:
if (!empty($item->id))
{
    
$item->tags = new JHelperTags;
    
$item->tags->getTagIds($item->id'component.pathofcertification');

w widoku w pliku view niezależnie od tego czy dodam
Kod PHP:
$this->form->setValue('tags'null$tagsHelper->getTagIds$this->item->id'compoennt.pathofcertification') ); 


to i tak nie działa

struktura tabeli pathofcertification

CREATE TABLE #__component_path_of_certification (
id serial NOT NULL PRIMARY KEY,
product_id bigint NOT NULL UNIQUE REFERENCES #__component_product (product_id) ON DELETE CASCADE ON UPDATE CASCADE,
published SMALLINT NOT NULL DEFAULT 1,
old_price INT DEFAULT NULL,
new_price INT NOT NULL DEFAULT 0
);