6111
HopeL
Re: Responsive Theme Blocks
  • 2015/1/27 19:18

  • HopeL

  • Just popping in

  • Posts: 29

  • Since: 2009/8/21


I guess there is no top center block in xBootstrap? I see this in the code:
<{includeq file="$theme_name/tpl/leftBlock.html"}> <{includeq file="$theme_name/tpl/content-zone.html"}> <{includeq file="$theme_name/tpl/rightBlock.html"}>     <{if $xoBlocks.page_bottomcenter || $xoBlocks.page_bottomright || $xoBlocks.page_bottomleft}> <{includeq file="$theme_name/tpl/leftBottom.html"}> <{includeq file="$theme_name/tpl/centerBottom.html"}> <{includeq file="$theme_name/tpl/rightBottom.html"}>


But the top center block appears to be missing. There is a centerBlock.html in the tpl folder but when I try to add the centerblock before content-zone.html it doesn't display properly.

Sometimes I am required to have a center block display at the top but I guess it's not possible in this theme? Only right or left or bottom, correct?



6112
Bleekk
Re: Responsive Theme Blocks
  • 2015/1/27 19:02

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


try to display the block in the left column when you are on forums.
left column is always displaying before the content.



6113
HopeL
Re: Responsive Theme Blocks
  • 2015/1/27 17:59

  • HopeL

  • Just popping in

  • Posts: 29

  • Since: 2009/8/21


Yes, xBootstrap and Serenity Orange
Edited to add -
I just checked and the block displays at the top when I'm not at a module page. But if I'm at the Forum index page (Newbb), the block displays at the bottom. Not what I wanted. I want it to display before the index page info begins. Sometimes I need a block at the top of the page above the module index page.

Thanks,
Hope



6114
timgno
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/1/27 15:43

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


it's true, but if I remove id, radio option not save in the database main field



6115
goffy
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/1/27 15:34

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


maybe I am wrong: radio need same name, but different ids

code 1: ok
code 2: same name, same id ->cannot work
code 3:
field_main['.$i.']'
do you have different values für var i, or should be there $id instead of $i



6116
geekwright
Re: How does displaying user time work?

Quote:

iHackCode wrote:
...
So I guess the question is about locales, why is it used to set the timezone?
...


When the system stores a time value, it should be a system (preferably UTC) timestamp, so that data from all layers (web server, database, application, etc.) correlate. When it displays that timestamp, it needs to be expressed in a way useful to the user. That may include adjusting it to the timezone, and respecting whatever conventions are in place due to culture and/or language. That means that conversion for display in current timezone and adjusting user input of time data to UTC/sytem are completely locale dependent issues.

This is especially true of the user friendly relative times. Even a concept as seemingly simple as expressing "x days ago" can change drastically, not just by a direct translation of the phrase "days ago," but the value of x can change the entire expression. 1, 2 and 3 days cases could each be different.

http://www.unicode.org/repos/cldr-aux/charts/26/by_type/date_&_time.fields.html#Relative_Day

I agree it looks like formatTimestamp is mixing UTC and system timezone shifted elements.
For any follow up on this aspect, see https://github.com/XOOPS/XoopsCore/pull/240

Thanks!



6117
Bleekk
Re: xBootstrap XOOPS Theme - Development
  • 2015/1/27 13:54

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


no it is not, this is a responsive theme.



6118
mjoel
Re: xBootstrap XOOPS Theme - Development
  • 2015/1/27 13:32

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


Hi is it possible to have a link something like below in xbootstrap theme

display desktop version | display mobile version

so user can pick their favorite layout ....



6119
Bleekk
Re: Responsive Theme Blocks
  • 2015/1/27 13:13

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


are you talking about the xBootstrap theme?



6120
timgno
Re: TDMCreate 1.91 alpha 1 for Testing
  • 2015/1/27 13:05

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I did not understand why this code works in class/field.php:
// New Field
$main = ($table_autoincrement == 1) ? 1;
$check_field_main = new TDMCreateFormRadio('''field_main['.$i.']'$main);
$check_field_main->addOption($i_AM_TDMCREATE_FIELD_MAINFIELD );            
                
$parameters_tray->addElement($check_field_main);


and that no:

// New Field
$main = ($table_autoincrement == 1) ? 1;
$check_field_main = new TDMCreateFormRadio('''field_main'$main);
$check_field_main->addOption($i_AM_TDMCREATE_FIELD_MAINFIELD );            
                
$parameters_tray->addElement($check_field_main);


For when editing, however if this code:
// Edit Field
$field_main[$field_id] = $field->getVar('field_main'); 
$main_field = ($field_main[$field_id] == 1) ? $id 1
$check_field_main = new TDMCreateFormRadio('''field_main['.$i.']'$main_field);
$check_field_main->addOption($main_AM_TDMCREATE_FIELD_MAINFIELD );
                    
$parameters_tray->addElement($check_field_main);


should work anyway, unfortunately when you click on an option, then activate them all, and goes to save the last of selected list




TopTop
« 1 ... 609 610 611 (612) 613 614 615 ... 29425 »



Login

Who's Online

457 user(s) are online (322 user(s) are browsing Support Forums)


Members: 0


Guests: 457


more...

Donat-O-Meter

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

Latest GitHub Commits