Joomla

Joomla getting Variables passed in URL

那年仲夏 提交于 2021-02-16 19:06:29
问题 I am trying to pull values from a URL string in Joomla when they are passed into our site. an example is: ?source=SEARCH%20&utm_source=google&utm_medium=cpc&utm_term=&utm_content={creative}&utm_campaign=&cpao=111&cpca=&cpag=&kw= so out of this I will want the VAR=utm_source grabbed, utm_medium grabbed etc. I want to carry these values across the sites and held at least until the visitor hits submit on a form so these values will be passed with the form to track these areas to see where they

Joomla getting Variables passed in URL

让人想犯罪 __ 提交于 2021-02-16 19:06:17
问题 I am trying to pull values from a URL string in Joomla when they are passed into our site. an example is: ?source=SEARCH%20&utm_source=google&utm_medium=cpc&utm_term=&utm_content={creative}&utm_campaign=&cpao=111&cpca=&cpag=&kw= so out of this I will want the VAR=utm_source grabbed, utm_medium grabbed etc. I want to carry these values across the sites and held at least until the visitor hits submit on a form so these values will be passed with the form to track these areas to see where they

Uncaught TypeError: Cannot read property 'nodeName' of undefined

孤街浪徒 提交于 2021-02-16 09:41:14
问题 this problem appears only in joomla - im trying to use the contentflow plugin with my joomla site this is the plugin site - http://www.jacksasylum.eu/ContentFlow/ this is my site - http://2-dweb.com/RND/ as you can see it doesnt work - it just stays on the loading phase forever upon closer inspection i can see that there is a problem with this code: if (this.content.nodeName == "IMG") { CFobj._imagesToLoad++; var foobar = function () { CFobj._imagesToLoad--; this.image = this.content; this

Uncaught TypeError: Cannot read property 'nodeName' of undefined

爱⌒轻易说出口 提交于 2021-02-16 09:41:08
问题 this problem appears only in joomla - im trying to use the contentflow plugin with my joomla site this is the plugin site - http://www.jacksasylum.eu/ContentFlow/ this is my site - http://2-dweb.com/RND/ as you can see it doesnt work - it just stays on the loading phase forever upon closer inspection i can see that there is a problem with this code: if (this.content.nodeName == "IMG") { CFobj._imagesToLoad++; var foobar = function () { CFobj._imagesToLoad--; this.image = this.content; this

IIS does not encode utf-8 urls?

一世执手 提交于 2021-02-08 08:50:08
问题 I'm running Joomla 2.5 on an IIS7 server. The problem is Joomla's search engine friendly urls don't work. Whatever url I enter, it goes to index.php. After a painful day of struggling with rewrite rules and IIS settings, I came to two realizations: Search engine friendly urls are only broken when the urls are unicode. In my WAMP server, on which the SEF urls work perfectly: $_SERVER['REQUEST_URI'] is "mydomain/%D9%85%D8%AD%D8%B5%D9%88%D9%84%D8%A7%D8%AA/%D9%82%D9%84%D8%A8%DB%8C-%D8%B9%D8%B1%D9

Getting options from URL rewriting

社会主义新天地 提交于 2021-02-08 07:45:23
问题 I've inherited a Joomla site and I'm trying to learn how it all works. There's legacy code that works in Joomla 2.5 that no longer works in Joomla 3.7 The original code pulls the URL info from $_GET to build the correct link of the page to display, like this: $search_str = array(); foreach ($_GET as $get_key => $get_value) { array_push($search_str, $get_key . '=' . $get_value); } It works fine in 2.5 but nothing is returned in 3.7. I am trying to determine the new method of accomplishing the

Getting options from URL rewriting

非 Y 不嫁゛ 提交于 2021-02-08 07:45:14
问题 I've inherited a Joomla site and I'm trying to learn how it all works. There's legacy code that works in Joomla 2.5 that no longer works in Joomla 3.7 The original code pulls the URL info from $_GET to build the correct link of the page to display, like this: $search_str = array(); foreach ($_GET as $get_key => $get_value) { array_push($search_str, $get_key . '=' . $get_value); } It works fine in 2.5 but nothing is returned in 3.7. I am trying to determine the new method of accomplishing the

Joomla 3 - How to get value from configuration file?

强颜欢笑 提交于 2021-02-07 11:44:06
问题 I'm building a custom component and I just want to get a value from the global config in my controller. I can't find any information about how to do this. Something like... $config = JFactory::getConfig(); $this->_db = $config->get('db'); 回答1: The documentation on how to do it is slightly outdated: http://docs.joomla.org/JFactory/getConfig But if you check the code they actually drop the ampersand function: https://github.com/joomla/joomla-cms/blob/staging/components/com_users/models

Strict Standards: Non-static method StreamComment::getCommentsHTML() should not be called statically, assuming $this from incompatible context

拜拜、爱过 提交于 2021-02-05 11:46:37
问题 I am using Offiria (joomla based social networking script) and when I click on the link "Show All Comments" to see all posted comments under a link, I get the following error right above the first comments. The function works so all comments expand and I can see them all but the error sits there as well. Strict Standards: Non-static method StreamComment::getCommentsHTML() should not be called statically, assuming $this from incompatible context in C:\Program Files\Ampps\www\offiria\components

Strict Standards: Non-static method StreamComment::getCommentsHTML() should not be called statically, assuming $this from incompatible context

痞子三分冷 提交于 2021-02-05 11:46:08
问题 I am using Offiria (joomla based social networking script) and when I click on the link "Show All Comments" to see all posted comments under a link, I get the following error right above the first comments. The function works so all comments expand and I can see them all but the error sits there as well. Strict Standards: Non-static method StreamComment::getCommentsHTML() should not be called statically, assuming $this from incompatible context in C:\Program Files\Ampps\www\offiria\components