Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: Separating info line tags and placing into divs  (Read 1715 times)

risingSun

  • Newbie
  • *
  • Karma: 0
  • Posts: 11
Separating info line tags and placing into divs
« on: January 13, 2008, 11:43:51 PM »

Hello friends,

I was searching this forum for solution of my design problem but I can't find enything related to snewsMU 1.6 (I have latest release 1.6.3), and because I'm not experienced php programmer I don't want to mess up with this code.

I would like to separate info line in this way:
Sample article title
Added by User in Example category
Article text. Ullamco laboris nisi duis aute irure dolor in reprehenderit in voluptate. Cupidatat non proident, ut enim ad minim veniam, excepteur sint occaecat. Eu fugiat nulla pariatur. Duis aute irure dolor sunt in culpa mollit anim id est laborum.
Comments (12)  Read more...

I want also to position info line into divs like this, so I can have more control over positioning:
<div class="authorAndCategory">
   <div class="author">Added by User</div>
   <div class="category">in Example category</div>
</div>
<div class="commentsAndReadmore">
   <div class="commentsLine">Comments (12)</div>
   <div class="readmoreLine">Read more...</div>
</div>

I found some responses but they are pointed to locked solucija.com forum,
also similar resolution is on this page but it is for regular (one user) snews:
http://snewscms.com/forum/index.php?topic=5296.0

Thank you.
Logged

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6019
  • Semantically Challenged
    • snews.ca
Re: Separating info line tags and placing into divs
« Reply #1 on: January 14, 2008, 12:20:53 AM »

Bram's solution on that page should work OK with the snewsMU.php file as well. It doesn't appear to include any changes that would affect the MU modifications. Fred K's scripts do contain a couple of user session checks... but if you are careful to substitute the MU user-check strings in those locations (they are all noted with comment strings) for the Single User strings... Fred's scripts should also work... if they worked for him.  :)
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

Austerix

  • Newbie
  • *
  • Karma: 0
  • Posts: 25
  • Destruyendo se aprende!
Re: Separating info line tags and placing into divs
« Reply #2 on: June 20, 2012, 05:55:53 PM »

any suggestions . ;D
Logged