ok i have install phpbuke. it went by good without any problems. now i want to do some edditing of the News Module. i have open up the index.php file that is found in the News Module of phpnuke.
what to do is when you click on a topic, let say Minnesota. you click on that and it take you to the Minnesota Topic Index. then in the Minnesota topic Index, there is a Search box with a link that take you to the home page of your site and a link that take you to the topic index page of your site.
what i want to do is take out both of those links leaving the search box in there, then undernet that search box. i want to be able to add in my own links that take you to Team Rosters, Schedule and etc for WCHA Hockey. i have try so many things to this minute and none of what i try have work. can someone help me out.
BruMax Private
Joined: Feb 01, 2004
Posts: 35
Posted:
Sat Nov 05, 2005 7:09 pm
Get Imagination-Nuke has FNA 3.0 included (Forum News Advanced). Can post news from forums instead of submit news. Better control of news.
www.imagination-nuke.com
Xyberian Colonel
Joined: Mar 14, 2004
Posts: 1939
Location: Behind you
Posted:
Sat Nov 05, 2005 7:20 pm
Bill, that's not the correct spot.
Try this:
step 1: open themes/YOUR-THEME/theme.php
step 2: find themeindex() function in which your news is rendered by phpnuke news module.
step 3: in the function, you can find $more ... variable. Around the $more variable (if you have old themes, it locates in .html file within the same directory).
That's it.
More technical hint is as follows:
To render your news, phpnuke wires your news in modules/News/index.php where themeindex() function defined in theme.php is called: (find themeindex() funtion in news/index.php).
I think, I gave you enough info and hints which you could catch up with.
another question, is there anyway for each topic index. let say Minnesota have it own links, like a link take you to a Minnesota Rosters, then let say Wisconsin have it own link.
you know what i mean.
Bill12 Nuke Cadet
Joined: Mar 12, 2004
Posts: 9
Posted:
Sun Nov 06, 2005 4:53 am
ok i am having a world of problem. i did what you said and started fooling around with it. even time i try different things i have to upload the original file.
here is my theme.php file.
Code:
<?php
/************************************************************/
/* IMPORTANT NOTE FOR THEMES DEVELOPERS! */
/* */
/* When you start coding your theme, if you want to */
/* distribute it, please double check it to fit the HTML */
/* 4.01 Transitional Standard. You can use the W3 validator */
/* located at http://validator.w3.org */
/* If you don't know where to start with your theme, just */
/* start modifying this theme, it's validate and is cool ;) */
/************************************************************/
/************************************************************/
/* Theme Colors Definition */
/* */
/* Define colors for your web site. $bgcolor2 is generaly */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the */
/* other two bgcolor variables follows the same criteria. */
/* $texcolor1 and 2 are for tables internal texts */
/************************************************************/
/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/
/************************************************************/
/* Function themefooter() */
/* */
/* Control the footer for your site. You don't need to */
/* close BODY and HTML tags at the end. In some part call */
/* the function for right blocks with: blocks(right); */
/* Also, $index variable need to be global and is used to */
/* determine if the page your're viewing is the Homepage or */
/* and internal one. */
/************************************************************/
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/
/************************************************************/
/* Function themearticle() */
/* */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home */
/************************************************************/
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. Just simple. */
/************************************************************/
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum