21
Runeher
Re: xBootstrap XOOPS Theme - Development
  • 2014/10/1 18:57

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Btw. Here is a trick how to embed YouTube videos to make them fit in all devices. Very useful if you use responsive themes:

First add a class in css:

.video-container {
    
positionrelative;
    
padding-bottom56.25%;
    
padding-top35px;
    
height0;
    
overflowhidden;
}
.
video-container iframe {
    
positionabsolute;
    
top:0;
    
left0;
    
width100%;
    
height100%;
}



Then add a div to the iframe for videos:

<div class="video-container"Embed code </div>


That will resize iframe embed code to fit the window



22
Runeher
Re: xBootstrap XOOPS Theme - Development
  • 2014/10/1 18:47

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Thanks Michael I use XOOPS for all my sites still, simply because it is top notch!

Now, I decided to continue with my original theme as there is some vital blocks (hard coded in theme) that can't be used in this one, but I would like to switch theme to responsive if the user is on mobile or pad. Is there a solution to this, as Wordpress have as a plugin? Have one theme for desktop and one theme for mobile users.



23
Runeher
Re: xBootstrap XOOPS Theme - Development
  • 2014/9/29 12:54

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


I had problems with a normal custom module too with templates, so i stripped away the templates and moved the code to index.php and it worked, with blocks in the right place. That was strange, lol



24
Runeher
Re: xBootstrap XOOPS Theme - Development
  • 2014/9/29 12:47

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


I had to change the width from 50%/25/25 to 60%/20/20.



25
Runeher
Re: xBootstrap XOOPS Theme - Development
  • 2014/9/29 10:42

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Bleek, do you have any idea how to fix the myalbum template?




26
Runeher
Re: xBootstrap XOOPS Theme - Development
  • 2014/9/29 10:28

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


bootstrap.min.css



27
Runeher
Re: xBootstrap XOOPS Theme - Development
  • 2014/9/29 9:44

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Hi. I'm testing this cool theme as responsive is a must these days. However, the css file is a few lines of looooong code so my editor broke the overflow. I had to open in Word to get all of it.

Also, how can I get my version of Myalbum to work with it? With the template myalbum_photo.html, blocks end up under the module.




28
Runeher
Re: Blank user.php page
  • 2013/11/19 17:11

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Hello, long time, no see, my friend

No, I didn't, but Anders as usually had advice:

# Use PHP 5.3
AddType application/x-httpd-php53 .php

In .htaccess



29
Runeher
Blank user.php page
  • 2013/11/17 23:21

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Hi, I'm getting a blank user.php page after installing the latest version and default theme, any theme... After running checksum i had no errors except install, lib,data -removed... Any help appreciated.. :)



30
Runeher
Re: So what did you get for Christmas?
  • 2010/12/28 21:52

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


I got dog tags from my wife... makes me wonder...lol




TopTop
« 1 2 (3) 4 5 6 ... 47 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

65 user(s) are online (49 user(s) are browsing Support Forums)


Members: 0


Guests: 65


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits