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
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
UserPictures 1.1 module and columns in view mode
-
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 299
-
- Rank: Team Member
- Registered: Jan 19, 2003
- Last visit: Apr 06, 2010
- Posts: 442
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 -
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 299
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. -
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 299
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. -
- Rank: Softmore
- Registered: Dec 31, 1969
- Last visit: May 25, 2010
- Posts: 326
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 -
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 299
Thanks for the help. I have replaced UserPictures with Mediashare as this is working out a little better for me with this theme.
Marc
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
