Ahoj, no po nainstalovani CMSMS mi pekne linky sli..Potom som nahodil MLE CMS na multilangue a tusim potom zmizi pekne linky...teraz presne nepamatam lebo nesustredil som sa na to len som to medzi casom zistil.
Potom som nasiel na nete to CGBlog, a tam pisali ze sa tam daju dat url adresi, co sa daju, no mne stale generuje vysledok takyto:
index.php?mact=CGBlog,cntnt01,detail,0&cntnt01articleid=1&cntnt01returnid=69
Teraz presne nevim, ktoru sablonu mas na mysli, posielam dve co by som tipoval ze asi potrebujes
Code: Select all
<!-- Start CGBlog Display Template -->
{if isset($error)}{cgerror}{$error}{/cgerror}{/if}
{if $pagecount > 1}
<p>
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
{$nextpage} {$lastpage}
{/if}
</p>
{/if}
{foreach from=$items item=entry}
<div class="CGBlogSummary">
{if $entry->postdate}
<div class="CGBlogSummaryPostdate">
{$entry->postdate|cms_date_format}
</div>
{/if}
<div class="CGBlogSummaryLink">
<a href="{$entry->detail_url}" title="{$entry->title|escape:htmlall}">{$entry->title|escape}</a>
</div>
{if $entry->categories}
<div class="CGBlogSummaryCategory">
{strip}{$category_label}
{foreach from=$entry->categories item='category'}
{$category.name}
{/foreach}
{/strip}
</div>
{/if}
{if $entry->author}
<div class="CGBlogSummaryAuthor">
{$author_label} {$entry->author}
</div>
{/if}
{if $entry->summary}
<div class="CGBlogSummarySummary">
{eval var=$entry->summary}
</div>
{else if $entry->content}
<div class="CGBlogSummaryContent">
{eval var=$entry->content}
</div>
{/if}
{if isset($entry->extra)}
<div class="CGBlogSummaryExtra">
{eval var=$entry->extra}
{* {cms_module module='Uploads' mode='simpleurl' upload_id=$entry->extravalue} *}
</div>
{/if}
{if isset($entry->fields)}
{foreach from=$entry->fields item='field'}
<div class="CGBlogSummaryField">
{if $field->type == 'file'}
<img src="{$entry->file_location}/{$field->value}"/>
{else}
{$field->name}: {eval var=$field->value}
{/if}
</div>
{/foreach}
{/if}
</div>
{/foreach}
<!-- End CGBlog Display Template -->
Code: Select all
{MleCMS action="init"}{process_pagedata}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<link rel="stylesheet" type="text/css" href="/include/css/default.css" />
<title>{sitename} - {title}</title>
{metadata}
</head>
</__body>
<div id="container">
<div id="center">
<div id="header">
<div class="logo"><a class="logo" href="/" title=""></a></div>
<div id="topmenu">
{menu loadprops=0 childrenof=$lang_parent lang=$lang_locale number_of_levels="1"}
</div>
</div><!--END HEADER DIV-->
<div class="slider"></div>
<div id="topcontent">
<div class="block_title">AKTUALITY</div>
<div class="site_title"><h1>{title}</h1></div>
<div class="lang_search"><a href="#">Slovensky</a><span> | </span><a href="#">English</a> <input type="text" class="input_search" border="none"><input type="submit" class="input_button" border="none"></div>
</div>
<div id="content">
<div id="left">
<div class="news">
{MleCMS name="snippet_novinky"}
</div>
</div>
<div id="page">
{CGBlog}
{content}
</div>
<div class="cleaner"></div>
</div><!--END CONTENT DIV-->
<div class="cleaner"></div>
</div> <!--END CENTER DIV-->
<div id="footer">
<div id="footercent">
<div id="foot">Copyright 2008-2011 Fundus.sk - Všetky práva vyhradené | Kontakt: info@fundus-sk.sk</div>
<div id="makedby"></div>
</div>
</div>
</div> <!--END CONTAINER DIV-->
<__body>
</__html>
Diky
