Drag to reposition your photo
Welcome to phpFox community
Threads
Quote:
Originally posted by: webwolf

I hadn't tried it on a php block (admincp). I would have expected it to work there too, but it didn't.

The data is available, however. I was able to get to it by using the code below:

PHP:
<?php
$aTemp 
$this->_aVars['aUser'];
echo 
"User name is: " $aTemp['user_name'];
?>





Works fine, thanks!
February 26, 2014 6:55 pm
Ok, I found it in the file static/jscript/main.js

After comment out this line the redirection stoped:
//window.location = sUrl + window.location.hash.replace('#!', '');

But I wonder... what is the propose of this code? Why it's there?

Regards
February 25, 2014 1:08 pm
Very nice. If I can choose the content in the language picker, your code is really a great solution. I recently gave up a site precisely why the vast majority of users are not interested in seeing content in languages ​​they do not know and it is impossible to organize content in some areas such as blogs and videos.
January 6, 2014 7:40 pm
Tawanda - it requires an edit of the template.html.php file. Like I said, I am in the process of creating a new template, and for that template, I found that the 3 placement blocks that I mentioned were in the way...so I moved them.

I don't suggest editing the template.html.php file for your default template or your installed template at all, but that you should create a copy of the template you are using for your site and make the changes in that.
April 24, 2013 7:19 pm