Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 25

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 03.10.2004, 16:23   #1 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Posts: 7
asci is on a distinguished road
PostIt Different styles of News items in startpage

Hi!

I would like to have different styles of News items in startpage. (The first news item would be bigger)
My problem is thet I can't find what identificates the News item to be the first in content.html.php

I think that I should search here somewhere, but I can't find it:

$row array
(first row is the first news item properties)
Code:
stdClass Object ( [id] => 13 [title] => Example News Item 2 [title_alias] => News2 [introtext] => _TEXT_ [fulltext] => _TEXT_ [state] => 1 [sectionid] => 1 [mask] => 0 [catid] => 1 [created] => 2004-07-07 11:54:06 [created_by] => 62 [created_by_alias] => [modified] => 2004-07-07 18:11:30 [modified_by] => 62 [checked_out] => 62 [checked_out_time] => 2004-10-03 13:49:13 [publish_up] => 2004-07-07 00:00:00 [publish_down] => 0000-00-00 00:00:00 [images] => IMAGES [urls] => [attribs] => [version] => 1 [parentid] => 0 [ordering] => 3 [metakey] => [metadesc] => [access] => 0 [hits] => 1 [rating] => [rating_count] => [author] => Administrator [usertype] => superadministrator [section] => The News [category] => Latest News [groups] => Public [text] => _TEXT_ ) 
stdClass Object ( [id] => 12 [title] => Example News Item 1 [title_alias] => News1 [introtext] => _TEXT_ [fulltext] => _TEXT_ [state] => 1 [sectionid] => 1 [mask] => 0 [catid] => 1 [created] => 2004-07-07 11:54:06 [created_by] => 62 [created_by_alias] => [modified] => 2004-07-07 18:05:05 [modified_by] => 62 [checked_out] => 00 [checked_out_time] => 0000-00-00 00:00:00 [publish_up] => 2004-07-07 00:00:00 [publish_down] => 0000-00-00 00:00:00 [images] => IMAGES [urls] => [attribs] => [version] => 1 [parentid] => 0 [ordering] => 2 [metakey] => [metadesc] => [access] => 0 [hits] => 1 [rating] => [rating_count] => [author] => Administrator [usertype] => superadministrator [section] => The News [category] => Latest News [groups] => Public [text] => _TEXT_ )
$params array
(first row is the first news item properties)
Code:
mosparameters Object ( [_params] => stdClass Object ( [leading] => 1 [intro] => 2 [link] => 1 [image] => 1 [page_title] => 0 [header] => Welcome to the Frontpage [orderby_sec] => front [print] => 0 [pdf] => 0 [email] => 0 [orderby_pri] => [columns] => 2 [pagination] => 2 [pagination_results] => 1 [description] => 1 [description_image] => 1 [back_button] => 0 [pageclass_sfx] => [intro_only] => 1 [link_titles] => 0 [author] => 1 [createdate] => 1 [modifydate] => 1 [rating] => 0 [icons] => 1 [readmore] => 1 [section] => 0 [section_link] => 0 [category] => 0 [category_link] => 0 [introtext] => 1 [item_title] => 1 [url] => 1 ) [_raw] => leading=1 intro=2 link=1 image=1 page_title=0 header=Welcome to the Frontpage orderby_sec=front print=0 pdf=0 email=0 [_path] => [_type] => component [_xmlElem] => )
mosparameters Object ( [_params] => stdClass Object ( [leading] => 1 [intro] => 2 [link] => 1 [image] => 1 [page_title] => 0 [header] => Welcome to the Frontpage [orderby_sec] => front [print] => 0 [pdf] => 0 [email] => 0 [orderby_pri] => [columns] => 2 [pagination] => 2 [pagination_results] => 1 [description] => 1 [description_image] => 1 [back_button] => 0 [pageclass_sfx] => [intro_only] => 1 [link_titles] => 0 [author] => 1 [createdate] => 1 [modifydate] => 1 [rating] => 0 [icons] => 1 [readmore] => 1 [section] => 0 [section_link] => 0 [category] => 0 [category_link] => 0 [introtext] => 1 [item_title] => 1 [url] => 1 ) [_raw] => leading=1 intro=2 link=1 image=1 page_title=0 header=Welcome to the Frontpage orderby_sec=front print=0 pdf=0 email=0 [_path] => [_type] => component [_xmlElem] => )
Thanks for help.

(sorry for my poor English)
asci is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 04.10.2004, 22:24   #2 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Posts: 7
asci is on a distinguished road
Default Re: Different styles of News items in startpage

OK, I found it, the key is the $leading variable from content.php.
Now, when I know this, I will be able to build a very different style.
asci is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frontpage News Items scotttt Mambo 4.5 'How Do I' Questions 1 11.09.2004 00:31
Hack: Separator for news items in frontpage quiquedcode Mambo 4.5 'How Do I' Questions 2 30.08.2004 02:19
Seperate news items Johnboat Mambo 4.5 'How Do I' Questions 0 23.08.2004 23:03
Conten / News / News Items Neotop Mambo 4.5 Allgemein 2 10.08.2004 11:06
News Items? chmartin1 Mambo 4.5 'How Do I' Questions 2 11.05.2004 19:29


All times are GMT +2. The time now is 14:07.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.