Jump to content
Sign in to follow this  
241

NewsDesk v1.48 Support

Recommended Posts

Minor breadcrumb issue

 

To fix:

 

open catalog/newsdesk_info and locate this code at line# 69

$breadcrumb->add($categories['categories_name'], tep_href_link(FILENAME_NEWSDESK_INDEX, 'newsdeskPath='[code]
change it to this
[code]$breadcrumb->add($categories['categories_name'], tep_href_link(FILENAME_NEWSDESK_INDEX, 'newsPath='


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites
Minor breadcrumb issue

 

To  fix:

 

open catalog/newsdesk_info and locate this code at line# 69

$breadcrumb->add($categories['categories_name'], tep_href_link(FILENAME_NEWSDESK_INDEX, 'newsdeskPath='[code]
change it to this
[code]$breadcrumb->add($categories['categories_name'], tep_href_link(FILENAME_NEWSDESK_INDEX, 'newsPath='

Hi Steve,

 

tried this, but if I put the code exactly as recommended I get a parse error in line 69. Than I took "

" ( beginning of the line ) away and it?s working again. But nothing changed. What?s the reason  to change this ?

 

by the way: your contrib is runnning great. Thanks a lot !

 

How about the html editor ? Did you already got some reactions ? I?m wondering how this is working and sometimes, when I tried to use it, it happened that IE6 crashed and put me to the desktop. At the moment I?m not able tell when exactly this happens. But maybe you?ve heard about it from other side.

 

Sorry for my bad english..

 

byps

Share this post


Link to post
Share on other sites
Minor breadcrumb issue

 

To? fix:

 

open catalog/newsdesk_info and locate this code at line# 69

$breadcrumb->add($categories['categories_name'], tep_href_link(FILENAME_NEWSDESK_INDEX, 'newsdeskPath='[code]
change it to this
[code]$breadcrumb->add($categories['categories_name'], tep_href_link(FILENAME_NEWSDESK_INDEX, 'newsPath='

Hi Steve,

 

tried this, but if I put the code exactly as recommended I get a parse error in line 69. Than I took "

" ( beginning of the line ) away and it?s working again. But nothing changed. What?s the reason  to change this ?

by the way: your contrib is runnning great. Thanks a lot !  

How about the html editor ? Did you already got some reactions ? I?m wondering how this is working and sometimes, when I tried to use it,  it happened that IE6 crashed and put me to the desktop. At the moment I?m not able tell when exactly this happens. But maybe you?ve heard about it from other side.

Sorry for my bad english..

byps [/quote]
I don't know what happened to that post so here is the re-post

[b]Minor breadcrumb issue[/b]

To  fix:

open catalog/newsdesk_info and locate this code at line# 69


[code]$breadcrumb->add($categories['categories_name'], tep_href_link(FILENAME_NEWSDESK_INDEX, 'newsdeskPath='

change it to this

$breadcrumb->add($categories['categories_name'], tep_href_link(FILENAME_NEWSDESK_INDEX, 'newsPath='

 

The difference is that your navigation using the breabcrumb trail would have been broken due to the path saying newsdeskPath instead of newsPath.

 

There have been no reported issues with I.E.6 crashing with this update as that is the main reason for me doing an update and this part has been tested a lot.


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites
Whether there is an opportunity to dispatch news to clients of shop?

Can you elaborate on what you mean?

The newsdesk provides news for the site and may eventualy have RSS feeds in and out.

The newsletter feature of the store provides newsletters to customers.

 

Do you mean that you would like to be able to sent news items from the newsdesk to the customer directly from the newsdesk instead of via the newsletter feature, if so would this not be a case of adapting the newsletter contribution to pull news items?

 

This would depend upon where your store is based as certain countries have legislation that would require an opt in to receive the news otherwise it would be classed as unsolicited mail.

 

An RSS feature would allow a customer to choose whether to receive updated news feeds.

 

You need to give more information.


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

This contribution is excellent.

 

Noticed one bug, when you go to the newspages all the infoboxes join together vertically.

 

If you change the following line in newsdesk_info.php

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">

 

to read

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

 

It sort out the problem

 

keep up the good work.

 

Raj

Share this post


Link to post
Share on other sites

Another problem, the infoboxes lose their width settings in the news pages.

 

To resolve, change all the BOX_WIDTH_RIGHT & BOX_WIDTH_LEFT statements to read BOX_WIDTH in all *.php files.

 

Thanks

 

Raj

Share this post


Link to post
Share on other sites
This contribution is excellent.

 

Noticed one bug, when you go to the newspages all the infoboxes join together vertically.

Another problem, the infoboxes lose their width settings in the news pages.

 

This is not a bug but rather a known issue resulting from my stripping files from one of my own setups.

This issue has been resolved by my now working from a default setup and the issue has been removed for the next release.

Edited by 241

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites
This contribution is excellent.

 

Noticed one bug, when you go to the newspages all the infoboxes join together vertically.

Another problem, the infoboxes lose their width settings in the news pages.

 

This is not a bug but rather a known issue resulting from my stripping files from one of my own setups.

This issue has been resolved by my now working from a default setup and the issue has been removed for the next release.

Excellent.

 

Another isuue is that the continue button takes you back to the index.php page, is there anyway of the continue button going to the next item in the catogory, or back to the catogory index.

 

Take a look at my site www.simplyspice.co.uk to see what I mean.

 

Regards

 

Raj

Share this post


Link to post
Share on other sites
Another isuue is that the continue button takes you back to the index.php page

This is why I added a back button that only shows under certain circumstances.

It is the back button that takes you to the category and the continue button that takes you to the index thus where a category has only one article there is no back button and you would not want to return to the category with the one item as you have just read it, so therefore the continue button takes you to the index.

Edited by 241

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

toniwong

 

which version of the contribution are you using 1.48.1 or 1.48.1b


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites
Another isuue is that the continue button takes you back to the index.php page

This is why I added a back button that only shows under certain circumstances.

It is the back button that takes you to the category and the continue button that takes you to the index thus where a category has only one article there is no back button and you would not want to return to the category with the one item as you have just read it, so therefore the continue button takes you to the index.

Hi 241

 

Is there any way of making the continue button go back to the list of articles.

 

Regards

Raj

Share this post


Link to post
Share on other sites

yes but you will need to recode the section, why do you need the continue button to go to the list when that is what the back button does, all you will be doing is creating a loop that no matter what you click you end up in the same place.


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites
toniwong

 

which version of the contribution are you using 1.48.1 or 1.48.1b

1.48.1b

download v1.48.2 this should resolve the issue, you can do a file compare for the changes


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

Hello Steve,

 

I have exactly the same problem as Terrance

meaning, BLANK pages in the admin for

article management and review management links.

( I have gone through the FORUM entries on the topic)

 

My answers to your questions to Terrance are nearly the

same, My OSC is 2.2 MS1, it worked before, the catalog

pages with default info you put seem to work,

I have replaced all files and dtabase with the package

downloaded today (newsdesk_v_1.48.2_1) and rechecked

all include files and instructions.

 

Usually when you get a similar error, you get an indication of

a missing parameter in the configuration table and by

manually adding a value or values , you can get the page to load.

 

I have also seen this happening with a cding error with an extra

brace or a missing brace somewhere.

 

 

Have you had any further idea as I didn't notice a conclusion to

Terrance's postingss.

Share this post


Link to post
Share on other sites
I have exactly the same problem as Terrance

meaning, BLANK pages in the admin for

article management and review management links.

The contribution works well in 2.2MS2 which was it's intended audience as set by the original author whom was working towards 2.2MS2

 

The changes made that would have been more relevant to earlier versions would be the move from tep_array_merge to array_merge as for missing or included braces these would show up as errors in 2.2MS2 but they do not, therefore the conclusion is that it is not a brace.

 

The contribution has only been tested on 2.2MS2 as that is what I have available.

I am glad that you have at least volunteered information.

 

Do you have any admin with access contributions installed


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

the admin/newsdesk.php has 130 opening braces { and 130 closing braces } I have just checked this file


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

I just sent you a PM

I am not sure if that is what you wanted

Share this post


Link to post
Share on other sites

terencel

valley

 

I have just done a file compare of the zipped files and I have made an error, I will post to the forum this issue and make a fresh post to the contributions section.

 

For some reason when updating the files the admin files were not updated and so do not have the code fixes.

 

As no-one else has mentioned it the correct changes must have been present in an earlier release that I made which has now been removed from the contributions area at my request.

 

I will announce when the revised contribution has been uploaded.


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites
yes but you will need to recode the section, why do you need the continue button to go to the list when that is what the back button does, all you will be doing is creating a loop that no matter what you click you end up in the same place.

Never thought of that, probably better if I remove the continue button.

 

I have to say this contribution is brilliant, keep up the good work.

 

Thanks.

 

Raj

Share this post


Link to post
Share on other sites
Does anyone know how this options works

 

<img>URL</img>

 

I have put in all diffrent paths cant seem to get it to display

You need to explain yourself in more detail.

where are you entering

what are you entering

etc


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites
toniwong

 

which version of the contribution are you using 1.48.1 or 1.48.1b

1.48.1b

download v1.48.2 this should resolve the issue, you can do a file compare for the changes

Thanks~

I'll try it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×