Results 1 to 7 of 7

Thread: Different HTML on Activity Page

  1. #1
    Member runnertalk's Avatar
    Join Date
    Aug 2009
    Location
    Sweden
    Posts
    47
    Thanks
    8
    Thanked 2 Times in 2 Posts

    Question Different HTML on Activity Page

    I'm trying to learn making templates for Hotaru and are working on a design for my own site at the moment. I have come pretty far but I have a little problem with the activity page.

    If I understand it right, the page with all the activity are using the same html code as the sidebar widget? I'm want them to look different but I'm not sure how to do that. Anyone knows how to do it?

    Thanks in advance
    Runnertalk.net - Social News For Runners, follow me on Twitter

  2. #2
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,869
    Blog Entries
    88
    Thanks
    481
    Thanked 806 Times in 526 Posts

    Default

    I'll be back with a solution right after tea!

  3. #3
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,869
    Blog Entries
    88
    Thanks
    481
    Thanked 806 Times in 526 Posts

    Default

    Oooh... this isn't so easy, is it!

    This weekend I hope to combine all the recent changes into Hotaru 1.0.4. If you can hang on a day or two, I'll include a revamped Activity plugin that uses templates.

  4. #4
    Member runnertalk's Avatar
    Join Date
    Aug 2009
    Location
    Sweden
    Posts
    47
    Thanks
    8
    Thanked 2 Times in 2 Posts

    Default

    Great! No problem, I'm not in a hurry
    Runnertalk.net - Social News For Runners, follow me on Twitter

  5. #5
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,869
    Blog Entries
    88
    Thanks
    481
    Thanked 806 Times in 526 Posts

    Default

    I'm having a go at this RT, but it's very messy. There are a lot of conditions around each component which is making it hard to strip PHP from HTML and I'm thinking this might not be such a good idea.

    Could you be specific about how you want to display the output? Maybe I can separate the code into distinct User Profile, All Activity and Activity Widget sections with divs and class names to make them easier to manipulate? That would be easier than making templates for them. Thanks.

    Edit: Never mind, I've managed to get it all into templates. It's on the SVN Branch and will be on the trunk early this week.

  6. Thanked by:


  7. #6
    Member runnertalk's Avatar
    Join Date
    Aug 2009
    Location
    Sweden
    Posts
    47
    Thanks
    8
    Thanked 2 Times in 2 Posts

    Default

    I saw you added it to the latest update. Great work! Thanks
    Runnertalk.net - Social News For Runners, follow me on Twitter

  8. #7
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,869
    Blog Entries
    88
    Thanks
    481
    Thanked 806 Times in 526 Posts

    Default

    Hey RT, please note the extra line added to the activity and activity_profile templates in revision 1127:
    http://my-trac.assembla.com/HotaruCM...set/1127#file2

    They prevent activity items showing if their post has been buried.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Activity 1.1
    By Nick in forum Plugin Downloads
    Replies: 34
    Last Post: 09-01-2011, 07:36 AM
  2. [Done] Activity Stream
    By angolanmade in forum Plugin Suggestion Box
    Replies: 1
    Last Post: 11-08-2009, 12:40 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •