Fork me on GitHub

UserPictures 1.1 module and columns in view mode  Bottom

  • I was wondering it anyone could help. I use UserPictures1.1 and my theme can only accommodate 3 columns rather than the 4 columns that it normally uses. Would anyone know how I could get it to display in 3 columns? I have gone through the preferences, but there is nothing to change the number of columns.

    Marc
  • Override the view template in the same way I explained you for News in this posting.

    Background history: since version .750 where templating was originally introduced the amount of config fields has been reduced in the admin panel of many modules. The idea is that a huge amount of configuration options can often lead to conflicting settings. Also it can become very tedious and therefore less usable.
    A possible example is the formatting of dates in news articles. One could imagine a dropdown select to choose between different formats in the admin panel. But then the next user wants to have format A in the list view, but format B in the detail view. You can continue this endlessly with the negative effect that at some point almost no developers keep able to understand and maintain such evolvements.

    This is why only basic and most important options are configurable per default. For cosmetic changes you get full freedom with templating as all output can be simply changed by copying and changing according template files.

    --
    Guite | ModuleStudio
  • Thanks for the note Guite as well as the background. I think I have gotten the hang of templating. The problem I am having is finding the right file to mod.

    I have looked through all of the user_view files and can't seem to find the code that creates the 4 column look. I just need help in identifying the file that sets the columns when the user is viewing the photos. You can see the pages I want to fix here: http://notabenebaroque.ca/index.php?module=UserPictures . There are 4 columns but I would like to mod the file to only show the photos in 3 columns.

    Marc

    Just as a side note, does the "Notify me when a reply is posted" work? I am not getting any emails notiying of replies.
  • The "Notify me ... " seems to work now. -- Marc

    I still can't figure out which file to mod. It isn't that evident in the code for me. I've left sent an email to the developer on his site.
  • When your working on the site templates it helps to check the box in the Debug settings section of the Rendering engine admin that says.

    "Embed template information within comments inside the source code of pages"

    This will put HTML comments with the name of the template that produced the output.

    --
    Damon
    Catamaran Sailing at TheBeachcats.com
  • Thanks for the help. I have replaced UserPictures with Mediashare as this is working out a little better for me with this theme.

    Marc
  • 0 users

This list is based on users active over the last 60 minutes.