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 21.03.2005, 14:16   #1 (permalink)
Baby Mamber
 
Join Date: Mar 2005
Posts: 14
lulu is on a distinguished road
Talking Modifying content.html.php

Could somebody give me an idea please where in content.html.php I make changes to what appears in Frontpage News. I would like to alter the layout however this file is daunting.
lulu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 21.03.2005, 16:25   #2 (permalink)
Expert Mamber
 
quiquedcode's Avatar
 
Join Date: Jun 2004
Location: San Juan, Argentina
Posts: 306
quiquedcode will become famous soon enough
Send a message via ICQ to quiquedcode Send a message via MSN to quiquedcode Send a message via Yahoo to quiquedcode
Default Re: Modifying content.html.php

you're right
it is a little confusing, but u must have in account that this file works with all the parameters you set in backend section, for example:

for showing category before news title (in frontpage) i had to set it from backend, and then put this line

HTML_content::Section_Category( $row, $params );

before this

HTML_content::Title( $row, $params, $link_on, $access );

but had to be some large minutes trying to figure this...

if u want to do some specific thing, i think you will have to ask this
__________________
Enrique Becerra
MSN: qbecerra @ hotmail.com
ICQ: 18048153
www.beza.com.ar

"If you pay peanuts, you will get monkeys!" - ChicoMendez
quiquedcode is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21.03.2005, 20:18   #3 (permalink)
Baby Mamber
 
Join Date: Mar 2005
Posts: 14
lulu is on a distinguished road
Default Re: Modifying content.html.php

Hola... what I am trying to do is format the frontpage news so it looks nice. When I use the default parameters it does not look good so I am coding html into Item pages including title URLs and Read more.. links and turning off all params to do this. However I wish to use the params and not have to custom code every news item.
lulu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21.03.2005, 21:15   #4 (permalink)
Expert Mamber
 
quiquedcode's Avatar
 
Join Date: Jun 2004
Location: San Juan, Argentina
Posts: 306
quiquedcode will become famous soon enough
Send a message via ICQ to quiquedcode Send a message via MSN to quiquedcode Send a message via Yahoo to quiquedcode
Default Re: Modifying content.html.php

hola, if u talk spanish, do so, coz I'm from Argentina

I don't know what u mean by "so it looks nice"... could u give me an example about what do you mean with it ?
I think u can make a very good looking frontpage just by editing parameters and working mainly with CSS, else some mambo guru correct me if I'm wrong...

Why i say this ? well, coz i see www.mamboawards.com and i can see lot of great looking mambo websites ... and i don't believe those sites are based on editing core files...

tell me what do u want to do and then maybe some1 could help a little bit more (including me ! hope so)
__________________
Enrique Becerra
MSN: qbecerra @ hotmail.com
ICQ: 18048153
www.beza.com.ar

"If you pay peanuts, you will get monkeys!" - ChicoMendez
quiquedcode is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 22.03.2005, 13:24   #5 (permalink)
Baby Mamber
 
Join Date: Mar 2005
Posts: 14
lulu is on a distinguished road
Default Re: Modifying content.html.php

poco Espanol.....

Well I need to format my articles exactly like this:

[picture] Title URL
[picture] Copy text Copy text Copy text Copy text Copy text
[picture] Copy text Copy text Copy text Copy text Copy text
[picture] Copy text Copy text Copy text Copy text Copy text
[picture] Copy text Copy text Copy text Copy text Copy text
Read more...


NOTE: [picture] is one picture with hspace 10

So what I need to know is how do I format my mainpage articles to look exactly like this without having to html them into an Item page.

Gracias and thank you to anybody who could shed some light!
lulu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 22.03.2005, 13:25   #6 (permalink)
Baby Mamber
 
Join Date: Mar 2005
Posts: 14
lulu is on a distinguished road
Default Re: Modifying content.html.php

NOTE: The Readmore... is supposed to right align with the right side of the copy text.
lulu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 22.03.2005, 19:33   #7 (permalink)
Expert Mamber
 
quiquedcode's Avatar
 
Join Date: Jun 2004
Location: San Juan, Argentina
Posts: 306
quiquedcode will become famous soon enough
Send a message via ICQ to quiquedcode Send a message via MSN to quiquedcode Send a message via Yahoo to quiquedcode
Default Re: Modifying content.html.php

well...
you can use a WYSIWYG editor like HTMLARea or TinyMCE EXP and do what u want, without modifying core files...
Insert a table
x rows by 2 cols
then, u combine the text col in 1 cell, and then u add the images at left with {mosimage} or by using editor's imagemanager...
i know, it will be more work, but i think this will be easier for you when u have to upgrade to newer mambo versions...
else, you will have to hardcode lot of core items / tables / etc.
__________________
Enrique Becerra
MSN: qbecerra @ hotmail.com
ICQ: 18048153
www.beza.com.ar

"If you pay peanuts, you will get monkeys!" - ChicoMendez
quiquedcode is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 22.03.2005, 20:25   #8 (permalink)
Baby Mamber
 
Join Date: Mar 2005
Posts: 14
lulu is on a distinguished road
Default Re: Modifying content.html.php

The way I have this presently set up is importing html in via TinyMCE but this is a major hassle because everytime I want to add a new article I have to go in and reactivate title link or read more to find the URL of the new news item page. Then go back into my article, add the URLs then deactivate title link.

This would be better if core layout supported my exact layout. If I cannot do this then I will look for a way to determine a items url without going through this process and continue this way. etc etc...
lulu 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
Dynamic Content Images .. content.html.php hack Kerry Seibold Mambots 3 25.07.2005 01:37
Modifying AkoStaff Radeon Component Development 9 04.05.2005 11:41
content.html.php Cabe Komponenten 5 18.08.2004 16:28
GNU & Modifying Components prj Development Discussions 2 14.08.2004 15:26
Modifying Template ? about <?php }?> dalmuti Template Discussions 1 11.05.2004 23:14


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

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.