4491
ghia
Re: oledrion shop - display products in 3 colums
  • 2008/8/31 23:14

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


To add cells in the last row and to complete the table with the closing </table> tag if there are not a multiple of 3 products. (See produced html source)



4492
ghia
Re: oledrion shop - display products in 3 colums
  • 2008/8/31 22:19

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I think you could try with something like this:
<{foreach item=product from=$products name="prodloop"}>
{
capture name="column"}{math equation="x % 3" x=$smarty.foreach.prodloop.index}{/capture}
{if 
$smarty.capture.column == "0"}
    <
tr>
                <
td class="oledrion_productthumb">
                </
td>
                <
td class="oledrion_productssummary">
                </
td>
{elseif  
$smarty.capture.column == "1"}
                <
td class="oledrion_productthumb">
                </
td>
                <
td class="oledrion_productssummary">
        </
td>
{elseif 
$smarty.capture.column == "2"}
                <
td class="oledrion_productthumb">
                </
td>
                <
td class="oledrion_productssummary">    
        </
td>
    </
tr>
</
table>
{/if}
{/foreach}

{if 
$smarty.capture.column == 0}
<
td></td><td></td>
{/if}

{if 
$smarty.capture.column <= 1}
<
td></td><td></td>
</
tr></table>
{/if}
(To show the idea I have left out the oledrion content <td class="OLE ... /td>)



4493
ghia
Re: Who is Online [more]
  • 2008/8/31 17:09

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Add a custom block that executes the link you find under more.



4494
ghia
Re: wfchannel module
  • 2008/8/31 9:11

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Did you start with setting permissions?

Edit: Rephrased.



4495
ghia
Re: Fast Reply & Comment style - How ?
  • 2008/8/31 7:32

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


-1- It's in preference of the module (NewBB/CBB 3.08) : Enable Quick reply.
The login dialog is showed automatically, when users are not logged in.
-2- ?
Beware for making commenting to easy, or your site gets flooded with spam or you will have a day job for moderation.



4496
ghia
Re: webphoto again
  • 2008/8/31 2:12

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Nothing wrong with W2K. (I use it also still regulary!)
Do windows explorer - right click on directory - search - fill seek word in containing text box - click search and you get a list of files.



4497
ghia
Re: wfchannel module
  • 2008/8/31 2:06

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Maybe it should be put here on xoops.org too?



4498
ghia
Re: Error: mysql extension not loaded
  • 2008/8/31 0:45

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Did you check this?



4499
ghia
Re: HTML a tag <table> in XOOPS
  • 2008/8/30 17:01

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It's your editor that does that.
Remove all newlines and spaces between the table tags (table, tr, td, .. ).



4500
ghia
Re: Uploading Files/Folders
  • 2008/8/30 16:11

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Your problem got dispersed!
XOOPS is 'try before you buy'!
Quote:
You frigging people are amazing.
Now I can see why somebody wants to sell off the domain name.
Support around here is like pulling teeth from an alligator.
Trying to make friends?




TopTop
« 1 ... 447 448 449 (450) 451 452 453 ... 461 »



Login

Who's Online

223 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

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

Latest GitHub Commits