How do I edit the entries ?

how do i edit the display entries, for example the bookmarks on this front page http://www.massbase.com. I want the username of the bookmark poster to be right next to the Title of the bookmark .?

  • yeah but how do i change what is in $area6

     

    why do i get the feeling you know how but just wouldnt help.

  • do you see the content dump ?

    hmm...

    try playing with $var6

    e.g.

    $MyVar = $var6

    . . . . Do whatever php string manipulations you want with $MyVar..

    and then $var6 =- $MyVar;

    echo $var6;

     

  • yeahs it dumps the entries but in a fixed text, and a fixed text, i cant edit what is in $var6

  • yes you can.... ! ! ! ! !  ;-)

    cut / paste your $var6 here

     

  • This is what i get from the page source, it just dumps this following html, This is what .... echo $vars['area6']; ..... is dumping as html.

    <!-- display latest bookmarks -->
    <div class="index_box">
    <h2>Latest bookmarks</h2>

    <div class="search_listing">

    <div class="search_listing_icon">
    <div class="usericon">
    <div class="avatar_menu_button"><img src="http://www.massbase.com/community/_graphics/spacer.gif" border="0" width="15px" height="15px" /></div>

    	<div class="sub_menu">
    <a href="http://www.massbase.com/community/pg/profile/admin"><h3>Admin</h3></a>

    <p class="user_menu_profile">
    <a href="http://www.massbase.com/community/pg/profile/admin">Profile</a>
    </p>
    <p class="user_menu_friends">
    <a href="http://www.massbase.com/community/pg/friends/admin/">Friends</a>
    </p>
    	<p class="user_menu_friends_of">
    <a href="http://www.massbase.com/community/pg/friendsof/admin/">Friends of</a>
    </p>
    <p class="user_menu_blog">
    <a href="http://www.massbase.com/community/pg/blog/admin">Blog</a>
    </p> </div>
    <a href="http://www.massbase.com/community/pg/profile/admin" class="icon" ><img src="http://www.massbase.com/community/mod/profile/icondirect.php?lastcache=1242913640&username=admin&size=small" border="0" title="Admin" /></a>
    </div>

    </div>
    		<div class="search_listing_info">
    <p class="shares_gallery_title">-: <a href="http://www.massbase.com/community/pg/bookmarks/admin/read/8/psdtuts-photoshop-tutorials">Psdtuts Photoshop Tutorials</a> (<a href="http://www.psdtuts.com">~ goto</a>)</p><p class="owner_timestamp"><a href="http://www.massbase.com/community/pg/bookmarks/admin">Admin</a> 9 hours ago</p> </div>

    </div>


    <div class="search_listing">
    	
    <div class="search_listing_icon">
    <div class="usericon">
    <div class="avatar_menu_button"><img src="http://www.massbase.com/community/_graphics/spacer.gif" border="0" width="15px" height="15px" /></div>

    <div class="sub_menu">
    <a href="http://www.massbase.com/community/pg/profile/admin"><h3>Admin</h3></a>

    <p class="user_menu_profile">
    <a href="http://www.massbase.com/community/pg/profile/admin">Profile</a>
    </p>
    	<p class="user_menu_friends">
    <a href="http://www.massbase.com/community/pg/friends/admin/">Friends</a>
    </p>
    <p class="user_menu_friends_of">
    <a href="http://www.massbase.com/community/pg/friendsof/admin/">Friends of</a>
    </p>
    <p class="user_menu_blog">
    <a href="http://www.massbase.com/community/pg/blog/admin">Blog</a>
    </p> </div>
    <a href="http://www.massbase.com/community/pg/profile/admin" class="icon" ><img src="http://www.massbase.com/community/mod/profile/icondirect.php?lastcache=1242913640&username=admin&size=small" border="0" title="Admin" /></a>
    </div>

    </div>
    <div class="search_listing_info">
    <p class="shares_gallery_title">-: <a href="http://www.massbase.com/community/pg/bookmarks/admin/read/4/nettuts-tutorials">Nettuts Tutorials</a> (<a href="http://www.nettuts.com">~ goto</a>)</p><p class="owner_timestamp"><a href="http://www.massbase.com/community/pg/bookmarks/admin">Admin</a> 9 hours ago, <a href="http://www.massbase.com/community/pg/bookmarks/admin/read/4/nettuts-tutorials">Comments (1)</a></p> </div>

    </div>
    	
    </div>

     

     

    My problem is i cannot find where to edit this html that echo $vars['area6']; is outputting

  • why do i get the feeling you know how but just wouldnt help.

    There is such a thing as etiquette Sirwan and from the number of discussions / threads you post on regarding your current troubles, your attitude in your wire posts etc; sit there and think maybe your etiquette and way of wording your "Seeking Help" plus over kill at times of your "Tone of Type" in CAPITALS is not helping your case.

    Just my opinion as I have followed this and a few other articles of yours. ;)

  • @Rob not to worry ;-) Sirwan is a UK'er.. your neighbourhood lol... I got him on IM and explained a few things re: elgg for him. He might be OK once he starts looking at some serious Elgg coding.. And of course he has the "master guru" guiding him lol;;;;;; ps: he admits to being a pain ;-) he's just a little confused and lost.. that's all..

  • I got it!!!!

     

    The file to look into and change is in the mod/bookmark/views/default/object/bookmarks.php

     

    thanks to dhrup for giving me the support not to quit.