• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: CGSimpleSmarty get_page_content nerenderuje obsah
PostPosted: Fri Mar 15, 2013 10:22 am 
Offline
Forum Members
Forum Members

Joined: Mon Nov 15, 2010 11:01 pm
Posts: 16
Potreboval bych v sablone zobrazit rodicovskou stranku, coz lze snadno dosahnout pomoci SGSimpleSmarty:

{cgsimple::get_page_content(cgsimple::get_parent_alias())}

Problem, ale je, ze pokud je v rodicovske strance nejaky obsah ve slozenych zavorkach, tak se mi "nevyrenderuje".

Tj. misto menu vyrenderovaneho menu se mi zobrazi "zdrojovy kod":
{menu start_level='4' number_of_levels='1' loadprops=0}

Ja, ale potrebuji zobrazit:
menu-polozka1
menu-polozka2
menu-polozka3
...


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CGSimpleSmarty get_page_content nerenderuje obsah
PostPosted: Wed Mar 20, 2013 11:50 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Oct 10, 2006 5:00 pm
Posts: 448
Location: Bratislava
{eval var=$cgsimple::get_page_content($cgsimple::get_parent_alias())}

Viac v dokumentacii: http://www.smarty.net/docs/en/language. ... n.eval.tpl


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CGSimpleSmarty get_page_content nerenderuje obsah
PostPosted: Thu Mar 21, 2013 12:44 am 
Offline
Forum Members
Forum Members

Joined: Mon Nov 15, 2010 11:01 pm
Posts: 16
Diky, jak genialne jednoduche!


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting