Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * - 8 votes

Article Manager v1.0


2085 replies to this topic

#2021 Jack_mcs

  • Community Member
  • 24,454 posts
  • Real Name:Jack
  • Gender:Male

Posted 15 November 2011, 04:10

View PostIWAS, on 15 November 2011, 02:45, said:



Permissions for includes/header_tags is 755

Here is the contents.
The entries for the articles section are incorrect. You'll need to replace that file, or delete all of the article manager related section and re-enter them in admin.

#2022 IWAS

  • Community Member
  • 29 posts
  • Real Name:Dave
  • Gender:Male

Posted 15 November 2011, 04:45

View PostJack_mcs, on 15 November 2011, 04:10, said:

The entries for the articles section are incorrect. You'll need to replace that file, or delete all of the article manager related section and re-enter them in admin.
I replaced the entire file with the stock one. Now I get for a title and for keywords Article Info - Default Title and description is totally blank on the page itself. Before it was just the Default title without the " Article Info" The items I entered before still show up as they did in the screenshot for page control in admin, so I know they are in the database, they are just not getting written to the page displayed.

http://absolutelyscooterparts.net/catalog/hose-routing-a-1.html

#2023 XPerties

  • Community Member
  • 2 posts
  • Real Name:Chris Henry

Posted 15 November 2011, 12:10

I tried this but had issue after issue and spent almost 2 hours digging through pages of solutions here. In the end it still didn't properly work and waste of my time so I removed it. Maybe, back to the drawing board on this one.

#2024 Jack_mcs

  • Community Member
  • 24,454 posts
  • Real Name:Jack
  • Gender:Male

Posted 15 November 2011, 12:40

View PostIWAS, on 15 November 2011, 04:45, said:

I replaced the entire file with the stock one. Now I get for a title and for keywords Article Info - Default Title and description is totally blank on the page itself. Before it was just the Default title without the " Article Info" The items I entered before still show up as they did in the screenshot for page control in admin, so I know they are in the database, they are just not getting written to the page displayed.

http://absolutelysco...outing-a-1.html
And did you re-enter the pages in page control after replacing the file. Did you look at the file again to see if the correct code is there?

#2025 IWAS

  • Community Member
  • 29 posts
  • Real Name:Dave
  • Gender:Male

Posted 15 November 2011, 15:44

View PostJack_mcs, on 15 November 2011, 12:40, said:

And did you re-enter the pages in page control after replacing the file. Did you look at the file again to see if the correct code is there?
Yes, still doesn't work. Like I said it shows up in page control, just doesn't get attached to the page when called from a browser.


With products_info everything works fine. I even got easypopulate to fill those tags. It is just the articles.

#2026 IWAS

  • Community Member
  • 29 posts
  • Real Name:Dave
  • Gender:Male

Posted 16 November 2011, 14:31

Does this help, ran the test --- see it probably is something I am doing wrong

Missing Code in File explain

The Header Tags head code for the product_reviews.php file cannot be found.
The Header Tags head code for the product_reviews_info.php file cannot be found.
The Header Tags head code for the product_reviews_write.php file cannot be found.
The Header Tags head code for the specials.php file cannot be found.

Missing Pseudo Code Error: explain
The file article-topics.php should have pseudo code entries but does not.

languages in the Header Tags table are: 1 ( English ).
languages in the Header Tags table are: 3 ( Español ).
Title and Meta Tag results for article_info.php explain
English

From Site:
Title -> Article Info - Default title
Meta Description ->
Meta Keywords -> Article Info , Default Keywords


From Settings:
Title ->
Meta Description ->
Meta Keywords ->

Results of scan:

article_info.php is missing data. Fill Tags should be ran.



How can I run fill tags for the articles, the only thing that shows up is products and categories ?

Edited by IWAS, 16 November 2011, 14:34.


#2027 Jack_mcs

  • Community Member
  • 24,454 posts
  • Real Name:Jack
  • Gender:Male

Posted 16 November 2011, 15:17

View PostIWAS, on 16 November 2011, 14:31, said:

Does this help, ran the test --- see it probably is something I am doing wrong

Missing Code in File explain



How can I run fill tags for the articles, the only thing that shows up is products and categories ?
Header Tags doesn't handle the article manager related files in admin other than allowing the pages to be added and set so the test isn't helpful.

#2028 IWAS

  • Community Member
  • 29 posts
  • Real Name:Dave
  • Gender:Male

Posted 23 November 2011, 00:19

Well it decided to start working today and I have done nothing to it since the 16th, yikes...

#2029 damejm

  • Community Member
  • 3 posts

Posted 26 November 2011, 06:08

I have loaded the this much needed contribution and am thankful for it. It is very easy to add articles. I have only one problem, I cannot load the article boxes. I can use the other functions of the contribution. I can load boxes for other functions, but I get the following errors when I try to load the article boxes.

Warning: include(/home/public_html/mysite.com/orders/includes/languages/english/modules/boxes/header_tags_social_bookmarks.php) [function.include]: failed to open stream: No such file or directory in /home/public_html/mysite.com/orders/admin/modules.php on line 129

Warning: include() [function.include]: Failed opening '/home/public_html/mysite.com/orders/includes/languages/english/modules/boxes/header_tags_social_bookmarks.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/public_html/mysite.com/orders/admin/modules.php on line 129

Fatal error: Call to undefined function stripsid() in /home/public_html/mysite.com/orders/includes/modules/boxes/header_tags_social_bookmarks.php on line 23

During the installation, I could not find the following code in my installation:

In catalog/tell-a-friend.php

FIND (about line 153):

<!-- body_text //-->
<td width="100%" valign="top"><?php echo tep_draw_form('email_friend', tep_href_link(FILENAME_TELL_A_FRIEND, 'action=process&products_id=' . $HTTP_GET_VARS['products_id'])); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading"><?php echo sprintf(HEADING_TITLE, $product_info['products_name']); ?></td>

FIND (about line 268):

<td><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td>


#2030 damejm

  • Community Member
  • 3 posts

Posted 26 November 2011, 08:49

I got the first part fixed. I had put a file in the wrong directory.

I still can't figure the following out.

Quote

During the installation, I could not find the following code in my installation:

In catalog/tell-a-friend.php

FIND (about line 153):

<!-- body_text //-->
<td width="100%" valign="top"><?php echo tep_draw_form('email_friend', tep_href_link(FILENAME_TELL_A_FRIEND, 'action=process&products_id=' . $HTTP_GET_VARS['products_id'])); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading"><?php echo sprintf(HEADING_TITLE, $product_info['products_name']); ?></td>

FIND (about line 268):

<td><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td>


Also, if I show blog articles the url is wrong. mysite.com/FILENAME_ARTICLE_BLOG?articles_id=1

#2031 Jack_mcs

  • Community Member
  • 24,454 posts
  • Real Name:Jack
  • Gender:Male

Posted 26 November 2011, 12:04

View Postdamejm, on 26 November 2011, 08:49, said:

Also, if I show blog articles the url is wrong. mysite.com/FILENAME_ARTICLE_BLOG?articles_id=1
It means the installation is not correct.

#2032 mellowtothemax

  • Community Member
  • 9 posts
  • Real Name:Yannis
  • Gender:Male

Posted 30 November 2011, 11:30

View Postdamejm, on 26 November 2011, 08:49, said:

Also, if I show blog articles the url is wrong. mysite.com/FILENAME_ARTICLE_BLOG?articles_id=1


Hi I had this problem for my 2.3 OSC, all that was missing was

define('FILENAME_ARTICLE_BLOG', 'article_blog.php');

from the catalog/includes/filenames.php

It is included for drop over files but not included in the instructions for manually editing the files.

#2033 mellowtothemax

  • Community Member
  • 9 posts
  • Real Name:Yannis
  • Gender:Male

Posted 30 November 2011, 12:02

Hi, I am having problems with other languages. The infobox does not show the articles when a language other than English is chosen. Is there a conflict with the Ultimate_Seo_Urls_5_PRO_r205 contribution?

#2034 Jack_mcs

  • Community Member
  • 24,454 posts
  • Real Name:Jack
  • Gender:Male

Posted 30 November 2011, 14:15

View Postmellowtothemax, on 30 November 2011, 12:02, said:

Hi, I am having problems with other languages. The infobox does not show the articles when a language other than English is chosen. Is there a conflict with the Ultimate_Seo_Urls_5_PRO_r205 contribution?
Try turning SEO 5 off and see if it works. If it does, then it is a problem with SEO 5. If not, then there is a mistake in your installation.

#2035 mellowtothemax

  • Community Member
  • 9 posts
  • Real Name:Yannis
  • Gender:Male

Posted 30 November 2011, 16:06

View PostJack_mcs, on 30 November 2011, 14:15, said:

Try turning SEO 5 off and see if it works. If it does, then it is a problem with SEO 5. If not, then there is a mistake in your installation.

Thanks for the reply. Unfortunately it didn't work, same outcome with SEO turned off. The article entries are created in the database with the correct language ids but for some reason they are not displayed. I will examine the installation instructions again but I am confident I didn't make any mistakes. I am using OSC 2.3.1.

#2036 Jack_mcs

  • Community Member
  • 24,454 posts
  • Real Name:Jack
  • Gender:Male

Posted 30 November 2011, 17:45

View Postmellowtothemax, on 30 November 2011, 16:06, said:



Thanks for the reply. Unfortunately it didn't work, same outcome with SEO turned off. The article entries are created in the database with the correct language ids but for some reason they are not displayed. I will examine the installation instructions again but I am confident I didn't make any mistakes. I am using OSC 2.3.1.
With 2.3, you have to enable the box in admin->Module->Boxes so that may be the problem.

#2037 mellowtothemax

  • Community Member
  • 9 posts
  • Real Name:Yannis
  • Gender:Male

Posted 30 November 2011, 18:01

OK so I deleted all the old authors including articles from the admin page and created a new ones. For some reason now everything works as it should. Both languages display the articles in the infobox.

However I have noticed a new problem regarding the 'submit your own article' from the store front. If the article is written and submitted by a user from the store front only the current store language options and fields are available unlike the admin page where all available language fields are available. This creates the problem that the article will only be available and visible in the language that it was written in. Also only the English language submitted articles become available in the admin page for approval. Even though the data does gets written to the database for the non-English, the articles are not available in the admin for approval.

I already had enabled the boxes.

#2038 Jack_mcs

  • Community Member
  • 24,454 posts
  • Real Name:Jack
  • Gender:Male

Posted 01 December 2011, 01:50

View Postmellowtothemax, on 30 November 2011, 18:01, said:

OK so I deleted all the old authors including articles from the admin page and created a new ones. For some reason now everything works as it should. Both languages display the articles in the infobox.

However I have noticed a new problem regarding the 'submit your own article' from the store front. If the article is written and submitted by a user from the store front only the current store language options and fields are available unlike the admin page where all available language fields are available. This creates the problem that the article will only be available and visible in the language that it was written in. Also only the English language submitted articles become available in the admin page for approval. Even though the data does gets written to the database for the non-English, the articles are not available in the admin for approval.

I already had enabled the boxes.
Those are probably coding issues. I don't see the pointing of displaying an article on a Spanish page when it was written in English (or whatever the languages are) but. I will add them to the list of things to look at for the next version.

#2039 mellowtothemax

  • Community Member
  • 9 posts
  • Real Name:Yannis
  • Gender:Male

Posted 01 December 2011, 12:38

I understand your logic but I think it would be better if all the articles show up in the infobox irrespective of the store language, let the user decide if they want to read it or not. Could it not be implemented by either providing additional fields like the admin area and the user has the option to either write the article more than once, or have hidden language fields that autofill to the other languages available to the system with whatever was written and submitted by the users?

I noticed that articles submitted in the current store language by users only become available to the admin page for that language.

What I mean is that if the store is in english and an article is submitted for approval, it will only be visible in the article manager area of that language in the admin page if the admin has logged in for that language. ie if the article is submitted when the store front is in a different language the admin will have to log out of the english admin and log in with the other language in order to see and approve the article.

I know what I wrote is a bit confusing but I hope you can make sense of it. Thanks by the way for the great work you have done so far for osc.

#2040 Jack_mcs

  • Community Member
  • 24,454 posts
  • Real Name:Jack
  • Gender:Male

Posted 01 December 2011, 13:40

View Postmellowtothemax, on 01 December 2011, 12:38, said:

I noticed that articles submitted in the current store language by users only become available to the admin page for that language.
Yes, I understood and can duplicate it here.