Having got code in the layout.html template, there are strange things happening! For example, on the signup page I get the following error message: WARNING: constant() [function.constant]: Couldn't find constant _TPL_SIGNUP_NEWSLETTERS_SUBSCRIBE_2 in line 108 of file common.inc.php Also, the graphic I want as a header on the page doesn't load, although the reference to it correct. In fact, what worked originally as a layout now doesn't! I seem to be having these strange problems with aMember, where things work for a while and then don't. If anyone can point me in the right direction..... The signup page is at http://www.sixthsenseconsulting.com/admin/signup Thanks
You got coding errors- i just found one: <link rel="stylesheet" type="text/css" media="all" href="http://www.sixthsenseconsulting.com/admin/templates/css/site.css <meta name='robots' content='noindex,nofollow' /> Wheres the closing ">" David
Also as far as I can see your images are placed inside protected folder. For example: http://www.sixthsenseconsulting.com/members/wp-content/uploads/2011/01/cropped-Autumn-path.jpg Above url redirect to aMember's login page.
Still getting error message Thanks for spotting those errors. However, I still get the same error message: WARNING: constant() [function.constant]: Couldn't find constant _TPL_SIGNUP_NEWSLETTERS_SUBSCRIBE_2 in line 108 of file common.inc.php Is it something to do with {php}echo amember_get_header_code();{/php} in the layout.html template?? As you can see, there is still no styling applied to the header area at all....but at least now I've got a prettier picture Again, if anyone can spot what I've missed out...I've been staring it this for so long I doubt I would see a brontosaurus stampeding through the code now... Thanks PS Also, why does the Clickbank info show up as %swww,clickbank.com%s. It looks weird!
I'm sorry to bug people, but ca anyone tell me how to get rid of the error message at the top of the layout.html which reads: WARNING: constant() [function.constant]: Couldn't find constant _TPL_SIGNUP_NEWSLETTERS_SUBSCRIBE_2 in line 108 of file common.inc.php The fact that no css is being read is a minor annoyance compared to this. Is it worth asking whether other people have this problem? I'm not stupid (intentionally, anyway), but things just don't seem to go as I'd expect whenever I make any changes to aMember. Is it because I'm hosting with Godaddy? Is it something else? I'm just getting depressed at the amount of time it takes to do any thing at all....and it never works out. Just look at the sign in page (first post) and you'll see.
Nothing, as far as I know, just added code to make it look the same as the membership site. I was careful!
You should take the default layout.html and open it side by side with your new one and compare line by line. You probably deleted a bracket or something. It's not a big file..it won't take long to do.
There is no _TPL_SIGNUP_NEWSLETTERS_SUBSCRIBE_2 default language variable in aMember. So this was something that were customized in signup template. So: Remove that variable from signup.html template or add it to language/en.php : define('_TPL_SIGNUP_NEWSLETTERS_SUBSCRIBE_2', 'Whatever text');