• Page 1 of 1
  • 1
Forum moderator: bigblog  
Referrer
NormalX
Posts: 94
Reputation: 7

Message # 1 | 1:11 AM
Hi,

Is there a way to display content based on referrer URL,

For example, after Paypal purchase completion redirects to the website, it displays content, and when direct typing the URL would not
Sunny
Posts: 9296
Reputation: 456

Message # 2 | 12:44 PM
NormalX, it is not possible with the standard system tools.
I'm not active on the forum anymore. Please contact other forum staff.
NormalX
Posts: 94
Reputation: 7

Message # 3 | 3:29 PM
any hint???
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 4 | 3:21 AM
NormalX, generally that form of dynamic processing requires server side scripting. An alternative may be using a client side language such as JavaScript, however, that is not a reliable method most of the time and prone to security flaws if dealing with variable based content access.
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
NormalX
Posts: 94
Reputation: 7

Message # 5 | 3:59 AM
Thanks Paradox, and Sunny, for replies...

Is there any other solution to this kind of situation (beside detecting referrer URL)

and also does if statement works with custom code, i.e <?if(javascript:history.go(-1)=='link')?>View<?else?>NULL<?endif?>
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 6 | 4:17 AM
NormalX, uCoz conditional statements will only work with uCoz operators. You need to write your own full custom script if you want to achieve what you have outlined. As far as I am aware, no, there is no other way to achieve this.
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
  • Page 1 of 1
  • 1
Search: