Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jhtml]

The tag has no usage guidance.

0
votes
4answers
37 views

Edit HTML-Code of specific Joomla Page

I am a Joomla Beginner and would like to know, how I can edit the HTML-Code of a specific webpage in Joomla. I am not talking about editing an article, but the whole URL. And just a single one! Is ...
1
vote
0answers
98 views

How to upload an image using Ajax?

I need to upload an image to the server via AJAX, but the server comes back to the page with request, although server doesn't send anything. ajax: function uploadServer($el) { var fileUpload = $...
2
votes
1answer
57 views

How can I change the Class of SELECT fields that Joomla generates'

I've disable chosen.js so that all my <select> tags are plain HTML, but am so far unable to change the default class of inputbox to one of my choosing, (specificially from the Search Tools ...
0
votes
0answers
31 views

Is it possible to add a class to email.cloak?

The documentation doesn't give an example of adding classes: https://docs.joomla.org/How_to_cloak_email_addresses <?php echo JHtml::_('email.cloak', 'xxx@xxx.com');?> So is it possible to do ...
2
votes
1answer
27 views

How to add un/archive or un/trash buttons in a manager button-group that isn't in a dropdown?

What I'm trying to do is this: But failing at it. The codes I've tried using are: <td class="nowrap center"> <div class="btn-group"> <?php echo JHtml::_('jgrid.published', ...
3
votes
1answer
283 views

How to select predifined options in an custom form list-field?

i'm trying to pre-select several options in a custom form field. I created a new JFormField which extends JFormFieldList and gets its values from my database. This is my current code: protected ...
0
votes
1answer
41 views

Display disabled radio button

I need to display a disabled radio button using JHTML but I can't find anything useful or any example I could use to learn. Can someone help me ? Thanks
1
vote
0answers
9 views

Com_Contact strange behavior showing labels for empty contact fields, how to resolve?

So, thanks to FFrewin's help I was able to resolve and issue with the default com_contact template not showing entered address information Problems with Contact showing . The issue is that the contact ...
1
vote
2answers
66 views

Where to edit the responsive html codes for the main page for my website

I own a website called http://elitemaths.com.au/. Currently, the main page modules seem to be working fine on a desktop browser with "maths is hard..." div as well as the "Fulfill your...". I have ...
4
votes
1answer
331 views

Chosen on AJAX content

I am working on a site (custom component and template) where I want some links to have their content shown in a popup. The popup itself seems to work fine, but I noticed the select boxes aren't ...
2
votes
2answers
205 views

Ads code show blank space or not showing at all

I try to add a module containing adsense code but it only shows blank space. First i thought it is a google adsense issue so i tried using other ad networks and they all give me the same result or ...
0
votes
1answer
146 views

How to change html order in News Flash Advanced layouts?

So, I'm trying to make a testimonials page and I'm using Joomla 3.64 with the News Flash Advanced Module. The site is using Theme1498 by Template Monster. I believe that there was some custom work ...
3
votes
1answer
241 views

Language changing only after page refresh

I have multilingual (fa/en) Joomla 3.6.2 site using Protostar template. The problem is when I click on the fa - (persian flag) or UK flag, the lang and dir tag does not change, but when I hit the ...
0
votes
2answers
54 views

Module class suffix not applied after joomla update

I just updated my site to version 3.6.4 and I'm having a strange issue where module class suffixes aren't being applied. I'm editing a single article module as well as a custom html advanced module ...
1
vote
1answer
870 views

How Templates work and load css/js files? Website building process with Purity III

Unfortunately I can't find any info on how the purity iii template really works. I have to present my website tomorrow and I may get asked "where does the content come from?" and I can not answer ...
0
votes
2answers
61 views

Add html to transactional email

I use Mandrill to send my transactional emails, so JMailer sends the data to Mandrill, Mandrill wraps it with a nice template and voila! This works fine, but several of my customers have asked if I ...
0
votes
1answer
41 views

Change css of a global used class in one specific menu? [duplicate]

So i want to change the css layout on the page but only in one specific menu. @media screen and (min-width: 768px) .t3-sl { padding-bottom: 60px; padding-top: 60px; } -div class="wrap t3-sl ...
5
votes
1answer
267 views

How do I use Joomla's built-in cache busting technique for scripts and stylesheets?

JHtml::script and JHtml::stylesheet have a cache busting technique that doesn't seem to be documented clearly. How do I go about using it?
0
votes
2answers
97 views

Can I put link from custom html to wrapper module?

Here it is. I have a custom html with some mouse hover js function. So, when I click on that fade in 'view' button, I want to display embedded video in wrapper module? How do I do that?
5
votes
1answer
513 views

How to use JHtml::booleanlist with btn-group

In the front-end I have a code as below jimport( 'joomla.html.html.select' ); echo JHtmlSelect::booleanlist('published',null,$this->book->published,'Yes','No') What I see is as below What I ...
0
votes
1answer
103 views

PgwSlider equivalent for Joomla 3 [closed]

Is there a module for Joomla 3 that does the same that this module does https://github.com/Pagawa/PgwSlider or any similar alternatives?
6
votes
3answers
3k views

What does JHtml::_ do?

I've seen code like this: JHtml::_("script", "path/to/script.js"); JHtml::_("stylesheet", "path/to/stylesheet.css"); JHtml::_("jquery.framework"); What does the underscore function do here?
-2
votes
1answer
278 views

Joomla Mobile Website Issues (Zooming & Whitespace) [closed]

I have been trying to make my Joomla website look good on mobile as it does on a computer but I am running into a few issues. The first is that when you access my website on a mobile or tablet device ...
9
votes
4answers
2k views

Why use addStyleSheet or JHtml::stylesheet over just linking a CSS file?

According to the wiki page Adding Javascript and CSS to the Page, you can add a stylesheet with addStyleSheet like this: $document = JFactory::getDocument(); $document->addStyleSheet($url); Or ...
0
votes
2answers
2k views

Enable html in email output in Joomla

I am trying to set html on the output of the email send by Joomla. Here is the code: class MailtoController extends JControllerLegacy { /** * Show the form so that the user can send the link to ...
0
votes
1answer
65 views

How to add two calenders in a page?

I am new to joomla, want to implement two calenders in a page ... From : <?php echo JHTML::calendar('sch_from', 'sch_from', '%Y-%m-%d'); ?> To : <?php echo JHTML::...
0
votes
1answer
2k views

Notice: Undefined variable: sj_mar in C:\wamp\www\joomla\templates\xxx\html\com_k2\templates\xxxx\item.php on line 276

I install joomla template on my localhost using wampserver but after that I got a lot of errors on the hol template as you can see on the image. the errors ae from deffernt lines and defferent files ...
0
votes
2answers
494 views

JHTML::calendar() not working when apending through ajax

I'm appending joomla default calender in my form through ajax. But after appending the calender, i'm unable in getting the calendar pop up on clicking the icon. Also there is no conflict in name and ...
1
vote
1answer
285 views

Table isn't centered properly in Module

My table in my portfolio module isn't centering properly. In chrome it is a bit too much to the left when in firefox it's a bit too much to the right. Any ideas? Here is my html code for the portfolio....
1
vote
1answer
305 views

Navigation Buttons Centered with main logo

Hello I have done my best to center my navigation buttons but it still doesn't center it perfectly underneath the main logo. Can anyone help me? Might be missing a line of code or have the wrong ...
-3
votes
1answer
53 views

How to Make the Opacity of my white background 20% [closed]

How do I go about making the Opacity of my white background 20%? You can view the white background i'm talking about here, http://www.webbmaster.com.au/web-programs/questdesign/index.php/folio This ...
1
vote
3answers
2k views

Make the opacity in module the background not text or images

How do I go about making the text in a module not affected by the opacity for the white background. For example on this page. http://www.webbmaster.com.au/web-programs/questdesign/index.php/services ...
0
votes
1answer
327 views

My footer won't go to the bottom of the page

Hello can anyone help me and let me know as to why my footer won't stay at the bottom of the page. I have my logo at the top followed by navigation and then a custom HTML module full of text. Instead ...
0
votes
1answer
347 views

How to have a Joomla module on top of another module

Is it possible to have a module on top of another module? If so how would I go about doing this. Can anyone help me out please?
2
votes
1answer
126 views

Components > Paypal Button not saving properly, neither iframe

I've tried to insert a paypal form + button on a component's type description and once I save a part of the code is gone. Before <form action="https://www.paypal.com/cgi-bin/webscr" method="post"...
4
votes
3answers
1k views

How do I set options for JHtmlTabs with Bootstrap

According to Using the JHtmlTabs class in a component, several options may be specified for the tabs being rendered. However, using the example, none of the events fire, and the neither the initial "...
7
votes
3answers
392 views

JHtml Tabs have no IDs - how can I specify them?

Using the below code, I can successfully create the tabs that I need, however, the Tabs do not contain any IDs for specific styling or jQuery work. There are a variable number of tabs, depending on ...
6
votes
1answer
1k views

How can I use JHtml to create Vertical Tabs

Using this standard JHtml code, I can generate Horizontal tabs (across the top) without problem. I've been tinkering with the $options array to set it up, but JHtml seems to have changed a bunch, and ...
3
votes
1answer
300 views

Load css file using absolute path for my component?

My site has configured multilanguage, i develop now a small component and need physical path of my component, and if i use JPATH_COMPONENT_ADMINISTRATOR then i get still http://example.com.com/...