Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавить поддержку собственных таблиц из migx #8

Open
manicko opened this issue Oct 4, 2013 · 0 comments

Comments

@manicko
Copy link
Contributor

manicko commented Oct 4, 2013

В сущности Modxtalks работает на страницах товаров из собственных таблиц. Причем $id правильно генерится.
Единственная проблема, что не работает генерация ссылок на эти товары в админке.

Это связано вот с этой строкой:
if ($this->modx->getCount('modResources',$id)) {
$objectArray['link'] = $this->modx->makeUrl($id);
}
в core/components/modxtalks/processors/mgr/conversations/getlist.class.php

Дело в том, что modx->getCount('modResources) и $this->modx->makeUrl($id) не будет работать для своих таблиц. Достаточно просто добавить возможность добавлять пакет к Modxtalks и свою схему генерации ссылок.

А вообще спасибо вам громадное!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant