• 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  [ 4 posts ] 
Author Message
 Post subject: Ako získam url adresu aktuálnej stránky?
PostPosted: Thu Jun 26, 2014 10:37 pm 
Offline
Forum Members
Forum Members

Joined: Wed Mar 16, 2011 9:13 am
Posts: 206
Ahojte

Ako získam url adresu aktualnej stránky? napr. som na stránke http://www.priklad.sk/kontakt a v kode chcem pouzit toto teda http://www.priklad.sk/kontakt ako to získam? skusal som {page_url} ale to nefunguje


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Ako získam url adresu aktuálnej stránky?
PostPosted: Fri Jun 27, 2014 4:23 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Oct 10, 2006 5:00 pm
Posts: 448
Location: Bratislava
Joseph777 \Joseph777:
Ahojte

Ako získam url adresu aktualnej stránky? napr. som na stránke http://www.priklad.sk/kontakt a v kode chcem pouzit toto teda http://www.priklad.sk/kontakt ako to získam? skusal som {page_url} ale to nefunguje


{cms_selflink href=$page_alias}

alebo v pripade ze mas nainstalovane CGExtensions

{cget_current_url}


Last edited by kuzmany on Fri Jun 27, 2014 4:29 pm, edited 1 time in total.

Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Ako získam url adresu aktuálnej stránky?
PostPosted: Fri Jun 27, 2014 1:23 pm 
Offline
Forum Members
Forum Members

Joined: Wed Mar 16, 2011 9:13 am
Posts: 206
kuzmany \kuzmany:
{cms_selflink href=$page_alias}

alebo v pripade ze mas nainstalovane CGExtensions

{cge_current_url}


diky,, pouzil som to CG ale asi sa zmenil kod a funguje len
\$1:
{get_current_url}


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Ako získam url adresu aktuálnej stránky?
PostPosted: Fri Jun 27, 2014 4:30 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Oct 10, 2006 5:00 pm
Posts: 448
Location: Bratislava
Yo, pisal som z hlavy, zlu syntax :(


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  [ 4 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:  
Hosting Nation - Managed CMSMS Hosting