Jump to content



Latest News: (loading..)

* * * * - 8 votes

Article Manager v1.0


  • Please log in to reply
2154 replies to this topic

#2101   don0don

don0don
  • Members
  • 12 posts
  • Real Name:Don Campbell
  • Gender:Male
  • Location:New Hampshire USA

Posted 29 July 2012 - 03:40 PM

Ahh ... I see. Is Seo Urls 5 supposed to be creating SEO friendly URLs for the articles, then? If so, where do I find them?

#2102   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 29 July 2012 - 06:26 PM

View Postdon0don, on 29 July 2012 - 03:40 PM, said:

Ahh ... I see. Is Seo Urls 5 supposed to be creating SEO friendly URLs for the articles, then? If so, where do I find them?
I don't understand what you mean by where you find them. But if this contribution is working correctly with SEO 5 turned off but not with it turned on, then you need to ask in its support thread.

#2103   lyonsperf

lyonsperf
  • Members
  • 305 posts
  • Real Name:Matt
  • Gender:Male
  • Location:CT

Posted 30 July 2012 - 12:48 PM

Hi Jack,
includes/modules/article_listing.php is calling for function clean_html_comments and is causing an error. I do not have this file and it is not in the stock osc 2.2. Can this function be removed?
If the only tool you have is a hammer, all your problems look like nails

#2104   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 30 July 2012 - 03:22 PM

View Postlyonsperf, on 30 July 2012 - 12:48 PM, said:

Hi Jack,
includes/modules/article_listing.php is calling for function clean_html_comments and is causing an error. I do not have this file and it is not in the stock osc 2.2. Can this function be removed?
That's always been a part of Article Manager. If you are using version 1_57, then it is in Header Tags SEO, which is required. If you are using one of the other versions, then it is included with that package.

#2105   Flotec

Flotec
  • Members
  • 94 posts
  • Real Name:Hakan
  • Gender:Male
  • Location:Stockholm

Posted 25 August 2012 - 11:18 AM

After installation in admin trying to add one article I get this error message:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 11683 bytes) in /home/xxxx/public_html/new2/oscadmin/includes/functions/articles.php on line 53

I have checked everything carefully but cannot find any errors made. I have a Osc 2.3.3 shop. The only problem I had during installation was in catalog/tell-a-friend.php. I could not find places where I should put in the last two things.

#2106   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 25 August 2012 - 02:00 PM

View PostFlotec, on 25 August 2012 - 11:18 AM, said:

After installation in admin trying to add one article I get this error message:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 11683 bytes) in /home/xxxx/public_html/new2/oscadmin/includes/functions/articles.php on line 53

I have checked everything carefully but cannot find any errors made. I have a Osc 2.3.3 shop. The only problem I had during installation was in catalog/tell-a-friend.php. I could not find places where I should put in the last two things.
The error is in your admin, not the shop. It is saying it is running out of memory before the part of Article Manager you are using can complete. In a case like this, it usually means there is a loop of some kind in the code. I don't have a fix for you since it can be many things. But you should verify all of the changes have been made correctly in admin and that the database changes were made correctly. This assumes you are you using my latest version and have Header Tags SEO correctly installed.

#2107   Flotec

Flotec
  • Members
  • 94 posts
  • Real Name:Hakan
  • Gender:Male
  • Location:Stockholm

Posted 25 August 2012 - 02:19 PM

I think I have checked it carefully. It's the latest version and I have Header Tags SEO installed an working.

There is one more problem. If I activate the article box and then look at the first page in the shop I get a blank page. The source code is this:

      <style type="text/css">
      .separatorArticle {
      height: 1px;
      color: #FF0000;
      }
      .separatorBlogArticle {
      height: 1px;
      color: #FF0000;
      }
      .separatorNewArticle {
      height: 1px;
      color: #FF0000;
      }
      .separatorTopic {
      height: 1px;
      color: #FF0000;
      }
      </style>

Can this be related to the first problem in admin?

#2108   Flotec

Flotec
  • Members
  • 94 posts
  • Real Name:Hakan
  • Gender:Male
  • Location:Stockholm

Posted 27 August 2012 - 11:43 AM

I have discovered that it's only when using english as the language I get these two problems:

- Fatals errors in admin when trying to include an article
- Blank page in front-end shop

I have one more language and for that everytning works just fine both in admin and the shop. I have compared all the language files and they seem OK. Can anyone help?

#2109   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 27 August 2012 - 01:32 PM

View PostFlotec, on 27 August 2012 - 11:43 AM, said:

I have discovered that it's only when using english as the language I get these two problems:

- Fatals errors in admin when trying to include an article
- Blank page in front-end shop

I have one more language and for that everytning works just fine both in admin and the shop. I have compared all the language files and they seem OK. Can anyone help?
"Fatal errors" doesn't mean anything without the error.

A blank page usually means a file meant for the root was copied intothe lanugage directory, or vice versa.

Your problems appear to be too speicific to your installation so I don't think it can be solved in a support thread like this but maybe someone will prove me wrong.

#2110   Flotec

Flotec
  • Members
  • 94 posts
  • Real Name:Hakan
  • Gender:Male
  • Location:Stockholm

Posted 13 September 2012 - 09:18 AM

I have Article manager version 1.57 installed in an 2.3.3 oscommerce and everything is working. I should however want to change the way articles are presented in the article cross-sell box in the product page.

Now if I have two articles linked to one and the same product they are included side by side in the box. I should want to have them under each other aligned to the left. I know that this has to do with the articles_pxsell.php file. I got the first aligned to the left but how do I get the two articles listed under each other?

#2111   Flotec

Flotec
  • Members
  • 94 posts
  • Real Name:Hakan
  • Gender:Male
  • Location:Stockholm

Posted 13 September 2012 - 09:28 AM

That was not that diffucult despite very low knowledge in php. I changed the articles_px.php file to this in the midle:

while ($xsell = tep_db_fetch_array($xsell_query)) {
    $xsell['products_name'] = tep_get_products_name($xsell['products_id']);
    $info_box_contents[$row][$col] = array('align' => 'left',
   'params' => 'class="smallText" width="33%" valign="top"',
   'text' => tep_image(DIR_WS_IMAGES.'icons/article.gif').'&nbsp;<a href="' . tep_href_link(FILENAME_ARTICLE_INFO, 'articles_id=' . $xsell['articles_id']) . '">' . $xsell['articles_name'] . '</a><br>');
    $col = 0;
    $row ++;
    }

Can be good to know for anyone that has the same problem as I had.

#2112   Flotec

Flotec
  • Members
  • 94 posts
  • Real Name:Hakan
  • Gender:Male
  • Location:Stockholm

Posted 13 September 2012 - 09:42 AM

Now I have problems with the Article cross-sell box in product information. It is not stiled in the same way as the other boxes in 2.3. Any tips how I could change that?

I have searched but not found any information on that.

#2113   Tidbeck

Tidbeck
  • Members
  • 46 posts
  • Real Name:Tidbeck
  • Gender:Female

Posted 18 September 2012 - 05:21 AM

Does anyone know if a modification to how the review of an article is done to were you don't have to sign up and give all the address details etc.
Thanks

#2114   djmatrix

djmatrix
  • Members
  • 102 posts
  • Real Name:Dean Hargreaves

Posted 18 September 2012 - 09:32 PM

Hello and thanks for this contribution it is wicked.

I do have a small problem though. When in admin i have an article that i just want as a blog. Now since there is a status switch for article and blog and thought that this would allow me to either have it as a blog only - article only or have it as both.

For some reason i cant have it as a blog only as when i switch it off as a article it also disappears as a blog.  Is there a work round for this?
Also when a customer adds comments to the blog and they are not logged in it allows them to write in the comments box and when they click on submit it then takes them to login. I then log in and hey wheres my comment gone. The comment i wrote disappears.

Also is there any way of having a blog box seperate to the articles box as i am wanting to use the blog as a kind of latest news and it would be great if i could have the article box seperate to the blog. Still leave it on the main article box as you can switch it off anyway but it would be really good for a seperate blog box that i can control the height so i can show last 5 blog articles.

Any ideas would be wicked on the above..

Thanks

#2115   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 18 September 2012 - 10:01 PM

View Postdjmatrix, on 18 September 2012 - 09:32 PM, said:

Hello and thanks for this contribution it is wicked.

I do have a small problem though. When in admin i have an article that i just want as a blog. Now since there is a status switch for article and blog and thought that this would allow me to either have it as a blog only - article only or have it as both.

For some reason i cant have it as a blog only as when i switch it off as a article it also disappears as a blog.  Is there a work round for this?
Also when a customer adds comments to the blog and they are not logged in it allows them to write in the comments box and when they click on submit it then takes them to login. I then log in and hey wheres my comment gone. The comment i wrote disappears.

Also is there any way of having a blog box seperate to the articles box as i am wanting to use the blog as a kind of latest news and it would be great if i could have the article box seperate to the blog. Still leave it on the main article box as you can switch it off anyway but it would be really good for a seperate blog box that i can control the height so i can show last 5 blog articles.

Any ideas would be wicked on the above..

Thanks
By definition, at least in this contribution, a blog article is one where a customer can respond and an article is where a customer cannot respond so having both in the same article is not possible.

A blog comment is not remmebered so if you don't want your customer to re-enter it, you would need to add a comment to the page saying to login before posting. Or the code could be altered to remember the article but that's beyond the scope of a support thread.

There's nothing in the code to separate the articles.

#2116   djmatrix

djmatrix
  • Members
  • 102 posts
  • Real Name:Dean Hargreaves

Posted 18 September 2012 - 10:27 PM

View PostJack_mcs, on 18 September 2012 - 10:01 PM, said:

By definition, at least in this contribution, a blog article is one where a customer can respond and an article is where a customer cannot respond so having both in the same article is not possible.

Hello, sorry i think this was misunderstood.

I am not wanting it to be both. In admin you have a choice on the status buttons on each article you write to say whether it is active as an article and a status button for active as a blog.

1. You can have it active as a blog but the article button also has to be active.
2. You can have it active as a article and not a blog.
3. But you cant have it active as a blog only as if you switch it off as a article it also does not show as a blog?

It is the 3rd option that i am wondering about. So i can have it just as a blog only and not a article.

Hope that makes sense...lol

#2117   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 19 September 2012 - 12:33 AM

View Postdjmatrix, on 18 September 2012 - 10:27 PM, said:

Hello, sorry i think this was misunderstood.

I am not wanting it to be both. In admin you have a choice on the status buttons on each article you write to say whether it is active as an article and a status button for active as a blog.

1. You can have it active as a blog but the article button also has to be active.
2. You can have it active as a article and not a blog.
3. But you cant have it active as a blog only as if you switch it off as a article it also does not show as a blog?

It is the 3rd option that i am wondering about. So i can have it just as a blog only and not a article.

Hope that makes sense...lol
The status button is for making the article, whether it is a blog or not, visible on the site. Once it is visible, changing the blog status determines if it is seen as an article or a blog article.

#2118   djmatrix

djmatrix
  • Members
  • 102 posts
  • Real Name:Dean Hargreaves

Posted 19 September 2012 - 09:26 PM

ahhh right. im with you know.

is there a way of making the status button work in the way i have described in the above post then or is it not that easy...

#2119   Jack_mcs

Jack_mcs
  • Members
  • 25,304 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 19 September 2012 - 11:03 PM

As I understand your description, that is how it works. But if it isn't like you want then the code would need to be changed. It is podssible, just not simple.

#2120   Flotec

Flotec
  • Members
  • 94 posts
  • Real Name:Hakan
  • Gender:Male
  • Location:Stockholm

Posted 21 September 2012 - 02:55 PM

Do you have any plans for changing the article cross-sell box in product info using JqueryUi class so it looks the same as "also purchased" box in 2.3.1?