FAQ Database Discussion Community

## jQuery not running correctly on Joomla

javascript,jquery,joomla
I am working on a website and I cannot find the reason why the jQuery code doesn't show as it shows on my local server, without using Joomla. I am using Joomla 2.5.1 and I am trying to run the following piece of code on this website: http://www.elitartravel.com Code: <script>...

## Joomla article background CSS

html,css,joomla
I want a background (color) to be displayed by default for each article. I thougt of doing this in a css file, but I don't know where to place the statement. Btw I can't find the definition of the article tag in any css file. The following code shows 2...

## Joomla: K2 - How to strip out curly brackets from meta description using preg_replace

php,joomla,metadata,curly-brackets,k2
I need to strip out some curly brackets from the meta description which is created by joomla/K2. I found two php solutions to strip unneeded curly brackets: $description = preg_replace( '/{.+?}/', '',$description); and $metaDescItem = str_replace('/{.+?}/', '',$metaDescItem); There are different curly brackets which control the content of my...

## Joomla css path incorrect

css,joomla,path
i have a problem with the joomla css path... Go to the url for check : http://www.vendreweb.fr/cx/ You can see the page is correct, but now click on Shipment button... you will see my problem... The Fields css won't run correctly... Can you help me please :( Below the source...

## Joomla taks works with Friendly url OFF but do not with Friendly url ON

joomla,friendly-url,joomla-task

## Joomla Get menu id from names

joomla,menu,params

## Text centered overlayed on video in Joomla module in HTML

html,css,html5,video,joomla
Ok. Ive been struggling with this for a day. Can any one help? I am trying to auto play a .mp4 video as the background in a Joomla CMS module with text overlaying on the top in the center of the module. I decided simple html would be better than...

## Remove span from column with introtext

mysql,sql,joomla
In my database, I have my_table, with column introtext. Some of the records include a span, I'd like to remove: <p><span style="line-height: 1.7142857148;">Text text text...</span></p> And get instead something like: <p>Text text text....</p> I need an SQL query to do this automatically. I am trying this: UPDATE my_table SET introtext=...

## Syntax Error - Database

mysql,joomla
Can someone please tell me what the syntax error is here: SELECT T.id,T.vmProductID,T.name AS Course,C.title AS Category FROM j25_lms_tests AS T LEFT JOIN j25_lms_categories AS C ON C.id = T.catid WHERE T.published=1 AND T.vmProductID IN() ORDER BY T.ordering This is the main code from script: 'SELECT T.id,T.vmProductID,T.name AS Course,C.title AS...

## Joomla - How to override component controller?

joomla
I want to override a controller inside a component ie; File path : components/com_test/controllers/test.php how to override test.php ?...

## www Rewrite Rules for IIS Web.config Not Working

mod-rewrite,joomla,url-rewriting,iis-7,web-config
I have a rewrite rule in IIS that is supposed to rewrite inbound URL's without the 'www' to 'www'. The rewrite rule is in fact rewriting the URL to include the 'www', but it's directing the visitor to /index.php instead of sending them to the link they were trying to...

## jQuery move contents of one div into another append() not working

jquery,twitter-bootstrap,joomla
I am working on a tabbed layout using Bootstrap 2.3.2 in Joomla and due to the way Hikashop generates a product layout, I have an outer "tab-content" div and when putting in a product description, the result is an inner "tab-content div within a "tab-pane" with a single nav at...

## Translate joomla K2 template sentence

joomla,translation,joomla3.0,multilingual,k2
I have a joomla website with 5 subtemplate K2. The website is multilingual and I want to translate some sentences in subtemplate. Where I can put this translation ? I think it's in de-DE.com_k2.ini but in the next K2's update, sentence will be erase ? Thank you for your time...

## Encoding data in joomla 1.0.0

joomla
I'm writing a tool to migrate data from excel to joomla 1.0.0 db. My data have Vietnamese character (Ex: "Thành Phố Hồ Chí Minh"). When migarted, data show in page is error ("Th?nh Ph? H? Ch? Minh"). I think joomla encoded data before saving to db but i dont know...

## How to align text next to my Image in PHP

php,html,joomla
I am wanting the text I have above the photo on my website to be positioned on the right hand side next to the image. I have attempted to do this but the formatting must be wrong. Can anyone steer me in the right direction. Thanks. http://newrealestate.properties/lily-104-maidstone-3012-victoria.html Here is my...

## Joomla database migration

joomla,content-management-system,database-migration
I have a Joomla website but I have to admit that it is a mess. I've played with files I shouldn't have been playing with. Therefore I'd like to start over with a fresh installation. But I also don't want to lose my content. Will it be enough to tell...

## How to make formula with mathjax responsive

joomla,responsive-design,mathjax
I have a big problem with displaying math expressions in my responsive website. In particular, if you visit this page with a smartphone, you can see that most of the math expressions are cut off due to responsive design. I'm using Joomla and the Jextbox Equation plugin for displaying them....

## How to override CSS in joomla template

css,joomla,override
In my Joomla template I would like to override some styles, so I've created my own css and added styles, also media queries. Most of all works only if I use the !important keyword and something does not work at all. For example: <div id="content_right" class="span3"> In this div I...

## Joomla 3 get configuration of other plugin onAfterInitialize()

plugins,joomla
Joomla 3 get configuration of other plugin onAfterInitialize() I have two plugins authentication and system. I'd like make action onAfterInitialize event in system event using configuration defined in .xml file of authetication plugin. What's the right way to do it? Do I need separate plugin for configuration and how do...

## Frontend editor in joomla 3 does not load the assigned position

php,joomla,joomla3.0,joomla-extensions
Well I use the new feature frontend editor in joomla 3.4 and works well with a single template (protostar - default). I need to use multiple templates on my site. Then copy the protostar template, delete I do not need and protostar2 name, just place a call position position-80. Template...

## PHP string operation - strip .jpg extension [duplicate]

php,joomla
This question already has an answer here: How to remove extension from string (only real extension!) 12 answers I have the following php: <?php $image_directory = JPATH_SITE . '/images/site/';$images = JFolder::files($image_directory); foreach($images as $image) { echo '<li><img src="/images/site/'.$image.'"> <p class="slidecaption">'.$image.'</p></li>'; } ?> So$images ends up being 1980.jpg...

php,email,joomla

## Is CMS caching needed while it runs on Varnish Cache?

wordpress,magento,caching,joomla,varnish
I know that the question seems weird but i am really not sure about it. I am running a bunch of Joomla, Wordpress and Magento websites and i am not sure if there is a need to enable build-in CMS cache while they run on varnish.

## How to disable ctrl-u on a joomla 3 website

joomla,ctrl
i have simple and very interesting question, that is the following, my client wants to disable the ctrl-u in his joomla 3 website, I mean that i have noticed that on many various websites when i m trying to view the code by pressing the ctrl-u it pop up a...

## How to insert column in Joomla table

mysql,joomla
i have a problem in inserting a varchar in column in a table in joomla. I know that there is a syntax ALTER TABLE joom_virtuemart_categories_en_gb ADD short_desc varchar(1200); But how do i do it in joomla query? Here is my code. Hope you can help me. thanks \$db = JFactory::getDbo();...

## set og tags for homepage only

php,html,facebook,joomla
i have a problem with og tags. i added on my template index a string like <meta property="og:image" content="http://www.example.com/facebook.jpg" /> to fix an image for the site when shared on facebook because otherwise strange images where chosen by facebook. But this conflicts with all my blog articles pages when shared...

## How to update table within joomla module or backend?

php,mysql,joomla,module
I working on some module and want to have ability to update table with image sizes - there already two columns in table (width, height). Its my first approach to joomla module develop. All code works except last foreach with update. Where I'm wrong? And how to trigger this function...

## CSS Table with Alternating Colour Rows

html,css,joomla
Hello I was wondering if it's possible with a css table to have alternating colour rows? I would like it to look like this, http://i.imgur.com/zT04atv.jpg My code so far for the table is this. I have tried but just can't seem to get it to work. Is this possible? And...