Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. glimbeek

    get current url

    Solved it.. sort off... I made a nasty hack to solve this. Get the URL in a file where the URL is correct, write it to a text file and read that output in the location where I need it. It seems to be working, but it's an ugly hack. Cheers for the provided help. If anyone has a better...
  2. glimbeek

    get current url

    Cheers for your help so far jpadie. Maybe someone else can point me in the right direction?
  3. glimbeek

    get current url

    The user visits the website. We look at the browser language and for UK/US difference we look at the IP (they both get en-GB) but we look at it to serve location based banners/links. When the user visits the website we set the Joomla language accordingly. The user can't really change it's...
  4. glimbeek

    Website performance issue

    Some addition tech info: Some additional tech info: Database Version: 5.1.54 Database Collation: utf8_general_ci PHP Version: 5.2.16 Web Server: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Joomla! Version...
  5. glimbeek

    Website performance issue

    Hi, I'm running a Joomla! website and I'm experiencing some performance issues. I ran into this problem a while ago and after extensive testing the host figured out it was an issue with the hard-drive combined with a CPU that couldn't cope and to low memory. So they gave me a new server with a...
  6. glimbeek

    get current url

    Hi ingresman, That's the whole point. I don't want to get the language by browser language but by where the visitor is on the website AKA, the URL the visitor is on.
  7. glimbeek

    get current url

    Cheers for the reply's, yeah it is illogical. I do know however which file does "get" the right SEF URL and appending something to it's URL isn't possible + I'd still need to know what to append so I can for instance, append the language tag code so I can use that.
  8. glimbeek

    get current url

    Hi Vacunita, All valid questions. I'll know it's a weird request and I might be taking a wrong approach to fixing my "problem". I'll try to explain what I want to achieve and in what situation this is. On my Joomla! website I'm using an extension JComments. This extension changes the button...
  9. glimbeek

    get current url

    Hi, This may sound like a silly request... but here goes. I want to get the current URL from the address bar. The right side of the URL to be more precise. This is done by $_SERVER['REQUEST_URI']. However I need to "get" the url in a PHP file, but the URL that I get when I get it in that php...
  10. glimbeek

    New wiring setup

    Odds"? There must be a better reason. "Besides jimbopalmer nailed it !" I get the point of not going for Cat6, but why not go for Cat6A then?
  11. glimbeek

    joomla change HeadData

    With help I managed to solve it in the end: $headerstuff =& $this->getHeadData(); $scripts =& $headerstuff['scripts']; $nscripts = array(); $matches = array( "mootools.js" => "http://localhost", "caption.js" => "http://localhost", ); foreach($scripts as $k => $v){...
  12. glimbeek

    joomla change HeadData

    Hi jpadie, Thank you for putting in the time and effort to help me out. If I try the above code (I had to add 2 closing ")" after the unset lines, otherwise it wouldn't work) I get the following errors: Notice: Undefined property: JDocumentHTML::$scripts in index.php on line 81 Warning...
  13. glimbeek

    joomla change HeadData

    jpadie, If I try that I get the following result: Fatal error: Key element cannot be a reference in /home/adminyu5/public_html/myfolder/templates/thistemplate/index.php on line 73 I Googled the error, but I have no idea what it means.
  14. glimbeek

    joomla change HeadData

    Hi jpadie, I hate to sound like a complete novice, but you've lost me here: I'm trying the following code now: $headerstuff = $this->getHeadData(); foreach ($this->_scripts as &$url=>$type): $url = 'http://www.mydomain.com' . $url; endforeach; foreach($this->_links as &$url=>$ignore)...
  15. glimbeek

    New wiring setup

    Could you explain why? Apart from any cost difference compared to Cat5, 5x what's are major reasons not to go for Cat6, 6x?
  16. glimbeek

    New wiring setup

    Hi, And thank you for your replies. I still have to look into costs, but I doubt that will be a problem. By saying I would use Cat6, I see I caused some confusion. I'd go for Cat6A, just like you would go for Cat 5e, instead of Cat5. Sorry for not being clear enough. Other then that, the...
  17. glimbeek

    joomla change HeadData

    I lost you... Could you give me a code example because I'm unsure what to use and how to us it now. in my index.php of my Joomla! template I "get" the scripts from the head data by using: $headerstuff = $this->getHeadData(); $scripts = $headerstuff['scripts']; Now you tell me to...
  18. glimbeek

    joomla change HeadData

    Hi jpadie, Just to make sure, you are referring to the code on http://pastebin.com/95YSxX8N ?
  19. glimbeek

    joomla change HeadData

    Hi jpadie, Thank you for your reply. Yes, there are most likely extensions that can do part of this. However, because I have several different scenario's on which I want to display the right scripts these extensions are no good for to me. And yes you are right setHeadData is the way to go...
  20. glimbeek

    joomla change HeadData

    Hi, I'm trying to dynamically change parts of an array. This is the array: Array ( [/components/com_jcomments/js/jcomments-v2.1.js?v=7] => text/javascript [/components/com_jcomments/libraries/joomlatune/ajax.js?v=3] => text/javascript [/media/system/js/mootools.js] => text/javascript...

Part and Inventory Search

Back
Top