News:

AbanteCart v1.4.3 is released.

Main Menu
support

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - sleem

#1
Templates / Re: Template from right to left
March 12, 2017, 07:56:14 AM
Yes, I want to know the code
I am learning the language of php I am not a professional
Please type the correct code

$faster_browser_rendering = false;

if($faster_browser_rendering == true) {
?>
   <style><?php echo $this->LoadMinifyCSS('/stylesheet/bootstrap.min.css'); ?></style>
   <style><?php echo $this->LoadMinifyCSS('/stylesheet/bootstrap-rtl.css'); ?></style>
   <style><?php echo $this->LoadMinifyCSS('/stylesheet/flexslider.css'); ?></style>
   <style><?php echo $this->LoadMinifyCSS('/stylesheet/onebyone.css'); ?></style>
   <style><?php echo $this->LoadMinifyCSS('/stylesheet/font-awesome.min.css'); ?></style>
   <style><?php echo $this->LoadMinifyCSS('/stylesheet/fonts.google.css'); ?></style>
   <style><?php echo $this->LoadMinifyCSS('/stylesheet/style.css'); ?></style>   
<?php } else { ?>
   <link href="<?php echo $this->templateResource('/stylesheet/bootstrap.min.css'); ?>" rel="stylesheet" type='text/css' />
   <link href="<?php echo $this->templateResource('/stylesheet/bootstrap-rtl.css'); ?>" rel="stylesheet" type='text/css' />
   <link href="<?php echo $this->templateResource('/stylesheet/flexslider.css'); ?>" rel="stylesheet" type='text/css' />
   <link href="<?php echo $this->templateResource('/stylesheet/onebyone.css'); ?>" rel="stylesheet" type='text/css' />
   <link href="<?php echo $this->templateResource('/stylesheet/font-awesome.min.css'); ?>" rel="stylesheet" type='text/css' />
   <link href="<?php echo $this->templateResource('/stylesheet/fonts.google.css'); ?>" rel="stylesheet" type='text/css' />
   <link href="<?php echo $this->templateResource('/stylesheet/style.css'); ?>" rel="stylesheet" type='text/css' />
<?php } ?>




Thank you
#2
Templates / Re: Template from right to left
March 10, 2017, 11:57:05 AM
Will explain to you
The language arabic = style-rtl.css
The language English= style.css
When activating the Arabic Language you want to print the file style-rtl.css
and When activating the English Language you want to print the file style.css
Because thestyle-rtl.css completely different from the style.css file in your design
this is what I want
#3
Templates / Template from right to left
March 10, 2017, 07:52:42 AM
hello all
How to make a template from left to right and vice versa
Now in CSS files, supports the direction from left to right and also from right to left
style.css and style-rtl.css
What is PHP Code
Which allows changing between CSS files in the head.tpl

Forum Rules Code of conduct
AbanteCart.com 2010 -