Search found 16 matches

by ivanshum
Thu Sep 10, 2015 12:58 pm
Forum: The Lounge
Topic: Generate url parametr for all news
Replies: 1
Views: 976

Generate url parametr for all news

Hi all, i need help with News module. I need setup a url parameter of each post in News module by template. For example: now my url - .../news/12/12/la-la-la.html I want to - .../news/la-la-la.html for news categoty and - .../notes/la-la-la.html for my notes category and for any other category - ......
by ivanshum
Tue Oct 29, 2013 7:41 am
Forum: Russian - русский
Topic: Помагите с шаблоном 2!!!
Replies: 5
Views: 2583

Re: Помагите с шаблоном 2!!!

куда и что написать что бы при клике мышью по логотипу сайт возвращался на главную страницу. Для этого в шаблоне (не в CSS) нужно найти div с id "header" в нем тег "h1" , а в нем тег "a" и собственно в href пишите адрес сайта. Желательно конечно дать тегу "а"...
by ivanshum
Tue Jul 02, 2013 12:52 pm
Forum: Modules/Add-Ons
Topic: [solved]How to create custom property type for FEU?
Replies: 4
Views: 1707

Re: How to create custom property type for FEU?

Why i don't think about this way? :) Thanks.
by ivanshum
Tue Jul 02, 2013 12:18 pm
Forum: Modules/Add-Ons
Topic: [solved]How to create custom property type for FEU?
Replies: 4
Views: 1707

Re: How to create custom property type for FEU?

No, I need to store an unlimited number of phone numbers. From the user, it looks like some fields under each number. But they should be stored in a single text field using a separator. Because I need to validate each phone number and a storage format is required for compatibility with other module ...
by ivanshum
Mon Jul 01, 2013 10:47 am
Forum: Modules/Add-Ons
Topic: [solved]How to create custom property type for FEU?
Replies: 4
Views: 1707

[solved]How to create custom property type for FEU?

Hi, All. I need a property that can be only editable from admin side and stored in database. I can't use hidden field type becose user can change the value by editing page code. But i need save hidden type becose standart functionality needed too.
by ivanshum
Thu Feb 28, 2013 9:32 am
Forum: Russian - русский
Topic: Как начать работу с Ajax?
Replies: 6
Views: 2760

Re: Как начать работу с Ajax?

Каких-то особых модулей не требуется. Достаточно подключить js библиотеку. На данный момент самый удобный варинт - jquery. Там копать в сторону следующих функций (Документация на оф сайте на англ. на русском ищите гуглом) jQuery.ajax() load() jQuery.get() jQuery.post() Также полезным будет изучить в...
by ivanshum
Thu Feb 28, 2013 8:55 am
Forum: Russian - русский
Topic: Как начать работу с Ajax?
Replies: 6
Views: 2760

Re: Как начать работу с Ajax?

Для каких целей собираетесь использовать ajax? На стороне пользователя или при разработке модуля с административным интерфейсом?
by ivanshum
Fri Feb 15, 2013 11:59 am
Forum: Developers Discussion
Topic: Using ajax in admin side from module
Replies: 5
Views: 6302

Re: Using ajax in admin side from module

By using {literal} doesn't solve this problem. And now it is not a problem, because DB API working fine. But some objects created by some functions (such as "CreateInputSubmit") not transformed by using jqueryui, which is why they do not look as should. --- of course {literal} need but not...
by ivanshum
Fri Feb 15, 2013 6:23 am
Forum: Developers Discussion
Topic: Using ajax in admin side from module
Replies: 5
Views: 6302

Re: Using ajax in admin side from module

it was problem with symbol "&" in link it is transforming to "&". I think admins can do some changes in create_url(). I solved problem by html_entity_decode().
by ivanshum
Thu Feb 14, 2013 7:55 am
Forum: Developers Discussion
Topic: Using ajax in admin side from module
Replies: 5
Views: 6302

Re: Using ajax in admin side from module

Don't work( If I use admin's theme as "default" or "NCleanGrey" . This script loads admin login page. If I use "OneEleven" not loading anything but it if using .live() instead of .click() This script loads admin login page too. full listing: action.defaultadmin.php <?ph...
by ivanshum
Wed Feb 13, 2013 11:22 am
Forum: Developers Discussion
Topic: Using ajax in admin side from module
Replies: 5
Views: 6302

Using ajax in admin side from module

Hi All, How I can use ajax(jquery) functions such as .load() .ajax() from admin side. I want to do next: When user click button programm open window with 1 input field and some unactive buttons. When input is filled programm check respone from db... I now that i can use standart php functional for c...
by ivanshum
Wed Jan 30, 2013 6:30 am
Forum: Developers Discussion
Topic: Task executed 3 times
Replies: 3
Views: 2924

Re: Task executed 3 times

1. What value return self::LASTEXECUTE_SITEPREF?
2. What code in other functions of task (on_success,on_failure)?
by ivanshum
Wed Jan 30, 2013 6:20 am
Forum: Developers Discussion
Topic: [SOLVED] Multiple notifications from custom module.
Replies: 2
Views: 2532

Re: Multiple notifications from custom module.

Thanks, it's work! Made Simple so simple) But I found a bug(?), Example: function GetNotificationOutput($priority = 3) { $sn = 20;//For test second notification $gCms = cmsms(); $db = $gCms->GetDb(); //First notification $results = $db->GetOne('select count(*) from '.cms_db_prefix().'module_paper_ca...
by ivanshum
Tue Jan 29, 2013 12:15 pm
Forum: Developers Discussion
Topic: [SOLVED] Multiple notifications from custom module.
Replies: 2
Views: 2532

[SOLVED] Multiple notifications from custom module.

Hi all, I create a module and need two different notifications from it. in <modulename>.module.php i write this code: function GetNotificationOutput($priority = 3) { $gCms = cmsms(); $db = $gCms->GetDb(); $results = $db->GetOne('select count(*) from '.cms_db_prefix().'module_<modulename>_calendar wh...
by ivanshum
Tue Jan 29, 2013 11:56 am
Forum: Russian - русский
Topic: Orders
Replies: 1
Views: 1422

Re: Orders

"A problem occurred when trying to retrieve pertinent information from the database. Perhapss you have waited too long to complete the order process. You should try starting the checkout process again." - Эта строчка и есть ответ на твой вопрос) Смысл такой - Проблема в получении данных из...

Go to advanced search