Add Publicly Viewable page in Profile
Permalink
Hi!
I'll just state the problem, keep in mind that I'm not a PHP developer. I'm creating a social network for web designers Base93.tk
I need to add a page so designers can showcase their work, to do so, I added an image attribute to the editable areas in the user profile, and even added the single page and it IS displayed in the sidebar, but it just returns a blank page.
Right now, I have something that looks like this:
(Remember, I DO NOT know PHP)
Is there a way to do this? Or at least to show them on the main profile page. I just need to echo the image, instead of a link (as it is currently displayed).
It would be even better if it was possible to add a slideshow block that the current user could edit, yet all the other users could see.
Thanks in advance.
I'll just state the problem, keep in mind that I'm not a PHP developer. I'm creating a social network for web designers Base93.tk
I need to add a page so designers can showcase their work, to do so, I added an image attribute to the editable areas in the user profile, and even added the single page and it IS displayed in the sidebar, but it just returns a blank page.
Right now, I have something that looks like this:
<?php defined('C5_EXECUTE') or die("Access Denied."); ?> <div id="ccm-profile-wrapper"> <?php Loader::element('profile/sidebar', array('profile'=> $profile)); ?> <div id="ccm-profile-body"> <h1><?php echo t('My Showcase') ?></h1> <div> <label><?php echo $ua->getKeyName()?></label> <?php echo $profile->getAttribute('Image1');->getVersion()->getRelativePath());?> </div> <?php } ?> </div> </div> <?php $a = new Area('Main'); $a->setAttribute('profile', $profile);
Viewing 15 lines of 22 lines. View entire code block.
(Remember, I DO NOT know PHP)
Is there a way to do this? Or at least to show them on the main profile page. I just need to echo the image, instead of a link (as it is currently displayed).
It would be even better if it was possible to add a slideshow block that the current user could edit, yet all the other users could see.
Thanks in advance.