61
tatane
TDMdownload : Create a column field in the block New Download
  • 2013/6/23 8:54

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Hello
TDMdownload currently on the block New Download uses a table to display the result. I would like to make it compatible bootstrap and only I have the div separated by columns. Example: To view 9 files I must 3 columns of 3 files.

In this block, there is no option column. Can you tell me what php file and add this function to create

thank you



62
tatane
Re: tdmdownloads and bootstrap
  • 2013/6/23 8:04

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Quote:

studioC wrote:
mylinks 2 column category list using unordered list

Look into the source, One unordered list using CSS to display a 2 colum Arrangement.


The problem is that the images in an array, the responsive system does not work so you have to create the div


Quote:
Can you show me the html Output of that, please?

Resized Image


and my preference tdmdownload

Resized Image


This means that there are 9 images on three columns. Unfortunately for the span of bootstrap I have to manually adjust the image according to the numbers



63
tatane
Re: tdmdownloads and bootstrap
  • 2013/6/23 7:20

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Hello studioC

I finally succeeded. Here is my code:

<{if $file != ""}>
<
div class="container-fluid">
    <
div class="row-fluid">
        <
ul class="thumbnails">
            <{
section name=i loop=$file}>
                <
li class="span4"><{include file="db:tdmdownloads_download.html" down=$file[i]}></li>
            <{if 
$file[i].count is div by $nb_dowcol}>
        </
ul>
        <
ul class="thumbnails">
            <{/if}>
            <{/
section}>
        </
ul>
    </
div>
</
div>
    <{if 
$pagenav != ''}>
        <
div class="tdmdownloads-pagenav"><{$pagenav}></div>
    <{/if}>
<{/if}>


This now allows for categories responsive bootstrap



64
tatane
tdmdownloads and bootstrap
  • 2013/6/22 9:57

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Hello
I'm trying to adapt the bootstrap tdmdownload module.

I would like to display on the page viewcat.php 4 images on two lines which therefore 8 images. To setup this kind of display, so I set my preference as :

Resized Image


Tdmdowloads_viewcat.html the side, I modified the template by adding span adaptable to make my pictures, here is the code tdmdowloads_viewcat.html


<{if $file != ""}>

<
div class="container-fluid">
<
div class="row-fluid">

    <
ul class="thumbnail">
    <{
section name=i loop=$file}>
        <
li class="span3"><{include file="db:tdmdownloads_download.html" down=$file[i]}></li>
    <{/
section}>
    </
ul>
    </
div>
</
div>    

    <{if 
$pagenav != ''}>
    <
div class="tdmdownloads-pagenav"><{$pagenav}></div>
    <{/if}>
<{/if}>


With this type of code that shows me <ul class="thumbnail"> for 8 images or having a span of 3, I need a <ul class="thumbnail"> for a column of 4 images.

Resized Image


What php file I need to change to create a class="thumbnail"> <ul between each column?



65
tatane
Re: is your XOOPS site responsive?
  • 2013/6/14 16:24

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


I love the design , simple and clean



66
tatane
Re: 2.6 a chance to get out of templates hell
  • 2013/6/12 9:02

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Hello
I also think it would be good to review the structure of themes today because they are overwhelmed.

For me, many basic things missing from the theme. For example, when we want to create a menu we have to go through the theme.hml to manually write the links and forwarding addresses. This stuff is easy for someone who knows HTML only for a beginner person is a drag. It is therefore necessary that all that is related to links through the core and a smarty base is incorporated directly into the theme.html like that, people will not have to put them manually.

Regarding the structure: Currently on Xoops we in three areas to determine preferences. Left blocks, the central blocks, the blocks on the right. If we want to add for example blocks we need to add footer in theme.html and plus they are not controllable from the preferences. If we look for example joomla, any changes made ​​to the structure theme is controllable from the core.

On joomla there are two large files to create or change a theme.

templateDetails.xml : It is he who determines the name of the position

Quote:

<positions>
<position>banner</position>
<position>debug</position>
<position>position-0</position>
<position>position-1</position>
<position>position-2</position>
<position>position-3</position>
<position>position-4</position>
<position>position-5</position>
<position>position-6</position>
<position>position-7</position>
<position>position-8</position>
<position>position-9</position>
<position>position-10</position>
<position>position-11</position>
<position>position-12</position>
<position>position-13</position>
<position>position-14</position>
<position>xdposition-14</position>
<position>footer</position>
</positions>


These positions are the basic ones present. If we want to add another we simply add more ex <position>xdposition-14</position>


It's position is determined by tp=1 option which allows you to see the structure of the theme:
Resized Image

ex : with the code we see that we have a location under the banner nome position-8

Resized Image

Quote:

<div id="sidebar" class="span3">
<div class="sidebar-nav">
<jdoc:include type="modules" name="position-8" style="xhtml" />
</div>
</div>



We have more than to select the location

Resized Image


index.php : Who is the equivalent of our theme.html of this file, we can build the template of our theme.

should also be an option where each widget developer themes add their own options according to their theme as is currently being done on WP.

On the framework: XOOPS 2.6 decide to make these themes with the framework, it is also very well only should any administration xoops and all modules are also developing with bootstrap because otherwise I do not see the interest.

Something which is very inconvenient currently on XOOPS is the smarty <{$xoops_contents}>. Currently with this system, we can not display the content of a module in a specific area that does not contain blocks.

Sorry for my english



67
tatane
Re: Problem system_redirect.html
  • 2013/6/8 17:52

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


It actually comes from. So without changing the essential core ?



68
tatane
Re: Problem system_redirect.html
  • 2013/6/8 13:24

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


in the template "default" the are in root/theme/default/system/system_redirect.html this

Quote:
<{if $isMsie}> <noscript> <meta http-equiv="refresh" content="0; url=<{xoAppUrl . xoops_theme_select=default}>" /> </noscript> <{/if}>


What is it <{if $isMsie}>?




69
tatane
Re: Problem system_redirect.html
  • 2013/6/8 12:50

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Ok

1 - Delete the theme named "default" in root / themes
2 - Disable jgrow
3 - Choose a theme preference / general / settings Default theme (example zetagenesis)
4 - Disconnect and then connect
5 - Go to preference / general settings and click ok

You will see that it does not work



70
tatane
Re: Problem system_redirect.html
  • 2013/6/8 10:38

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


no reponse ?




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 38 »



Login

Who's Online

265 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 265


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