Search found 44 matches

by cve
Wed May 01, 2013 8:58 am
Forum: The Lounge
Topic: [SOLVED] Where can I show registered FrontendUsers fields?
Replies: 3
Views: 1522

Re: Where can I show registered FrontendUsers fields values?

Thaks, for very useful answer, but it seems like this module shows this fields on frontend, but I mean some "administration" functionality, where can I manage users and its fields.
by cve
Tue Apr 30, 2013 5:32 pm
Forum: The Lounge
Topic: [SOLVED] Where can I show registered FrontendUsers fields?
Replies: 3
Views: 1522

[SOLVED] Where can I show registered FrontendUsers fields?

Hi, I want to use FrontendUsers module in my site, so I was setup the FrontendUsers module and add some groups and associate some fields. Then simple test it, and register a few of fake users. Simply works. The problem is where can I show these registered users fields values? Could someone help me t...
by cve
Tue Apr 09, 2013 7:56 pm
Forum: Developers Discussion
Topic: Strange problem with pretty urls in module
Replies: 4
Views: 3430

Re: Strange problem with pretty urls in module

Ok, the problem is my fault. But is there a way to prevent showing returnid param in the pretty url in cmsms?
by cve
Tue Apr 09, 2013 6:41 pm
Forum: Developers Discussion
Topic: Strange problem with pretty urls in module
Replies: 4
Views: 3430

Re: Strange problem with pretty urls in module

Thanks for your reply but the returnid is present in the url, the value of that is "57"
by cve
Tue Apr 09, 2013 9:18 am
Forum: Developers Discussion
Topic: Strange problem with pretty urls in module
Replies: 4
Views: 3430

Strange problem with pretty urls in module

Hi, I'm working on module, which purpose is manage recipes. I want to use pretty url's of course. For showing detail of recipe I want to use the url looks like "/recipe/the-title-of-recipe". My question is how to achieve this kind of url in my module? I'm research the knowledge of that in ...
by cve
Thu Feb 28, 2013 9:31 am
Forum: Developers Discussion
Topic: [SOLVED] How to return application/json from module
Replies: 3
Views: 5070

[SOLVED] How to return application/json from module

I want to return clean json response from my module action on the frontend for process it by backbonejs or jquery, my question is how can I do it? In my module directory named Recipes I have file: action.get_recipes.php which contains this: <?php if (!isset($gCms)) exit; $recipesPerPage = $this->Get...
by cve
Sat Jan 12, 2013 11:56 pm
Forum: Developers Discussion
Topic: How to make dynamic pretty urls
Replies: 2
Views: 3769

Re: How to make dynamic pretty urls

I just solved the problem with add new page (hidden in menu) that is the target for my "category_details" action, and fetch the content id of that for for sets it to "returnid" of my categories routes... and it works, but I think this is not elegant solution...
by cve
Sat Jan 12, 2013 5:41 pm
Forum: Developers Discussion
Topic: How to make dynamic pretty urls
Replies: 2
Views: 3769

How to make dynamic pretty urls

My module has categories and products. I want to have pretty links everywhere. I want to show details of each category, so I've made action.categories_list.php file which content is below: <?php /* @var $cms Shop */ $cms = $this; $templateName = !empty($params['template']) ? $params['template'] : nu...
by cve
Fri Nov 09, 2012 11:26 pm
Forum: Developers Discussion
Topic: How to show 404 Page from module's action
Replies: 4
Views: 2959

Re: How to show 404 Page from module's action

My module must working on version 1.10.3, otherwise the upgrade to 1.11 is not that simple, cause many "standard" modules was not upgraded and are broken with 1.11 version...
by cve
Fri Nov 09, 2012 10:23 pm
Forum: Developers Discussion
Topic: How to show 404 Page from module's action
Replies: 4
Views: 2959

Re: How to show 404 Page from module's action

great... but what about versions prior to 1.11?
by cve
Fri Nov 09, 2012 8:55 pm
Forum: Developers Discussion
Topic: How to show 404 Page from module's action
Replies: 4
Views: 2959

How to show 404 Page from module's action

Hi, I want to know how can I show 404 page to the user when in my frontend action of module e.x. action.order.php goes wrong ???
by cve
Thu Nov 01, 2012 6:58 am
Forum: Developers Discussion
Topic: How to redirect for frontend in pretty URL
Replies: 0
Views: 1653

How to redirect for frontend in pretty URL

Hi, i am develop a module which has a cart. After "add_to_cart" action I want to redirect user to the "/cart" url and not for "/cart/?mact=Shop,mc9ac6,cart,1&mc9ac6returnid=59" how to do this with RedirectForFrontend or whatever?
by cve
Wed Oct 03, 2012 5:39 pm
Forum: Developers Discussion
Topic: Is there any event when user copy the page?
Replies: 2
Views: 2292

Is there any event when user copy the page?

Hi, i'm working on a module, and i need run some kind of code when user copy the page in cms made simple... Is there any event when this action is runing?
by cve
Sun Aug 12, 2012 9:46 pm
Forum: Developers Discussion
Topic: Uploadify + my module = uploading files redirect to login...
Replies: 3
Views: 3286

Re: Uploadify + my module = uploading files redirect to logi

Any suggestions??? Today I've tried with any combinations of CreateLink method with inline argument to true or CreateFrontendLink, but the result is the same as above...
by cve
Sat Aug 11, 2012 6:36 am
Forum: Developers Discussion
Topic: Uploadify + my module = uploading files redirect to login...
Replies: 3
Views: 3286

Re: Uploadify + my module = uploading files redirect to logi

$this->smarty->assign('uploader_script', $this->CreateLink($id, 'uploader', $returnid='', $contents='', array('disable_theme'=>'true','showtemplate'=>'false'), $warn_message='', $onlyhref=true, $inline=false, $addttext='', $targetcontentonly=false, $prettyurl='')); this is link for admin section

Go to advanced search