Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

CSS style in pop up
(1 viewing) (1) Guest
Universal booking and reservations component for Joomla!.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: CSS style in pop up

CSS style in pop up 11 years, 9 months ago #36556

Hi

When I'm booking, the pop up with "the cart" doesn't show the CSS style... Could you help me to solve it?

Thanks in advance!

estilos-reserva.png
The topic has been locked.

Re: CSS style in pop up 11 years, 9 months ago #36559

  • maju
  • OFFLINE
  • Posts: 1107
Hello,

Your Joomla template should contain component.php file. It should be in:
{project_root}/templates/{your_template}/component.php

This file is similar to index.php, but component.php loads only main data without all modules around. But you can still load there all necesary css files or js.
You should be able to find standard component.php in templates/system/. With some modifications it can be usable also for you.

Let us know, if this information helped you (and I will prepare this topic in FAQ).
ARTIO Support Team
Last Edit: 11 years, 9 months ago by maju.
The topic has been locked.

Re: CSS style in pop up 11 years, 9 months ago #36565

I've tried that:

-I copied the {project_root}/templates/system/component.php to {project_root}/templates/{your_template}/ after rename original component.php to component.php.orig

but it doesn't work...

Any idea?
The topic has been locked.

Re: CSS style in pop up 11 years, 9 months ago #36598

  • maju
  • OFFLINE
  • Posts: 1107
Hello,

if you had component.php in your template before, you don't have to copy it from template system. Problem is, that your component.php do not load css files so your popup is not designed. Also that file from system template do not know automatically about your css files and you have to add those links manually.

For example:
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />


This is link from system/component.php and it loads css from that template.
ARTIO Support Team
The topic has been locked.

Re: CSS style in pop up 11 years, 9 months ago #36642

I have it in my /templates/system/component.php:

<?php
/**
* @package Joomla.Site
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

 
defined('_JEXEC') or die;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template.css" type="text/css" />
 
<?php if ($this->direction == 'rtl') : ?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_rtl.css" type="text/css" />
<?php endif; ?>
</head>
<body class="contentpane">
<jdoc:include type="message" />
<jdoc:include type="component" />
</body>
</html>
Last Edit: 11 years, 9 months ago by webexpertia.
The topic has been locked.

Re: CSS style in pop up 11 years, 9 months ago #36730

  • maju
  • OFFLINE
  • Posts: 1107
Hello,

But you probably do not use system template. Do you have that file in template you are using? And does exist template.css in your default template?

Only thing component.php needs is to load main css file with styles for fieldsets, h1, tables etc. Then it will design that popup with those styles. When I remove component.php from Joomla template beez_20, I get same problem as you get. My default template is that beez_20 and Joomla will not use component.php from system.

You can try to test it with another template what was implemented in Joomla installation. Is there same problem? Those templates should work in this case, because they are made with Joomla standards, where every template should contain component.php file.

EDIT: If you have troubles to set it, we can also help you as paid custom support, because we don't think this is bug of our component. It can be clear and fast. If you are interesting in, let us know on Tato emailová adresa je chráněna před spamboty, abyste ji viděli, povolte JavaScript .
But first, you can try those tests with Joomla templates.
ARTIO Support Team
Last Edit: 11 years, 9 months ago by maju.
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný