Search found 8 matches

by pistols
Wed Jul 23, 2014 7:25 am
Forum: Modules/Add-Ons
Topic: Products module - default hierarchy to show
Replies: 2
Views: 1295

Re: Products module - default hierarchy to show

Hello Paul, thank you for your reply. I did fiddle with it before posting, but my problem was that it did not show the category set as default. In other words it didn't reflect that active hierarchy item in my hierarchy report template. The $active_hierarchy is empty, but it should have the order nu...
by pistols
Tue Jul 22, 2014 5:42 pm
Forum: Modules/Add-Ons
Topic: Products module - default hierarchy to show
Replies: 2
Views: 1295

Products module - default hierarchy to show

Hello There, I have a problem with the Products module I cannot solve. I have a single level hierarchy. 1. fruits 2. vegetables 3. sauce I have a page called "My offer" that pages content is {Products} Now If I click on my main menu on "My offer" I get a list out of all products ...
by pistols
Thu Dec 26, 2013 4:22 pm
Forum: CMSMS Core
Topic: has children
Replies: 1
Views: 1220

has children

Hello there, can i have an actually simple question? I need to show a page in a different style if a page has siblings. something like <div id="{if pageHasChildren eq '1'}Complex{else}Simple{/if}"> </div> what is the best way to find out if a page has underpages in a template? and a bonus ...
by pistols
Mon Jan 28, 2013 8:05 pm
Forum: CMSMS Core
Topic: call a module via udt
Replies: 3
Views: 1313

Re: call a module via udt

Hello Rolf,

Well the main reason is because the logic behind finding that image file is a little bit more complicated. Currently i have a solution similar to the one you are suggesting, but i would like to call only my udt in the template.

Nikolas
by pistols
Mon Jan 28, 2013 10:14 am
Forum: CMSMS Core
Topic: call a module via udt
Replies: 3
Views: 1313

call a module via udt

Hello There, I would like to encapsulate some logic into udt. so I can keep a simple template. I have a condition. If the condition is true I want to show an image If not i want to show a module (showtime) So i have this $gCms = cmsms(); $contentops = $gCms->GetContentOperations(); $content_obj = $c...
by pistols
Sat Aug 23, 2008 6:24 pm
Forum: Modules/Add-Ons
Topic: dynamic template by menu item
Replies: 1
Views: 1051

dynamic template by menu item

I am building a multi lingua website and i need a little bit of help. My plan is to change the content_blocks of each language in the template dynamicaly... I want to use only one template which will have inside codes like this ... .... {global_content name='footer'} ..... Now i need to write to the...
by pistols
Wed Jun 18, 2008 11:45 am
Forum: The Lounge
Topic: howto rewrite www.domain.com to www.domain.com/some-mod-rewriten-page
Replies: 3
Views: 3342

Re: howto rewrite www.domain.com to www.domain.com/some-mod-rewriten-page

ok thank's for the links, i will update to 1.1.3 as soon as possible
Nick
by pistols
Tue Jun 17, 2008 8:44 am
Forum: The Lounge
Topic: howto rewrite www.domain.com to www.domain.com/some-mod-rewriten-page
Replies: 3
Views: 3342

howto rewrite www.domain.com to www.domain.com/some-mod-rewriten-page

Hello there i have a small problem mod_rewrite. I need to make the following work: When some user enters the www.domain.com into the browsers url bar the domain is rewriten to www.domain.com/some-mod-rewriten-page i am currently using cmsms 1.1.2 on an apache 1.3.34 I guess it has to do something wi...

Go to advanced search