Show Different Items to Logged and Non-Logged Users in Wapka/Wapka code


in this instructional exercise, I will show you to include content, connections, pictures and numerous other stuff unmistakable to logged or non-logged clients in wapka. Thus, if client is signed in He/She will see welcome client and on the off chance that he is not logged, will see enroll

This instructional exercise is meant to show amateurs the capacity of enrollment in wapka. Along these lines, after this instructional exercise beginners will have the capacity to conceal connections and more from non-logged clients and furthermore non-logged clients can just observe stuff/content for them.
Give me a chance to clarify it with a case. You needed to indicate login, enroll joins with "Welcome to the site Guest" to non-legged client however not to logged ones. Correspondingly, you needed to demonstrate the content "Welcome back UserName" with logout and profile connect to the logged client however not to the non-logged client in wapka.


In the event that case fits your need then you are at perfect place for the instructional exercise to accomplish something like the case in wapka. Let do it in minutes. :)
Take after the accompanying strides.
Login to your free wapka account.
In wapka international ID page, tap on SiteURL under "Site List" where you wanna include this usefulness.


Presently in next page, click "Administrator Mode" and goto administrator method of your site.
Make New Page by means of ES > New Page > Name it "Client Test" > click submit catch toward the finish of frame to include the page.
Open the made page in step 4, and include do the accompanying strides in this wapka page.
Goto ES > WML/XHTML code > do the accompanying strides on the showed frame.
In first textbox, include the accompanying code


Welcome Guest, <a href=":url-site-XXX:">Login</a> or <a href=":url-reg:">Create Account</a><br><br><br>




Show this code in: abandon it as it seems to be.
Adjust: set its arrangement, I like to set right.
Show after submit: Leave it as it is
Place WML code before: Select position of the code from as of now included things.
WAP2 style class: Whatever CSS class you wanna utilize.
Join this thing with past: If its checked, <div> labels outside of thing will be expelled.


Thing will be unmistakable for: Now in this alternative select Non-logged clients.
Snap submit to include the content and connections.
Goto ES > WML/XHTML code > do the means 5.1.1 to 5.1.9 however in step 5.1.1 we have included the content and connections for the non-logged clients, now this time we will include content and connections for the logged client. in step 5.1.1 rather than that content include this one.


Welcome user, <a href=":url-usr-logout:">LogOut</a> | <a href=":url-usr-myprofile:">Profile</a>


That is it, we have included the content for logged and non-logged clients.
Presently, after this instructional exercise beginners in wapka ought to have the capacity to compose/include distinctive content and things for logged and non-logged clients effortlessly and control. :)


Much obliged to you for perusing this instructional exercise, we include instructional exercise frequently, stay with us to get most for PHP, HTML, JAVASCRIPT, CSS, Wapka.Mobi and comparative programming dialects and CMS.

ads here