181
goffy
Re: Changing a Fixed Width Theme to a Floating Width Theme - A Tutorial
  • 2019/2/1 6:39

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi

you have to change your style.css of the theme

bootstrap works with two types of container
1) container-fluid: it will use the full width of your device
look into your theme and change
div class="container"
into
div class="container-fluid"

2) container: a responsive area with a width depending on device
if yor device has min 1200 px then width of container is 1170px
if yor device has min 992 px then width of container is 970px
and so on
if you want to fix it to your witdh you have to add following lines to your css or your theme:
.container {
    
width1000px !important;
}
(to have always 1000px, even if device is smaller) or
.container {
    
max-width1000px !important;
}
to keep it responsive to max 1000px

details information you can find onhttps://getbootstrap.com/docs/3.4/css/



182
goffy
Re: Help with notification needed
  • 2019/1/28 20:07

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi Michael

see my comments athttps://github.com/ggoffy/wggallery/pull/7



183
goffy
Re: Help with notification needed
  • 2019/1/27 22:16

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


only a few notifications, e.g when
- a new album is created
- an album is modified or deleted
- images are uploaded



184
goffy
Help with notification needed
  • 2019/1/27 14:55

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi

can someone help me with implementation of notification system in my new module?
https://github.com/ggoffy/wggallery

I tried a lot but do not get it running



185
goffy
Xoops notification system
  • 2019/1/23 19:19

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi

is there somewhere a detailed description how xoops notication system is working and how to use it in a new module?



186
goffy
Re: Working gallery module?
  • 2018/12/29 17:30

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi

Resized Image

The uploader takesas default the name of the file as title, but you can easily change it
- before uploading them (see image)
- after uploading if you goto image editing



187
goffy
Re: Working gallery module?
  • 2018/12/28 18:51

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi

it is still alpha (but I hope I have RC soon), but you can tryhttps://github.com/ggoffy/wggallery
- you can use different gallery types (viewer.js, colorbox, lclightboxlite, Justified Gallery with Colorbox or Jssor) for the slideshow
- you have different album types to present the albums on blocks/index page.
- it supports multi upload with drag&drop (please read xoops259.txt, otherwise it works not)
- automatic resizing
- watermarks
-....

demo:https://xoops.wedega.com/modules/wggallery/

Attention: for perfect style you need a bootstrap theme

let me know your opinion



188
goffy
Re: set class for form elements
  • 2018/7/17 5:47

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi geekwright

I agree, partially.
The separation between logic, data and presentation should be anyway, and I code no presentation with php in my modules.
My idea was to get the same look and feel - each submit button should have the same style (btn-success in this case).

And if we remove style code 100% from XOOPS core then we have to remove all class attributes in XoopsFormRendererBootstrap3.php
But then it doesn't look like bootstrap anymore



189
goffy
Re: set class for form elements
  • 2018/7/16 11:39

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi Mamba

I want to use full possibilities of bootstrap, nothing instead

example:
by using XoopsFormButtonTray I get following buttons:
- Cancel ( bootstrap class: btn-danger = red)
- Reset ( bootstrap class: btn-warning = yellow)
- Submit ( bootstrap class: btn-success = green)

If I now want to add a fourth button this button (as a standard button) will have bootstrap class: btn-default (= no color)

with my suggested changes I can decide, which style my additional button will have

see image Resized Image



190
goffy
Re: set class for form elements
  • 2018/7/10 22:18

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi zyspec

i want to use the class during rendering

I have adopted my xoops e.g.
public function renderFormButton(XoopsFormButton $element)
    {
        if ( 
$element->getClass() ) {
            return 
"<input type='" $element->getType() . "' class='" $element->getClass() . "' name='"
            
$element->getName() . "'  id='" $element->getName() . "' value='" $element->getValue()
            . 
"' title='" $element->getValue() . "'" $element->getExtra() . ' />';
        } else {
            return 
"<input type='" $element->getType() . "' class='btn btn-default' name='"
            
$element->getName() . "'  id='" $element->getName() . "' value='" $element->getValue()
            . 
"' title='" $element->getValue() . "'" $element->getExtra() . ' />';
        }
    }


now I can use the function.

My question is: I think it make sense. Should I make these changes in xoops core and send a request? or is there another idea?




TopTop
« 1 ... 16 17 18 (19) 20 21 22 ... 43 »



Login

Who's Online

199 user(s) are online (134 user(s) are browsing Support Forums)


Members: 0


Guests: 199


more...

Donat-O-Meter

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

Latest GitHub Commits