Forums  ›  General  ›  General discussions
 

subheader javascript variable

i have no clue as to why it is not working. i am going to start from scratch and redo the whole server.

 


here is a link to the webpage so you can see exactly what i am referring to.

http://voicerecords.cf/index.php?skin=dad


And this site as of today is still not accessible.

I can see it.

Tutorial Republics looks a lot like W3 Schools:

https://www.w3schools.com/php/php_cookies.asp

~~~~~~~~~~~~~~~~~~~~~~
Michel - Meta-Travel.com
~~~~~~~~~~~~~~~~~~~~~~

TravelNotes.org - The Online Guide to Travel

something is going on and i am not sure yet. i will check it out in the morning. but, i realized that i was looking at this the wrong way. i got it figured out.

It's not working for me either.

 

Googles public dns servers has the proper ip, but most dns servers such as the comcast ones i am using does not yet.

The domain has not been in the DNS system long enough for the entire world to see it yet, or the recent change you made has not. So we will have to wait a while before we can check out the site.

 i hate propogation. i do know it is working though. i tested on my cell phone using my data plan and it showed up. but yeah - just gotta wait for the rest of the world to catch up. lol.

Googles public dns servers has the proper ip, but most dns servers such as the comcast ones i am using does not yet.

The domain has not been in the DNS system long enough for the entire world to see it yet, or the recent change you made has not. So we will have to wait a while before we can check out the site.

sorry folks. i assumed that it was visible to the world but didnt realize that i had set the local ip for the site instead of the public ip. it should be working now - hopefully.

I have not been able to reach the site either.

it is accessible to the world but our internet has been acting up today  try again

 

here is a link to the webpage so you can see exactly what i am referring to

 I couldn't reach the site; is it accessible from the world?

It has been awhile since I worked with templates.

Here is a link to working with cookies in php. https://www.tutorialrepublic.com/php-tutorial/php-cookies.php

I am guessing that you would use a ch_if in your template?

basically - for this template - i am getting rid of the service menu as it is now and using a different box with some jquery. as with the old service menu the dropdown list changes depending on if you are logged in or not. i need to keep that same functionality, but i dont know how to pull in the cookie variable. i need the cookie variable cause i will be doing a few more things in that box and the cookie variable is important. i want to keep all edits in the template folders so if anyone else wants to use it then they can with no modifications.

 

here is a link to the webpage so you can see exactly what i am referring to.

http://voicerecords.cf/index.php?skin=dad

I don't understand what it is you want to do.

Anyhow. If all you want is to display the member id which is what is in the cookie, then all you need to do create a new system key in the parseSystemKey function in the ChWsbTemplate.php class and then add the system key to the template.

You could also use a system key to display different info at the key location depending on if a user is logged in or not.

so, i am designing a new template and have run into a snag. i need to distinguish between logged in and non logged in users. how can i get the cookie variable to sidplay on the sub_header.html page?