Search found 19 matches

by pustofkj
Mon Jan 09, 2012 1:22 pm
Forum: CMSMS Core
Topic: News parameter detailpage is not working
Replies: 8
Views: 2919

Re: News parameter detailpage is not working

Hi again, I solved my problem with adding a little code to method
by pustofkj
Fri Jan 06, 2012 10:04 am
Forum: CMSMS Core
Topic: News parameter detailpage is not working
Replies: 8
Views: 2919

Re: News parameter detailpage is not working

Hello again, I understand you. But once the possibility of setting URL is available, so I thought it should be possible to use it, shouldn't it? And it really is. News are displayed correctly, but inside the wrong parent page :( . Ultimately, you're probably right (it is not working correctly :( ), ...
by pustofkj
Thu Jan 05, 2012 1:02 pm
Forum: CMSMS Core
Topic: News parameter detailpage is not working
Replies: 8
Views: 2919

Re: News parameter detailpage is not working

So did I, but now my client wants more "pretty" urls ;) - without numbers -> just path with article title - and, you know, "The customer is always right" ;) ::)
by pustofkj
Thu Jan 05, 2012 8:17 am
Forum: CMSMS Core
Topic: News parameter detailpage is not working
Replies: 8
Views: 2919

Re: News parameter detailpage is not working

Yeah, of course, I meant page tree ;). I solved this problem, but I don't understand one thing. The problem was I had news URL set (because of seo, I thought). I filled: Title Category Summary Content URL When I delete URL of news, everything is correct and detail of my news is shown in correct page...
by pustofkj
Mon Jan 02, 2012 8:35 am
Forum: CMSMS Core
Topic: News parameter detailpage is not working
Replies: 8
Views: 2919

News parameter detailpage is not working

Hi all... happy new year everybody :) I have two type of news with the same summary and detail template (it means these have the same representation). But I need to show them in another leaf of my category tree because of $return_url variable and because of different submenu, which is shown in the l...
by pustofkj
Fri Dec 16, 2011 10:16 am
Forum: CMSMS Core
Topic: CMSMS variable gCms is not accessible from Smarty
Replies: 2
Views: 1292

Re: CMSMS variable gCms is not accessible from Smarty

I solved it with user defined tag. Thank you.
by pustofkj
Fri Dec 16, 2011 9:14 am
Forum: CMSMS Core
Topic: CMSMS variable gCms is not accessible from Smarty
Replies: 2
Views: 1292

CMSMS variable gCms is not accessible from Smarty

Hi, I think my Subject is saying everything. Here, in User Handbook is written that {$gCms} is available from smarty. So I can access anything of config file from smarty, can't I? But when I write {$gCms->config.root_path} in my template, I've got nothing. Because of it I tried to execute {$gCms|var...
by pustofkj
Thu Apr 28, 2011 7:52 am
Forum: Modules/Add-Ons
Topic: [SOLVED] Content Cache - doesn't update new data
Replies: 0
Views: 981

[SOLVED] Content Cache - doesn't update new data

Hello, I have quite wide tree of pages and I had to use Content Cache to speed up page loading. I installed it, in the template I added tags around the whole body </__body> {cache_cms tags="Content" current_url=1} this is my code before content {content} this is my code after content {/cac...
by pustofkj
Wed Apr 27, 2011 11:43 am
Forum: CMSMS Core
Topic: Self link inside user defined tag?
Replies: 3
Views: 1926

Re: Self link inside user defined tag?

Hi, you can use function smarty_cms_function_cms_selflink instead of {cms_selflink} call... as below:

Code: Select all

global $gCms;

$params = array('page' => 'my-page-alias', 'text' => 'Link to MY PAGE');  // possibly other parameters
echo smarty_cms_function_cms_selflink($params, $gCms->GetSmarty());
by pustofkj
Thu Apr 21, 2011 8:11 am
Forum: Modules/Add-Ons
Topic: Search in one branch of content tree
Replies: 0
Views: 513

Search in one branch of content tree

Hi all, I have multilanguage page structure: root - en - page 1 - page 2 - cz - page 1 - page 2 I'm using Search module to scanning the pages. I call it by this line of code: {search search_method="post" searchtext="search..."} The problem is that pages in czech subtree have alia...
by pustofkj
Thu Apr 21, 2011 7:47 am
Forum: Modules/Add-Ons
Topic: Number of pictures in subgalleries (Gallery module)
Replies: 2
Views: 1159

Number of pictures in subgalleries (Gallery module)

Hi all, I'd like to go through subgalleries of gallery and I'd like to get number of images in every subgallery. Is there any simple way to do? Here is my template code: <div class="gallery"> <ul> {foreach from=$images item=subgallery} <li> <a href="{$subgallery->file}" title=&qu...
by pustofkj
Thu Apr 14, 2011 6:07 am
Forum: Modules/Add-Ons
Topic: [SOLVED] Two same alias in whole hierarchy - seo urls
Replies: 7
Views: 2361

Re: Two same alias in whole hierarchy - seo urls

Yeah, I'm kind of blind :-[ ... thank you very much :-)
by pustofkj
Thu Apr 14, 2011 5:43 am
Forum: Modules/Add-Ons
Topic: [SOLVED] Two same alias in whole hierarchy - seo urls
Replies: 7
Views: 2361

[SOLVED] Two same alias in whole hierarchy - seo urls

Hi all, I'd like to seo addresses. In CMS Made Simple it's very easy to achieve with uncomplicated pages structure. But if you have hierarchy initiated below - or similar (two languages with the same subtree - czech and english - so you can follow english subtree): cz > hry - šachy - go > výsledky -...
by pustofkj
Thu Apr 14, 2011 5:10 am
Forum: Modules/Add-Ons
Topic: [SOLVED] $node->haschildren always return false
Replies: 6
Views: 1741

Re: [SOLVED] $node->haschildren always return false

Yeah, following code produces "- n":

Code: Select all

{if $node->haschildren == true}y{else}n{/if}
by pustofkj
Wed Apr 13, 2011 9:08 am
Forum: Modules/Add-Ons
Topic: [SOLVED] $node->haschildren always return false
Replies: 6
Views: 1741

Re: $node->haschildren always return false

Thank you, I solved it with user defined tag - it's not so comfort, but working ;-)

Go to advanced search