Contribution Issue
#1
Posted 19 February 2005, 21:07
I've installed the Extra pages-info box w/ admin contribution, but i'm dealing with a problem...
Everything is working fine but i want to create a new page with some links on it.
The problem is that every links i insert on a page are stored incorrectly in the database. For instance:
I want to create a page with the next html code:
<p><a href="/includes/my_image.gif">My image</a></p>
When i click to Save (in Admin of course) and enter again the page, the code is changed to:
<p><a href=\"/includes/my_image.gif\"?osCAdminID=92c6dfaaf69fddc9a5dc3b83d24e9c66>My image</a></p>
Is there any way to enter a link and this contribution don't change it for it self? The code stored is the code that i realy enter?!...
Thanks in advance!
#2
Posted 20 February 2005, 16:47
#3
Posted 23 February 2005, 19:13
<img width="60" height="60" src="/OSC_M2/images/account_personal.gif" alt=""/><br/>
after save it's look like:
<img width="60" height="60" src="\"/OSC_M2/images/account_personal.gif\"/" alt="\"\""/>
I will look at it....
Joacim
#4
Posted 23 February 2005, 22:18
http://www.oscommerce.com/community/contributions,2021
Joacim
#5
Posted 23 February 2005, 22:51
jocke4u, on Feb 23 2005, 10:18 PM, said:
http://www.oscommerce.com/community/contributions,2021
I always prefer fixing problems instead of deleting the part with the problems...The part you deleted is a really nice portion of the script
So I fixed this and re-uploaded the complete zip archive...
Enjoy...
Thanks
Benan Tumkaya
#6
Posted 24 February 2005, 13:13
benthompson, on Feb 23 2005, 05:51 PM, said:
So I fixed this and re-uploaded the complete zip archive...
Enjoy...
Thanks
Benan Tumkaya
I installed your updated but I still get the same problem mentioned above. Any ideas? Thanks
#7
Posted 25 February 2005, 07:46
i have installed (partially) the same contribution. i ran the sql and made all the canges to the files, but the instructions call to
Quote
the only problem is it doesnt specify which folders are the respective ones. can you please shed light on this.
thanks
#8
Posted 25 February 2005, 09:55
butterflyguy, on Feb 25 2005, 07:46 AM, said:
i have installed (partially) the same contribution. i ran the sql and made all the canges to the files, but the instructions call to
the only problem is it doesnt specify which folders are the respective ones. can you please shed light on this.
thanks
Hi,
Respective means: You have got the same folders in your oscommerce script as the ones in the zip file.
So in the zip file, if there is a file in: catalog/includes/ , you need to upload it to catalog/includes in your server.
That is what we call 'respective'
I hope this helps.
Thanks
Benan
#9
Posted 25 February 2005, 10:03
1st- the editor both rich and normal > adds extra /// in front and around throughout the url EVERYTIME you open the file to edit.
2nd-If you put the url in say: www.example.com to go to, when you goto the page it is on, it duplicates the link like this http://www.example.com"http://www.example.com//" What's up with the extra / and "'s and url in this?
3rd- when you use the rich editor, it seems to insert things fine when you create a link from highlighted text, but then repeats teh same problem above or other goofy things.
4th- Whenever I have a word like What's New. I makes the text look like this: What/'s new. So I go in to edit out that / and refresh the page, now I have a What//'s new. Eventually all words with appostrohpes look like this after a few edits: What////'s new here, it////'s a great day.
Is there a way to use another editor as the default plain and rich text editors seem to be broken at best.
I also tried downloading the 'fixed' file someone uploaded but it doesn't work any better.
I haven't even tried to insert images, don't want to knwo what's gonnahappen.
#10
Posted 25 February 2005, 11:17
I reinstalled 3_2.4 after removing both pages and pagedescriptoin tables from my database and all associated newer version files, and it works fine.
I'm surprised noone caught this before uploading - I even tried starting from scratch on a STOCK osC build and it does the same thing so I know it's not me or on my end. Initial install was on one server, osC stock install was on another so there are no server side php issues that I can see.
Don't bother replying to me in this thread, I'm fine using hte older version...thanks and gl to everyone..
S
#11
Posted 25 February 2005, 13:07
benthompson, on Feb 24 2005, 12:51 AM, said:
So I fixed this and re-uploaded the complete zip archive...
Enjoy...
Thanks
Benan Tumkaya
OK, what nice feature portion did I remove??
From my tests it's running just fine, and I have also removed the htmlArea and uses FCKEditor 2 RC2 instead.
My changes is also made in the same style as in std OSC categories.php. I think it's much better to keep the OSC coding style.
// Jocke
Joacim
#12
Posted 25 February 2005, 16:01
#13
Posted 25 February 2005, 17:26
Sincraft, on Feb 25 2005, 06:17 AM, said:
I reinstalled 3_2.4 after removing both pages and pagedescriptoin tables from my database and all associated newer version files, and it works fine.
I'm surprised noone caught this before uploading - I even tried starting from scratch on a STOCK osC build and it does the same thing so I know it's not me or on my end. Initial install was on one server, osC stock install was on another so there are no server side php issues that I can see.
Don't bother replying to me in this thread, I'm fine using hte older version...thanks and gl to everyone..
S
Sincraft, could you please post exactly which version 3_2.4 is, i would like to try it out. Thanks
#14
Posted 01 March 2005, 09:13
butterflyguy, on Feb 25 2005, 05:26 PM, said:
Ok, i find the 2_2.4 contribution and installed.
It's true, the issue mentioned in this topic (add "/" in every view; links don't work, etc...) is solved in this version.
Anyway i'm having a problem with it. I configure a new Page im Admin, but nothing is shown on the respective boxe's store. The box is shown but no pages are seen.
Any help, please!?
#15
Posted 01 March 2005, 19:08
Edited by Zickarena, 01 March 2005, 19:08.
#16
Posted 02 March 2005, 10:57
Meanwhile, i solved my problem. The pages created, can't be configured in sort order to 0(zero), only 1 or more. Pages that Sort Order are set to zero, don't appear in the respective info box.
#17
Posted 06 March 2005, 12:01
Please tell me I can just install over the 4_1 version.
I am surprised this has not yet been fixed. I downloaded the 4_1 version and assumed that everything would work smooth. But links, images and everything else still gets messed up with the added //.
If there is a soulution to this or a quick "way out" please do let me know. Would it help to install another wyswig editor instead?
Hope someone can reply to my questions.
Best regards,
Passage
#18
Posted 06 March 2005, 18:50
Any body tried this?
#19
Posted 06 March 2005, 23:14
devine952, on Mar 6 2005, 12:50 PM, said:
Any body tried this?
Ok, I tried it myself and succeeded, I am getting good at this. Apparently the anti-slash problem is unrelated to the editor.
So I guess it is due to page_manager.php php as I removed all javascript before adding WYSIWYG. Hence, concluding it is the sql write command that is messing this up. However this is beyond me and could do with someone's help.
#20
Posted 07 March 2005, 10:24
Sorry to go a little off topic with this thread, but have you noticed this problem with this contribution, with regards to keeping/losing the session ID?
http://forums.oscommerce.com/index.php?showtopic=139684
Think I've found a fix, but could do with a confirmation.
Thanks,
Scott














