Search found 11 matches
- Thu Apr 12, 2012 4:14 pm
- Forum: [locked] Installation, Setup and Upgrade
- Topic: {content} not replaced with search result
- Replies: 2
- Views: 1365
Re: {content} not replaced with search result
Well, I am pretty aware of which version of cmcs is the recent one, I had no influence on picking the version of cmsms which is used. My task is just to make work the search module on a site which is already running for some time. I was just asking you for any hints where to start debugging. I will ...
- Thu Apr 12, 2012 3:11 pm
- Forum: [locked] Installation, Setup and Upgrade
- Topic: {content} not replaced with search result
- Replies: 2
- Views: 1365
{content} not replaced with search result
Hey guys, I am cracking my head with the following problem. I have an cmsms 1.9.4.3 site. When I add the search module to the template, the search input displays OK, but when I submit the search button, the search result does not show up at all, even the url seems to be OK: ?mact=Search%252Ccntnt01%...
- Mon Mar 26, 2012 10:43 pm
- Forum: Developers Discussion
- Topic: [SOLVED] How to change template while RegisterRoute?
- Replies: 11
- Views: 5128
Re: How to change template while RegisterRoute?
Since now I am using process template method to display module content (if it were that one you were trying to hint me). My aim is to be able to display another layout template. Were you suggesting to use this method to use the layout template?
- Mon Mar 26, 2012 8:19 pm
- Forum: Developers Discussion
- Topic: [SOLVED] How to change template while RegisterRoute?
- Replies: 11
- Views: 5128
Re: How to change template while RegisterRoute?
Hi, I am experiencing the same problem. When I open the link registered in the module's registerRoute method, the new page uses template which is set for homepage . I cannot understand this behaviour, I would like to set another layout template for the page. But obviously I am missing something...th...
- Sat Mar 17, 2012 10:55 am
- Forum: Developers Discussion
- Topic: [Solved] Place module link in top menu in admin
- Replies: 2
- Views: 2073
Re: [Solved] Place module link in top menu in admin
OK, thanks...
- Fri Mar 16, 2012 9:37 pm
- Forum: Developers Discussion
- Topic: [Solved] Place module link in top menu in admin
- Replies: 2
- Views: 2073
[Solved] Place module link in top menu in admin
Hey guys, this question probably has an obvious answer. Is it possible to place my own module in the top menu section in admin? E.g. next to Content at the same level. Probably no, right? :-) API is clear - there is no such option ( http://www.cmsmadesimple.org/apidoc/CMS/CMSModule.html#methodGetAdm...
- Fri Mar 16, 2012 9:31 pm
- Forum: Developers Discussion
- Topic: How do I not replace the {Content} with the results of a mod
- Replies: 3
- Views: 2219
Re: How do I not replace the {Content} with the results of a
That's weird...
here is the code I use to start a form:
and in the template i just call the plugin...and it works.
What is your way to start the form and to include the plugin in the page?
here is the code I use to start a form:
Code: Select all
$smarty->assign('startform', $this->CreateFormStart($id, 'default', $returnid, 'post', null, true));
What is your way to start the form and to include the plugin in the page?
- Fri Mar 09, 2012 5:53 pm
- Forum: Developers Discussion
- Topic: How do I not replace the {Content} with the results of a mod
- Replies: 3
- Views: 2219
Re: How do I not replace the {Content} with the results of a
Hi,
method createFormStart which I assume you are using to create the form, has optional parameter inline which says whether to display the result of the submitted form in the {content} tag or in itself.
You can find the method in the class.CMSModule.php in lib directory.
I hope this helps.
method createFormStart which I assume you are using to create the form, has optional parameter inline which says whether to display the result of the submitted form in the {content} tag or in itself.
You can find the method in the class.CMSModule.php in lib directory.
I hope this helps.
- Thu Mar 08, 2012 11:26 pm
- Forum: Czech/Slovak - Česky/Slovensky
- Topic: ako urobit tuto podmienku
- Replies: 4
- Views: 2932
Re: ako urobit tuto podmienku
zdravim ako urobim podmienku aby sa zobrazilo nieco a mam na nu tieto 2 poziadavky: - title_2, name_2 a link_2 musi byt vzdy vyplnene aby sa zobrazilo nieco (toto viem-robi sa s and ako som nizsie uviedol) - s tymto mam problem - chcem aby sa zobrazilo nieco ked je zadana aspon jedna z hodnot $desc...
- Thu Mar 08, 2012 11:25 pm
- Forum: Czech/Slovak - Česky/Slovensky
- Topic: ako urobit tuto podmienku
- Replies: 4
- Views: 2932
Re: ako urobit tuto podmienku
Co takhle? Šlo by to?
Code: Select all
{if $title_2 and $name_2 and $link_2}
{if $description_2_1 or $description_2_2 or $description_2_3$description_2_1 or $description_2_2 or $description_2_3}
nieco
{/if}
{/if}
- Thu Mar 08, 2012 11:24 pm
- Forum: Czech/Slovak - Česky/Slovensky
- Topic: ako urobit tuto podmienku
- Replies: 4
- Views: 2932
Re: ako urobit tuto podmienku
Ahoj, pokud to dobře chápu, tak místo operátorů and bude stačit použít operátory or a vytvořit vnořenou podmínku. Něco se dá najít zde: http://www.smarty.net/docsv2/en/language.function.if Co tedy takhle? {if $title_2 and $name_2 and $link_2} {if $description_2_1 or $description_2_2 or $description_...