Forums / All Other Contributions/Addons / News & Article Management [Support]

News & Article Management [Support]

Views: 135,504

Results 61 to 80 of 451
3 Oct 2006, 5:41 AM
#61
radish avatar

radish

New Zenner

Join Date:
Jan 2006
Posts:
67
Plugin Contributions:
0

News & Article Management [Support]

Hi Bettysue,

I've been using this contribution on my version of 1.3.5 for about a month now and haven't run into any problems.

If you decide to install the 'sidebox' add-on and discover how to limit the articles that are being displayed, please let me know! I'm days away from launching my cart and this is one of the few things I haven't been able to figure out!

Best of luck!

27 Oct 2006, 8:08 PM
#62
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: News & Article Management [Support]

Having a small problem here with how the full article is showing up on the page.
It actually fills the center column to the very edges of my sideboxes.

you can see the problem here...

http://www.oldwestgames.com/news/supporting-our-poker-playing-troops-a-1.html

this problem was brought up on this other thread but there is still no solution

http://www.zen-cart.com/forum/showthread.php?t=49823&highlight=news+article

I have tried everything to make the article behave but nothing is working. it seems in fact that (using the "view formatted source" tool in firefox) that it does not have a div that directly controls just the text.

please help me out here.

thanks

OldWestPokerSupplies.com – Custom Poker Chips and Other Professional Poker Supplies
Zen Cart 1.3.9.h with Google Base Feeder, Share Bookmarking Widget, Ultimate SEO URL, A Black Pure Template, Quick Updates, Sitemap XML and reCAPTCHA.

29 Oct 2006, 3:49 AM
#63
camay123 avatar

camay123

Zen Follower

Join Date:
Oct 2005
Posts:
160
Plugin Contributions:
0

Re: News & Article Management [Support]

Just upgraded to 1.3.6

The image of the news and summary is not displaying right. It is on the left of the box, while all the text is under it.

It use to be an image on the right, with text on the left and under.

Any idea

My Store: Bonsai tree seeds

4 Nov 2006, 5:49 AM
#64
bombknex avatar

bombknex

New Zenner

Join Date:
Sep 2006
Location:
Madison, WI
Posts:
54
Plugin Contributions:
0

Re: News & Article Management [Support]

voltage:

I'm using this with 1.3. I would like to wrap a div around the entire news template (it needs a little padding). However, I've looked at the tpl files and they are a different format than the rest of zen and I can;t seem to figure out how to do it.

Hi everybody,

First off, what a great mod! Many thanks Joshua :D

I don't know if anybody has posted anything in response to the above question but I was wondering the same thing. How can you wrap a div around the entire news content? It seemed difficult at fist because I tried editing the stylsheet to get some padding on the left but it didn't always work. In addition, on the main page the news content goes within the centerColumn container, but on article pages, comment pages, etc, there is no container, so styles would not be consistent.

Well I may have a solution, try it if you dare!

  1. Browse to you includes/classes directory and find 'news.php'.
  2. Make a backup just in case.
  3. Open up the file for editing (I know it looks a little hectic but it's actually not) and notice that everything is broken into sections. For example you have:
function newsHeader($header, $date, $links_array = false) {
            $this->news_page .= '<div class="newsHeader"><h1>' . $header . '</h1></div>' . "\n";
            $this->news_page .= '<div class="newsHeadlineText">' . $date;

            if ($links_array && is_array($links_array)) {
                foreach ($links_array as $link) {
                    $this->news_page .= ' | <a href="' . $link['link'] . '">' . $link['text'] . '</a>';
                }
            }

            $this->news_page .= '</div>' . "\n";

            $this->clearSplit();

            return true;
        }
```This houses the div classes for the newsHeader and newsHeadlineText.

4. Every section you want to wrap you've got to wrap individually. So for the above you would change the code to:

function newsHeader($header, $date, $links_array = false) {
[B]$this->news_page .= '<div class="newsWrapper">';[/B]
$this->news_page .= '<div class="newsHeader"><h1>' . $header . '</h1></div>' . "\n";
$this->news_page .= '<div class="newsHeadlineText">' . $date;

        if ($links_array && is_array($links_array)) {
            foreach ($links_array as $link) {
                $this->news_page .= ' | <a href="' . $link['link'] . '">' . $link['text'] . '</a>';
            }
        }

        $this->news_page .= '</div>' . "\n";
        [B]$this->news_page .= '</div>' . "\n";[/B]

        $this->clearSplit();

        return true;
    }

Another example for the articleHeading div:

***Before***

function articleHeading($heading) {
$this->news_page .= '<p class="articleHeading">' . $heading . '</p>' . "\n";

        return true;
    }

function articleHeading($heading) {
[B]$this->news_page .= '<div class="newsWrapper">';[/B]
$this->news_page .= '<p class="articleHeading">' . $heading . '</p>' . "\n";
[B]$this->news_page .= '</div>' . "\n";[/B]

        return true;
    }
6. That's pretty much it. The only other thing I can think of is you may want to account for this additional style padding on your home page by editing your includes/templates/template_default/templates/tpl_index_default.php file where you added the news module (this is what makes it display on your home page) and setting up another div with a negative left margin like so:

<?php /** * get the Define Main Page Text */ ?> <div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div> <?php } ?>

[B]<div style="margin-left: -10px;">

<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE)); ?> </div>[/B] <?php $show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN); while (!$show_display_category->EOF) { ?>

- Jonah :cool:
4 Nov 2006, 9:33 AM
#65
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: News & Article Management [Support]

bombknex:

Hi everybody,

First off, what a great mod! Many thanks Joshua :D

I don't know if anybody has posted anything in response to the above question but I was wondering the same thing. How can you wrap a div around the entire news content? It seemed difficult at fist because I tried editing the stylsheet to get some padding on the left but it didn't always work. In addition, on the main page the news content goes within the centerColumn container, but on article pages, comment pages, etc, there is no container, so styles would not be consistent...

sweet, Jonah.
I'm going to try that tomorrow and I'll let you know how it worked out.

thanks for the directions.

mafiasam

OldWestPokerSupplies.com – Custom Poker Chips and Other Professional Poker Supplies
Zen Cart 1.3.9.h with Google Base Feeder, Share Bookmarking Widget, Ultimate SEO URL, A Black Pure Template, Quick Updates, Sitemap XML and reCAPTCHA.

8 Nov 2006, 2:30 PM
#66
kaleco avatar

kaleco

New Zenner

Join Date:
Jul 2005
Posts:
4
Plugin Contributions:
0

Re: News & Article Management [Support]

I would like to know if it would be possible to display summaries for multiple news items on my index page or, even better, if it would be possible to display the main index.php?main_page=news as the default first page when the user visits the site. I could create an index.html file with a <HEAD> redirect to this page, but this seems like an inelegant solution.

Thanks in advance.

10 Nov 2006, 7:29 AM
#67
dscott1966 avatar

dscott1966

Zen Follower

Join Date:
Apr 2005
Posts:
298
Plugin Contributions:
0

Re: News & Article Management [Support]

Can someone please help me having a problem fckeditor i'm getting this error:

Warning: Missing argument 1 for FCKeditor::__construct(), called in W:\www\edy\admin\news.php on line 368 and defined in W:\www\edy\admin\includes\fckeditor.php on line 25

Fatal error: Call to undefined method FCKeditor::CreateFCKeditor() in W:\www\edy\admin\news.php on line 370

Can some please give me some insight on how to resolve this issue.

Thank you

23 Nov 2006, 3:54 AM
#68
bombknex avatar

bombknex

New Zenner

Join Date:
Sep 2006
Location:
Madison, WI
Posts:
54
Plugin Contributions:
0

Re: News & Article Management [Support]

kaleco:

I would like to know if it would be possible to display summaries for multiple news items on my index page or, even better, if it would be possible to display the main index.php?main_page=news as the default first page when the user visits the site. I could create an index.html file with a <HEAD> redirect to this page, but this seems like an inelegant solution.

Thanks in advance.

Hey all,

I'm looking for this functionality as well, mainly the display of multiple news items in my summary. Josh, do you have any input as to how this could be done? I tried 'astralp' modded news_summary.php (www.hgsounds.com/demo/news_summary.zip) from the archives but there are some big issues with it.

Any help would be appreciated!

  • Jonah
27 Nov 2006, 10:42 AM
#69
namsingh avatar

namsingh

Zen Follower

Join Date:
Sep 2006
Location:
Leeds, UK
Posts:
165
Plugin Contributions:
0

Re: News & Article Management [Support]

I'm probably missing something here. Mod is great and works fine. All I want to do is have a (more) button on the sidebox that takes you to the list of all articles?? Is this in the mod? Same as the featured and new products sideboxes

4 Dec 2006, 4:39 AM
#70
langtu123 avatar

langtu123

New Zenner

Join Date:
Dec 2005
Posts:
36
Plugin Contributions:
0

Re: News & Article Management [Support]

Hi everybody,

I've currently fallen into a no-way-out problem with Date and Time Display in News Article Management. To make things clear, my problem is that my store is in Vietnam (Time Zone: GMT+7) while my host server is in USA (Time Zone GMT-7).

Therefore, it always take an additional 14 hours before my articles actually appear in my website instead of the right date as being set in the admin side of News and Article Management.

Can anyone show me the way out of this problem? Pls help me with this since I'm really stuck.

Thank you in advance.
Best regards,

4 Dec 2006, 2:33 PM
#71
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,444
Plugin Contributions:
3

Re: News & Article Management [Support]

Mod is great and works fine. All I want to do is have a (more) button on the sidebox that takes you to the list of all articles?? Is this in the mod?
The heading is clickable and should take you to the last article posted, not to the list which would be great. What I did is put a link with EZPages on the header navigation. To make it the way we want, it has to be modified on the code.

IDEASLady
IDEAS Creative Studio

Your image... our business!

6 Dec 2006, 11:00 AM
#72
stuntsmovie_com avatar

stuntsmovie_com

New Zenner

Join Date:
Oct 2006
Posts:
57
Plugin Contributions:
0

Re: News & Article Management [Support]

Hey guys,

first of all I want to thank Dreamscape for this nice contribution!!!!!

I finally got it to kinda work. I still can't get the dynamic page titles to work though.
However, my biggest the line spacing is off, and i have lines in between the text that i don't think belong there http://www.xtreme-stunts.com/ . It is most obvious with IE. Firefox displays it a little nicer.

Moreover, on my news index page, I have twice the same header row and the line spacing and horizontal lines are wrong, too http://www.xtreme-stunts.com/news/ .

I'm using zen cart 1.36 with ultimate urls and ideasgirl template.

Thank you very much for your help!!!!!!!

Nail

18 Dec 2006, 7:43 PM
#73
fred9v avatar

fred9v

New Zenner

Join Date:
Nov 2006
Location:
Quebec, Canada
Posts:
32
Plugin Contributions:
0

Re: News & Article Management [Support]

Has someone sucessfully added this mod to 1.3.6? Does it needs tweaking or can I get it to work "as is" ?

Thanks!

19 Dec 2006, 6:13 AM
#74
stuntsmovie_com avatar

stuntsmovie_com

New Zenner

Join Date:
Oct 2006
Posts:
57
Plugin Contributions:
0

Re: News & Article Management [Support]

I'm running it on version 1.36.

I think it works pretty well. however, there are a few minor problems with the looks and layout. They could be because of my template or Ultimate Urls though.

Very nice contribution.

Nail

19 Dec 2006, 3:17 PM
#75
timacek avatar

timacek

New Zenner

Join Date:
Dec 2006
Posts:
3
Plugin Contributions:
0

Re: News & Article Management [Support]

dscott1966:

Can someone please help me having a problem fckeditor i'm getting this error:

Warning: Missing argument 1 for FCKeditor::__construct(), called in W:\www\edy\admin\news.php on line 368 and defined in W:\www\edy\admin\includes\fckeditor.php on line 25

Fatal error: Call to undefined method FCKeditor::CreateFCKeditor() in W:\www\edy\admin\news.php on line 370

Can some please give me some insight on how to resolve this issue.

Thank you

I have the very same problem :down:

Did anyone solved it?? :lamo:

21 Dec 2006, 6:56 AM
#76
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: News & Article Management [Support]

http://www.handicraft-vn.com/shop/

I was install this module and look great :smartass: ...but have small problem:Text: Recent News is too big and not well-balandced .Can somebody help me fix that problem :yes: ...
Thanks you so much

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

21 Dec 2006, 7:06 AM
#77
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Re: News & Article Management [Support]

kimsonvu:

http://www.handicraft-vn.com/shop/

I was install this module and look great :smartass: ...but have small problem:Text: Recent News is too big and not well-balandced .Can somebody help me fix that problem :yes: ...
Thanks you so much

Try changing it on the news stylesheet.

betty

21 Dec 2006, 8:21 AM
#78
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: News & Article Management [Support]

Thanks,but i dont know exact the line need to edit...i'm not programer..can you show it for me?

.newsHeadlineText { text-align: center; width: 100%; height: 15px; font-size: .9em; background: #e5edf5; border-left: 1px solid #9a9a9a; border-right: 1px solid #9a9a9a; border-top: 1px solid #9a9a9a; border-bottom: 5px solid #9a9a9a; padding: 3px 0 0 0; margin: 0;}
.newsHeadlineText IMG { vertical-align: middle; }
.newsHeader { background: #FFFFFF; height: 30px; font-size: 24px; text-align: center; padding: 0; margin: 10px 0 0 0; }

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

22 Dec 2006, 5:53 PM
#79
fred9v avatar

fred9v

New Zenner

Join Date:
Nov 2006
Location:
Quebec, Canada
Posts:
32
Plugin Contributions:
0

Re: News & Article Management [Support]

Thanks to StuntsMovies.com, I have installed this module and it's great, I still have a few minor problems but I'm working on that right now!

kimsonvu:

.newsHeader { background: #FFFFFF; height: 30px; font-size: 24px; text-align: center; padding: 0; margin: 10px 0 0 0; }

I personnally have changed font-size to 10px to fit the rest of my site but you may want to use a different value!

15 Jan 2007, 1:06 PM
#80
titangen avatar

titangen

Zen Follower

Join Date:
May 2005
Location:
Brussels belgium
Posts:
177
Plugin Contributions:
0

Re: News & Article Management [Support]

Hi,

Is this contrib compatible with zen 1.3.7 ??

Thanks in advance

:lookaroun

Zen cart or nothing !!