Frontend User Listing Detail page

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Frontend User Listing Detail page

Post 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
bterkuile
Forum Members
Forum Members
Posts: 97
Joined: Sun Jul 22, 2007 11:48 am

Re: Frontend User Listing Detail page

Post 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 -->
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: Frontend User Listing Detail page

Post 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...
bterkuile
Forum Members
Forum Members
Posts: 97
Joined: Sun Jul 22, 2007 11:48 am

Re: Frontend User Listing Detail page

Post by bterkuile »

Php errors are server dependent, but if the server you use has some kind of basic installation, try setting the

Code: Select all

$config['debug'] = true;
in the config.php file. Otherwize search for a file named php_error.log.
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: Frontend User Listing Detail page

Post 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?
bterkuile
Forum Members
Forum Members
Posts: 97
Joined: Sun Jul 22, 2007 11:48 am

Re: Frontend User Listing Detail page

Post 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.
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: Frontend User Listing Detail page

Post 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?
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: Frontend User Listing Detail page

Post 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.
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: Frontend User Listing Detail page

Post 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...

=)
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: Frontend User Listing Detail page

Post by cubix »

http://dev.cmsmadesimple.org/projects/userdirectory/

ok, no files release and nothing in the svn. sorry :P

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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Frontend User Listing Detail page

Post 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....
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: Frontend User Listing Detail page

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Frontend User Listing Detail page

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: Frontend User Listing Detail page

Post by cubix »

thank you. ill have a look on my dev server tomorrow.
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: Frontend User Listing Detail page

Post by giggler »

Fun!! - thanks calguy - I love testing out any modules you make/inherit...

I guess this one creates an alphabetical listing
Post Reply

Return to “CMSMS Core”