By loic on Monday, 06 October 2014
Replies 13
Likes 0
Views 1K
Votes 0
Hello,

is there a way to extend by default the user details submenu ?
some changes to make in user profil template ?

thanks in advance for your help

Loïc

it'll be much more clear when someone view a user profil...
can i suggest to have this activated by default in core file ?
Hello loic,

If you want to customize the layout there, edit the file /components/com_easysocial/themes/wireframe/profile/default.php
·
Monday, 06 October 2014 14:29
·
0 Likes
·
0 Votes
·
0 Comments
·
hello mark
thanks
any further help ?

someone in the community can help me on that ?

thanks in advance
loïc
·
Monday, 06 October 2014 14:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Loic,

You will need to actually add your own html codes in that file
·
Monday, 06 October 2014 14:49
·
0 Likes
·
0 Votes
·
0 Comments
·
hello,
i have founded that code in the template file mark suggest me :

						<?php if (!empty($infoSteps)) { ?>
<?php foreach ($infoSteps as $step) { ?>
<?php if (!$step->hide) { ?>
<li
class="<?php if ($step->active) { ?>active<?php } ?>"
data-profile-apps-item
data-layout="custom"
>
<a class="ml-20" href="<?php echo $step->url; ?>" title="<?php echo $step->title; ?>" data-info-item data-info-index="<?php echo $step->index; ?>">
<i class="ies-info ies-small mr-5"></i> <?php echo $step->title; ?>
</a>
</li>
<?php } ?>
<?php } ?>
<?php } ?>


Is there someone in the community that can help me (i really not have php skills to deal with that)

thanks in advance

Loïc
·
Friday, 10 October 2014 00:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello loic,

I can provide some hints You can try this,


<?php if (!empty($infoSteps)) { ?>
<?php foreach ($infoSteps as $step) { ?>
<?php if (!$step->hide) { ?>
<li
class="<?php if ($step->active) { ?>active<?php } ?>"
data-profile-apps-item
data-layout="custom"
>
<a class="ml-20" href="/<?php echo $step->url; ?>" title="<?php echo $step->title; ?>" data-info-item data-info-index="<?php echo $step->index; ?>">
<i class="ies-info ies-small mr-5"></i> <?php echo $step->title; ?>
</a>
</li>
<?php } ?>
<?php } ?>
<li>
<a class="ml-20" href="http://something">Something</a>
</li>
<?php } ?>
·
Friday, 10 October 2014 02:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark
and thank you for this

but i can't use it

because i do not have to always show fix submenu... only the ones from tabs that are not empty (i some fields are all empty)

this happen right when you click on "View Full Profile" link
you go to page : /community/profile/username/about
is this page use an other template file ? may be i can pick-up code there and paste in default.php ??

Loïc
·
Friday, 10 October 2014 14:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello loic,

Hm, not really sure if I understand you here but as posted in my reply above, the template file is in /components/com_easysocial/themes/wireframe/profile/default.php
·
Saturday, 11 October 2014 04:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello mark and the community,

I am still playing (or fighting ) with code and realize that i am really not skilled

to extend by default the user profil details submenu in profile view :

I have took this code from /components/com_easysocial/themes/wireframe/profile/default.about.php
<?php if( $steps ){ ?>
<?php $i = 0; ?>
<?php foreach( $steps as $step ){ ?>
<?php if( !$step->hide ) { ?>
<li class="tab-item<?php echo $i == 0 ? ' active' : '';?>" data-profile-about-step-item data-for="<?php echo $step->id; ?>">
<a href="javascript:void(0);"><?php echo $step->get( 'title' ); ?></a>
</li>
<?php } ?>
<?php $i++; ?>
<?php } ?>
<?php } ?>


and tried to insert in /components/com_easysocial/themes/wireframe/profile/default.php
instead of :
<?php if (!empty($infoSteps)) { ?>
<?php foreach ($infoSteps as $step) { ?>
<?php if (!$step->hide) { ?>
<li
class="<?php if ($step->active) { ?>active<?php } ?>"
data-profile-apps-item
data-layout="custom"
>
<a class="ml-20" href="<?php echo $step->url; ?>" title="<?php echo $step->title; ?>" data-info-item data-info-index="<?php echo $step->index; ?>">
<i class="ies-info ies-small mr-5"></i> <?php echo $step->title; ?>
</a>
</li>
<?php } ?>
<?php } ?>
<?php } ?>



to extend by default the user profil details submenu in profile view...

but it doesn't work because of unknown variables and invalid foreach...


Can someone suggest me some changes to reach my need ???
or is it impossible way ?

thanks in advance

Loïc
·
Friday, 31 October 2014 04:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Loic,

I am really sorry but unfortunately this requires quite a bit of work and we would not be able to provide you with the customization codes Perhaps someone else might be able to assist you with this?
·
Friday, 31 October 2014 11:31
·
0 Likes
·
0 Votes
·
0 Comments
·
hello mark
no problem i understand

hope someone else in the community can help

have a nice day
loïc
·
Friday, 31 October 2014 22:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for understanding loic
·
Friday, 31 October 2014 23:45
·
0 Likes
·
0 Votes
·
0 Comments
·
loic, you should look for a joomla freelancer.
its very doable but it's more than a 2m fix
just debug a simple error took me 10 hrs last week to code a 2hrs things...
However a moderate skilled programmer shall be able to do that for you :P

Alex
·
Saturday, 01 November 2014 12:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Alex
·
Saturday, 01 November 2014 15:25
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post