Author Topic: Random Members - How to modify?  (Read 50 times)

onlineservices

  • Veteran Member
  • *****
  • Posts: 241
  • Karma: +0/-0
Random Members - How to modify?
« on: May 30, 2018, 05:26:29 AM »
I would like to modify the word Random Members into some other name . But unable to locate it  in Member Widget. Where shall i find it ?

Any Suggestion?

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3104
  • Karma: +210/-7
    • Maverick Webworks
Re: Random Members - How to modify?
« Reply #1 on: May 30, 2018, 08:24:30 AM »
Unfortunately it's not easy to change the title name for "Random Members", and if you wanted to have 2 random widgets, for example "Random Men" and "Random Women", it's not possible to change the name for different multiple random members.

In newer versions of Etano (since about version 2.40) the template for widgets on the index page was modified.

The old method you simply added your widget codes like this to your index.html file  ...
Code: [Select]
<!--widget="members(array('mode'=>'new','area'=>'front','total'=>12))"-->
 
<!--widget="members(array('mode'=>'rand','area'=>'front','total'=>12))"-->

Widget codes are now added like this ...
Code: [Select]
<!-- Newest Members widget -->
<div class="front-widget">
<h3>Newest Members</h3>
<!--widget="members(array('mode'=>'new','area'=>'front','total'=>12))"-->
</div><!-- End Newest Members widget -->

<!-- Random widget -->
<div class="front-widget">
<h3>Random Members</h3>
<!--widget="members(array('mode'=>'rand','area'=>'front','total'=>12))"-->
</div><!-- End Random widget -->

<!-- Latest Blog widget -->
<div class="front-widget">
<h3>Latest Blog</h3>
<!--widget="blogs(array('mode'=>'new','area'=>'front','total'=>1))"-->
</div><!-- End Latest Blog widget -->

The index.css file was modified for the styling and the old <h2> titles are hidden and now uses <h3> for title names which allows the widget title names to be easily changed directly in the index.html file to whatever you want.

This is for the default template, if your using a 3rd party template it may be different and possibly may have already been coded and styled in a similar manner where you can also simply change the widget title names directly in the index.html file.

By a previous post you made this may be the case for you:
http://forum.datemill.com/index.php?topic=4972.msg22493#msg22493

Check your index.html file and see if the widget title name "Random Members" exists, and if it does try changing it to something else, such as "Featured Members" (or whatever you like).

If you happen to be using the Etano default template, download the most recent version and implement the index.html and index.css files.

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.