5691
timgno
Smarty Plugin Table
  • 2015/6/18 21:29

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Peering between plugin smarty I found html table
smarty_function_html_table
Examples:
 * <
pre>
 * {
table loop=$data}
 * {
table loop=$data cols=4 tr_attr='"bgcolor=red"'}
 * {
table loop=$data cols="first,second,third" tr_attr=$colors}
 * pre>


I went on the website and smarty syntax is different, or at least I think it is the latest version?

{html_table loop=$data cols="first,second,third,fourth" tr_attr=$tr}


It is to update this plugin?



5692
timgno
Re: TDMCreate 1.91 alpha 3 for Testing
  • 2015/6/18 15:25

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I'm studying the docs of codeception 2.0 from GitHub with these methods

class TestTest extends CodeceptionTestCaseTest
{
    public function 
testBaseOne()
    {
        return 
'hey';
    }

    
/**
     * @depends testBaseOne
     */
    
public function testDependentOne($hey)
    {
        
$this->assertEquals('hey'$hey);
    }

    public function 
testReportedInterface()
    {
        
$this->assertInstanceOf('\Codeception\TestCase\Interfaces\Reported'$this);
        
$this->assertEquals(array(
            
'file' => __FILE__,
            
'name' => 'testReportedInterface',
            
'class' => 'TestTest',
            
'feature' => 'test reported interface',
        ), 
$this->getReportFields());
    }

}


I do not know how to link the code to the modules, I will get there soon?



5693
timgno
Re: New site for Txmod Xoops
  • 2015/6/18 9:34

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I've changed itemTitle at 12px



5694
Bleekk
Re: New site for Txmod Xoops
  • 2015/6/18 8:38

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


One more thing
On this site where the done button ist the part look really squeezed
http://www.txmodxoops.org/modules/downloads/singlefile.php?lid=129

You have 3 columns at the bottom
|google ads | your content | google ads |

With a ad-blocker I do not see this ads.
It woulds be nicer to remove one of the google ads

| your content | google ads |



5695
Bleekk
Re: New site for Txmod Xoops
  • 2015/6/18 8:31

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


you are welcome

change only one more small thing
.itemTitle {
  
font-size16px;
}



5696
timgno
Re: New site for Txmod Xoops
  • 2015/6/18 7:11

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Quote:
I would do following small changes


Thanks Bleekk

That is for blocks nice



5697
Bleekk
Re: New site for Txmod Xoops
  • 2015/6/17 20:59

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


I would do following small changes

change
.big {
  
font-size1.2em;
}

olul {
  
margin-top0;
  
margin-bottom10px;
  
margin-left0px;
  
padding-left0px;
}


add following to your css file
.item.tdmdownloads-blockitem {
  
padding-bottom15px;
}
.
itemPermaLink {
  
font-size11px;
}



5698
Mamba
Re: TDMCreate 1.91 alpha 3 for Testing
  • 2015/6/17 19:55

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Quote:
I do not know where I'm wrong

Right now I'm trying to figure out how to build the class methods for testing, but they are still inexperienced at this.

Just add you tests to the /tests folder, so other people can take a look and maybe will be able to help....

Also try to explain what you were trying to do (step by step), the logic behind it, what you expected to get, and what you got instead...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



5699
timgno
Re: New site for Txmod Xoops
  • 2015/6/17 15:25

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


In fact I was already planning to change these two blocks in the style of those in the footer for example



5700
timgno
Re: TDMCreate 1.91 alpha 3 for Testing
  • 2015/6/17 15:17

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


@goffy I've accepted your pull request

@Mamba
Quote:
What issues are you having? What have you done so far and where are you getting stuck?


The only test that can make are those without contents strings inside.

If I try to enter a url for modules/tdmcreate/admin I always failed test, and in some cases I find that I have no links inserted of modules/profile/user.php in result test

The only test that can do are the ones creating file base acceptance, for the functions still no

I do not know where I'm wrong

Right now I'm trying to figure out how to build the class methods for testing, but they are still inexperienced at this.




TopTop
« 1 ... 567 568 569 (570) 571 572 573 ... 29425 »



Login

Who's Online

549 user(s) are online (465 user(s) are browsing Support Forums)


Members: 0


Guests: 549


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