Search found 17 matches
- Mon Nov 05, 2012 2:07 pm
- Forum: Modules/Add-Ons
- Topic: setting the module language for SelfRegistration
- Replies: 1
- Views: 873
setting the module language for SelfRegistration
Hello, I am using the SelfRegistration module in a multilingual site. I have overriden the language strings in the /module_custom/SelfRegistration/lang directory in order to achive multi-language support but the module seems not to use them unless i use the deprecated lang parameter like this: {cms_...
- Wed Sep 19, 2012 7:59 pm
- Forum: Modules/Add-Ons
- Topic: [SOLVED] Add thumbnail pic for Products Summary display
- Replies: 2
- Views: 1357
Re: Add thumbnail pic for Products Summary display
Add an image field in the field definition of your products and then use CGSmartImage module to display it as thumbnail. For instance, if your field is named thumb_image, your product summary template may look like this: ... {assign var="image_path" value="uploads/Products/product_&qu...
- Wed Sep 19, 2012 1:21 pm
- Forum: Developers Discussion
- Topic: returning data from custom module through Smarty
- Replies: 0
- Views: 1830
returning data from custom module through Smarty
Hello, I am working on an custom module that adds some functionality to Products. I have written an action that retrieves some product ids and returns them as an array variable to the calling template through Smarty. The name of the array variable is passed through the 'assign' module parameter. The...
- Sat Sep 15, 2012 8:53 am
- Forum: Modules/Add-Ons
- Topic: how to customize css in the Products admin
- Replies: 0
- Views: 968
how to customize css in the Products admin
Hello, I am trying to customize the administration interface of the Products module. I have create the module_custom/Products/templates directory and have succesfully overriden the editproduct.tpl. I would also like to add some css classes and styles when displaying some fields but i want to avoid u...
- Sat Sep 08, 2012 8:21 am
- Forum: Modules/Add-Ons
- Topic: custom content blocks not showing in admin
- Replies: 3
- Views: 1344
Re: custom content blocks not showing in admin
It was already installed as a dependency for other modules. I also had some problems with "oneline" parameter of the core function so i gave it a shot.
thanks anyway
P.S. do you think i should look into the issue further and post it to the bug tracker?
thanks anyway
P.S. do you think i should look into the issue further and post it to the bug tracker?
- Fri Sep 07, 2012 9:08 am
- Forum: Modules/Add-Ons
- Topic: custom content blocks not showing in admin
- Replies: 3
- Views: 1344
custom content blocks not showing in admin
Hello, I am trying to use custom content blocks from CGContentUtils module. So, i created a block named 'intro'. The smarty code generated for it was: {content_module module='CGContentUtils' block='intro_content' name='intro_content' label='Intro'} I copied the code above in a Layout Template and i ...
- Fri Aug 24, 2012 1:59 pm
- Forum: [locked] Installation, Setup and Upgrade
- Topic: CMSMS 1.11 - Galapagos
- Replies: 92
- Views: 66577
Re: CMSMS 1.11 - Galapagos
I came accross the same "capture_error" in a Products summary template. I tried succesfully to reproduce the problem in a simple page. Here is the code that causes the error: {assign var="page_numbers" value="1"|range:"4"} {foreach from=$page_numbers item=num}...
- Tue Jul 10, 2012 3:26 pm
- Forum: Modules/Add-Ons
- Topic: DestinationBasedShipping error
- Replies: 1
- Views: 938
[SOLVED] Re: DestinationBasedShipping error
oops, it looks like there is a solution i didn't notice previously:
http://forum.cmsmadesimple.org/viewtopic.php?t=48616
http://forum.cmsmadesimple.org/viewtopic.php?t=48616
- Mon Jul 02, 2012 10:43 am
- Forum: Modules/Add-Ons
- Topic: DestinationBasedShipping error
- Replies: 1
- Views: 938
DestinationBasedShipping error
Hello, I am running CMSMS version 1.10.3 and have installed DestinationBasedShiping module version 1.1. In the defaultadmin action an empty screen appeared. When i turned on the debug the following error message came up: Fatal error: Call to undefined method DestinationBasedShipping::ArrayToObject()...
- Wed May 30, 2012 2:27 pm
- Forum: Modules/Add-Ons
- Topic: MyFavorites collision with Products - TIP
- Replies: 0
- Views: 617
MyFavorites collision with Products - TIP
In case anyone tries to use My Favorites module to mark Products, the following issue may come up: If {MyFavorites srcmodule="Products" srcrecord=$entry->id} is used inside a product details template a 'smarty namespace' variable collision seems to occur. The variable '$category' is produc...
- Tue Apr 10, 2012 1:43 pm
- Forum: Modules/Add-Ons
- Topic: Preserve language while browsing products
- Replies: 4
- Views: 1458
Re: Preserve language while browsing products
![Shocked :o](./images/smilies/shocked.gif)
That explains a lot, in particular using $smarty.get variable. So, one can easily pass normal parameters to the url and access them through $smarty.get."paramname" in the page templates.
You've been most helpful. Thanks.
- Sun Apr 08, 2012 5:22 pm
- Forum: Modules/Add-Ons
- Topic: Preserve language while browsing products
- Replies: 4
- Views: 1458
Re: Preserve language while browsing products
I appended the following ?cntnt01lang=en_US and it worked. I had to add the 'cntnt01' first. The only problem is that it makes 'pretty' urls kind of 'uglier'. I hope it has no effect on SEO and site crawling. About the second solution, even if the language is saved in the session, how is it applied ...
- Sat Apr 07, 2012 4:48 pm
- Forum: Modules/Add-Ons
- Topic: Preserve language while browsing products
- Replies: 4
- Views: 1458
Preserve language while browsing products
Hi, I am using the Products module in a multilingual e-shop like site. I 've also enabled pretty urls. Each page exists in all languages and the active language is determined from the first component of the url. If for instance it starts with 'en', the english language is used. I am using {$cgsimple...
- Wed Mar 28, 2012 10:19 am
- Forum: Modules/Add-Ons
- Topic: Language setting in Orders module
- Replies: 2
- Views: 1083
Re: Language setting in Orders module
Makes perfect sense. Thanks!
- Mon Mar 26, 2012 9:42 am
- Forum: Modules/Add-Ons
- Topic: Language setting in Orders module
- Replies: 2
- Views: 1083
Language setting in Orders module
Hello, I am using Orders module for order management in an e-shop site. I included the module in a checkout page (actually two, one for each language supported) like this: ... {if $ccuser->loggedin()} {Orders lang=$lang} {else} ... $lang contains a locale string like "en_US" or "el_GR...