the list field exist (that the many to many relationship which doesn't exist)
you have to create categories in the category module under the pagemaster module branch (/__SYSTEM__/Modules/pagemaster/lists/mylist) and put your items in mylist
don't forget to check the active checkbox when creating categories
edited by: mumuri, datetimebrief
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
Hey you! Try PageMaster 0.4
Go to page [-1] 1 - 2 - 3 - 4:
-
- Rank: Developer
- Registered: May 17, 2004
- Last visit: Apr 08, 2010
- Posts: 386
-
- Rank: Expert
- Registered: Feb 27, 2005
- Last visit: Apr 18, 2010
- Posts: 1577
I had difficulty with this and am still not sure I have sorted it out...
mumuri
you have to create categories in the category module under the pagemaster module branch (/__SYSTEM__/Modules/pagemaster/lists/mylist) and put your items in mylist
I wanted two separate lists available, one for each of two separate fields. When I did it as above, I had trouble.
However, when I worked through PM 0.4 there was a tool icon associated with the multilist field and I used that, and it allowed me to create a separate list for each of the two fields. I have not gone back to play wth this to be sure enough to offer firm documentation. I was working late at night after several glasses of wine.....
--
Peace
______________________________________
The commonest cause of problems is solutions. -
- Rank: Developer
- Registered: May 17, 2004
- Last visit: Apr 08, 2010
- Posts: 386
i talk about pagemaster 0.3 i don't know if they have changed the system between the two version -
- Rank: Expert
- Registered: Feb 27, 2005
- Last visit: Apr 18, 2010
- Posts: 1577
mumuri
i talk about pagemaster 0.3 i don't know if they have changed the system between the two version
There are a number of changes (improvements!) on 0.4 and it is a big step forward from 0.3 - thanks team. It appears that the documentation will need some adjusting. As PM is going to be a major module for me, I hope to find some time in the near future to play with it and push the edges a bit, after which I will pitch in with docs.
--
Peace
______________________________________
The commonest cause of problems is solutions. -
- Rank: Helper
- Registered: Dec 31, 1969
- Last visit: May 07, 2010
- Posts: 507
Yeah, I tried working with the categories too and it doesn't wouldn't show up. I would *really* appreciate a step by step of how to get two sample items to show up in a list. -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
And for the ones who might care, I think I wrote my first plugin for pagemaster
Code
function smarty_function_pagemaster_readpubCount($params, &$smarty)
{
$dom = ZLanguage::getModuleDomain('pagemaster');
$tid = $params['tid'];
if (!$tid) {
return LogUtil::registerError(__f('Error! Missing argument [%s].', 'tid', $dom));
}
$count = pnModAPIFunc('pagemaster', 'user', 'pubList',
array( 'tid' => $tid,
'countmode' => 'just',
'filter' => $filter));
if (isset($params['assign'])) {
$smarty->assign($params['assign'], $count['pubcount']);
} else {
return $count['pubcount'];
}
}
It seems to work
Although I still have to figure out what exact the countmode both/just is ...
- Igor -
- Rank: Expert
- Registered: Feb 27, 2005
- Last visit: Apr 18, 2010
- Posts: 1577
I won't promise, but I hope to be able to run through a series of install and configure scenarios in the next 3-5 days as part of a project, after which I should be able to describe what works and what doesn't.
--
Peace
______________________________________
The commonest cause of problems is solutions. -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
OK, I've been setting up a webpage with pagemaster... no real stoppers have popped up... so job pretty well done so far
I have 3 publication set-ups:
1. simple news add
2. publication with title, image and description
3. simple calendar with start/end date, use of list with categories [in this case countries] and publication [in this case publication 2]
The only thing that doesn't work is a javascipt error in calendar.js [weekend undefinied], but IMHO a minor thing.
You can see the online demo [it's a project for someone I know] here:
http://www.renzoracing.be
surely to be continued
- Igor -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
So, in the publication list (public view) I want to show two of the bits of data stored in a publication. How do I do it? The pub is a list of schools, and I want to show the school name (title, showing already) and the State, is a list pulled from a category, so that may complicatie things. I have used pndebug to show me the variables available, but so far haven't been able to show what I want.
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Freshman
- Registered: Dec 30, 2006
- Last visit: Apr 20, 2010
- Posts: 58
Hi,
I made some changes to blank theme so now under the top news link I have pagemaster tid=2.
In pageconfiguration.ini Im having
---
[pagemaster/user/viewpub/tid=2]
news.ini
---
so at the end when Im viewing a pub tid=2 pid=xxx News link is highlighted as current
how can I make same for list of publications.
I have already tried
[pagemaster/user/tid=2]
news.ini
[pagemaster/user/main/tid=2]
news.ini
[pagemaster/tid=2]
news.ini
[pagemaster/user/publist/tid=2]
news.ini
and have no idea how to make it working...
--
rgfdgafgaf -
- Rank: Freshman
- Registered: Sep 28, 2004
- Last visit: Apr 25, 2010
- Posts: 61
0.4RC is a good version (but maybe I begin to understand the pagemaster philosophy...).
I have a problem in pubview with Mediashare field.
Reading Mediashare doc, I found how to add a media from the Mediashare popup selector. But I'm unable to find the data in the view mode.
In edit mode, pndebug give me the file's location, but in view mode, pndebug indicates an empty array.
Is it me or a bug?
Go to page [-1] 1 - 2 - 3 - 4:
- Moderated by:
- Support
