Page 1 of 2
Frontend User Listing Detail page
Posted: Sun Jan 20, 2008 8:19 am
by giggler
I'm not able to get the detail page to show. When i click on the listing link, it goes to a blank page. FEU is currently under customcontent. I've also updated with the following and it's still the same. What do I need to check for?
http://www.companytools.nl/index.php?pa ... erslisting
Re: Frontend User Listing Detail page
Posted: Sun Jan 20, 2008 12:29 pm
by bterkuile
I think I still work with the FrontEndUserListing you downloaded from the companytools website, and it still works with the newest cmcms installations. Not the older ones, that is the reason I created this package. I have not looked at the package, but a can give a few hints in finding the problem. If you get a total white screen, there often is a php error, If you can retrieve that error that would be helpful.
I will give my basic templates that work for me:
Summary template:
Code: Select all
<!-- Start FrontEndUserListing Summary Template -->
<!-- To access properties, use dots, not arrows. E.g.: prop.first_name -->
<table width="100%" border="1">
<tr>
{foreach from=$listheader item=hprop}
<th>{$hprop}</th>
{/foreach}
</tr>
{foreach from=$items item=entry}
<tr>
<!-- Link to user details is used as a key for compatibility with v.0.1. -->
{foreach from=$entry item=prop key=key}
<td><a href="{$entry.detlink}">{$prop}</a></td>
{/foreach}
</tr>
{/foreach}
</table>
<!-- End FrontEndUserListing Summary Template -->
Details template:
Code: Select all
<!-- Start FrontEndUserListing Details Template -->
<!-- To access properties, use dots, not arrows. E.g.: prop.first_name -->
<table width="100%" border="1">
{foreach from=$items item=entry}
<tr>
<td>{$entry->prompt}</td>
<td>{$entry->data}</td>
</tr>
{/foreach}
</table>
<!-- End FrontEndUserListing Details Template -->
Re: Frontend User Listing Detail page
Posted: Sun Jan 20, 2008 3:38 pm
by giggler
I think I have the same templates...
Any idea how to test for php error or debugging stuff? I'm a bit clueless on that...
Re: Frontend User Listing Detail page
Posted: Mon Jan 21, 2008 7:35 am
by bterkuile
Php errors are server dependent, but if the server you use has some kind of basic installation, try setting the
in the config.php file. Otherwize search for a file named php_error.log.
Re: Frontend User Listing Detail page
Posted: Mon Jan 21, 2008 3:56 pm
by giggler
Thanks - I actually just found this and now the detail page works:
http://dev.cmsmadesimple.org/tracker/in ... 3&atid=527
I downloaded the companytool version, but unless I have the wrong one it doesn't have the above fixes in it. I've downloaded so many things/patches/version of modules - I sometime get mixed up of what's the most recent and what needs more patches!
Have you had a lot of user listings? I was wondering what happens when you have a lot...is it paginated?
Re: Frontend User Listing Detail page
Posted: Tue Jan 22, 2008 2:04 pm
by bterkuile
Are you sure that the companytools version does not work? Because I just checked and the fixed mentioned in the patch are build in to these version. Are you sure you replaced the module right?
For the many user thing, I think they just will be displayed all at once.
Re: Frontend User Listing Detail page
Posted: Wed Jan 23, 2008 1:44 am
by giggler
I've contacted the creator of this module and he's going to work on a couple of things including pagination and more than one group. He won't have time until after march, but this will be my contribution towards cmcms....since I can't code.
bterkuile - I think you're right. I must have had another version. Hard to keep track of all version when they untar and creates their own folder.
Have you used the feuser search tag?
Re: Frontend User Listing Detail page
Posted: Wed Jan 23, 2008 2:43 am
by cubix
giggler: calguy started a project awhile ago to replace (or based on) feulisting. cant remember what it was called but i can look tonight if needed.
Re: Frontend User Listing Detail page
Posted: Wed Jan 23, 2008 3:46 am
by giggler
Nice, if you can find it - that'll be great.
I've tried searching all things user,listing,feuser,front,end in the dev section and didn't notice anything else...
=)
Re: Frontend User Listing Detail page
Posted: Wed Jan 23, 2008 4:42 am
by cubix
http://dev.cmsmadesimple.org/projects/userdirectory/
ok, no files release and nothing in the svn. sorry
Registered: 2007-09-30 so there might be something in the pipeline. might wanna ask calguy1000 on irc if he plans any work on this module in the near future. seems he is pretty dedicated to the new wave of ecommerce at tho moment.
Re: Frontend User Listing Detail page
Posted: Wed Jan 23, 2008 4:47 am
by calguy1000
aw fsck.... I thought I at least released the files for that.
I think that was a module written by Ted and sponsored by another user that I 'inherited'.
I honestly, haven't even run the UserDirectory module to see what it does... but I do know that some enhancements were made to FEU a while back so that UserDirectory could display pictures and stuff.
Keep nagging me, I'll see about uploading this thing so people can take a look at it....
Re: Frontend User Listing Detail page
Posted: Wed Jan 23, 2008 5:08 am
by cubix
nag..
im keen for a look if you find time to submit something to the svn.
the whole feu and feulisting part of my site has been on the backburner for a few months as i need to figure out exactly how it is going to work.
but anything thats an improvement on feulisting would be great.
Re: Frontend User Listing Detail page
Posted: Wed Jan 23, 2008 5:16 am
by calguy1000
Okay, the UserDirectory.zip file has been uploaded to the forge.
Your mileage may vary
No warrantee implied or expressed
use at your own risk
may your personal god have mercy upon your soul.
if it works for you to some degree, well... we'll go from there.
Re: Frontend User Listing Detail page
Posted: Wed Jan 23, 2008 5:19 am
by cubix
thank you. ill have a look on my dev server tomorrow.
Re: Frontend User Listing Detail page
Posted: Wed Jan 23, 2008 6:14 am
by giggler
Fun!! - thanks calguy - I love testing out any modules you make/inherit...
I guess this one creates an alphabetical listing