Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Downloads 1.2 Layout / Design / Templates
  • Posted: 09.08.2007, 06:25
     
    tlombardini
    rank:
    Freshman Freshman
    registered:
     July 2004
    Status:
    offline
    last visit:
    02.10.07
    Posts:
    13
    Hello, my name is Tomas and I have a problem with the Downloads 2.1 module. I need to modify this module to result in a more simple desing. For example I want to quit the "comments" button, or move the button "Download" to another place.. and make that each file download div smaller... etc
    Do you understand me? (Sorry, my english ins't good).
    OK, can I do this only modifing the CSS styles? No nO? I need to work in the template code or not? But the template code is very difficult to understund :(

    Can anybody help me with this? :(

    Thanks a lot!

    --
    Tomás
  • Posted: 09.08.2007, 08:47
     
    nestormateo
    rank:
    Professional Professional
    registered:
     September 2006
    Status:
    offline
    last visit:
    22.11.08
    Posts:
    1451
    Well Tomas!
    You're right! Downloads 2.1 has a very difficult layout.

    I've modified the templates, 'user_display' to change the disposition of the buttons, and title, description, etc.

    I've changed the buttons for direct links, for another site...
    and in general, a little hard work, but with a little changes to the templates and add some classes to the CSS you can do it.

    You can see my changes here:
    http://www.asoinca.org/module-Downloads.htm

    see ya

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Posted: 09.08.2007, 18:06
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    Well, I guess what you really could do is first define what each function does. For example, code yourself a nice list with exposed comments. And temporary replace your template with code similar to the example below:

    Code

    <ol>
    <li>Funtion: AmmoDump.Rocks <br />
    Result: This function states that AmmoDump Rocks<br />
    Example: <!--[$AmmoDump.Rocks]--><br /></li>

    <li>Funtion: DavesAwesome <br />
    Result: This function returns examples of Dave being Awesome<br />
    Example: <!--[$DavesAwesome]--><br /></li>
    </ol>


    Once you have discovered what each function does, you can start to edit your template from scratch as your vision needs. Depending on your skill level you may find this is not as difficult as you think.

    --
    David Pahl
    Zikula Support Team

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula