If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Categories, Products, Attributes / How to edit description of category to include a link

How to edit description of category to include a link

Started by ckosloff on 2 Jun 2023, 11:04 PM · Views: 4,516

Results 1 to 20 of 21
2 Jun 2023, 11:04 PM
#1
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

How to edit description of category to include a link

Logged into admin, I am unable to edit description of main category

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

2 Jun 2023, 11:07 PM
#2
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How to edit description of category to include a link

Found icon to edit, now rephrasing, how use CK editor to edit?

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

3 Jun 2023, 12:17 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How to edit description of category to include a link

ckosloff:

Logged into admin, I am unable to edit description of main category

The first additional post to this thread is an example of why more should be described when asking questions. For other readers this is basically a continued discussion from other threads with the OP.

Consider what information has been provided and the question asked.
Two things initially came to mind:
That this is directly related to the issue experienced with editing define pages.
As somewhat clarified below, how did one navigate the Zen Cart admin to get to a screen allowing edit of the category description? This was not clear in the asking of the question.

ckosloff:

Found icon to edit, now rephrasing, how use CK editor to edit?

This revised question appears to be related to: https://www.zen-cart.com/showthread.php?229534-Cannot-write-in-Define-Pages-Editor&p=1395152#post1395152

The solution may be different, but the same issue appears to be occurring here as was there.

That said though and in light of what was needed to locate the edit button in the category row, now have to try to understand all sorts of other possible situations. My initial smart Alec answer was to simply start writing when the description is shown. But, the absence of other data means we have to ask all sorts of questions which could have been prevented by addressing the posting tips and describing known conditions that we can't see.
Is ckeditor installed?
Is it shown as active on the screen?
Is it present, and text isn't editable?
What software has been installed in addition to the core Zen Cart code?
What edits have been made to the existing code?
Are you able to edit anything in the admin that offers a text box?
Etc, etc, etc.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

4 Jun 2023, 12:36 AM
#4
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How to edit description of category to include a link

@mc:
Thanks for continuing support, in reality is it not the same: I can edit the description but there is no CK editor as there is in Define pages, which leads me to think that CK editor is pre-installed in Zen Cart, it is an option that is not offered in the Admin categpries/products section, the option is present in Define Pages Editor and I set it so when configuring the store, there is an option to select plain text or CK that is how I got the option in define Editor, I didn't install any additional plugin, I am not at that stage yet.

I tried to write an html anchor tag with a link to a pdf file in a PDF directory that I created in / (root) but the link does not show in storefront, so it is related to a previous post about linking to EZ pages in the description, it has to be done with an anchor tag, I see no other way, but it does not work.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

4 Jun 2023, 12:58 AM
#5
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How to edit description of category to include a link

mc12345678:

This revised question appears to be related to: https://www.zen-cart.com/showthread.php?229534-Cannot-write-in-Define-Pages-Editor&p=1395152#post1395152

The solution may be different, but the same issue appears to be occurring here as was there.

That said though and in light of what was needed to locate the edit button in the category row, now have to try to understand all sorts of other possible situations. My initial smart Alec answer was to simply start writing when the description is shown. But, the absence of other data means we have to ask all sorts of questions which could have been prevented by addressing the posting tips and describing known conditions that we can't see.
Is ckeditor installed? Pre installed in Zen Cart, it is an option configurable in admin->My store ->Conguration- HTMl editor.
Is it shown as active on the screen? Not in description of Category
Is it present, and text isn't editable? Not present.
What software has been installed in addition to the core Zen Cart code? None
What edits have been made to the existing code? None
Are you able to edit anything in the admin that offers a text box? Yes
Etc, etc, etc.
I took the liberty of answering your questions inside your quote.
Thanks for caring.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

4 Jun 2023, 1:41 AM
#6
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How to edit description of category to include a link

*Sorry, sorry, sorry.
My anxiety to finish *this website took control of me, so I pressed the panic button too early, as usual.
I need to return to the psychiatric ward -))
**Issue is SOLVED!!
**
I simply checked under Configuration what were the settings for HTML editor, set them to CK, refreshed system and voila' CK editor appeared in sll its glory, and it gave the correct syntax for anchor tag.
This is a great help for me since it will speed up creation of site.
I find it much easier to create pdf files with images and everything then to use EZ pages, just a different way to achieve same result.
Now that I got it in the test site, I'm ready to go live, it's just a protocal change in CK to https.
It took me a long time to get the web server to work the way I need, but I am a stubborn SOB.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

4 Jun 2023, 2:04 AM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How to edit description of category to include a link

Congratulations on discovering a solution and following up with what you did to fix it... Way to go!

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

4 Jun 2023, 5:06 AM
#8
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How to edit description of category to include a link

Let's close this thread, OK?

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

4 Jun 2023, 6:14 PM
#9
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: How to edit description of category to include a link

ckosloff:

Let's close this thread, OK?
This is part of the point of what was being pointed out by some of us. Seldom is a thread closed for comments/replies.

That's why the posting tips ask for an abundance of information with EVERY post. No one should have to search where the site's information may have been completely disclosed. Likewise, one should not have to guess at a website if the goal is to change something that others could actually "see" if they had a link.

Of probably the most important is the steps to recreate the problem AND the steps taken to fix the problem. Even if the solution was an admin setting or a mistake in editing a define (it's quite common to leave off a ' at one or the other end of a define).

You are not the first nor will you be the last to not turn on CKEDITOR in the admin. BUT, if that were not part of your post, someone with a similar problem might never find the solution.

We all make mistakes, miss settings, and edit files we swear we never touched. Pobidy's Nerfect.

Admitting that along with the steps that caused the problem should always be open to search if only to help someone else in the future.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

5 Jun 2023, 11:18 PM
#10
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How to edit description of category to include a link

I only wanted to close thread because there was nothing more useful to say.
zI f you want an explanation about why the setting was changed in config, ii is because I was looking for the cause of not being able to write in Defiine Pages editor, unitil I discovered that the cause was unrelated to that setting, then I forgot to turn it back to CK.
Cheers,
CK

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

5 Jun 2023, 11:32 PM
#11
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How to edit description of category to include a link

If you want even more, I thought that a text editor like Writer in Libre Office was more suitable to produce complex documents with several pages, images, sections and chapters than EZ pages, so I decided to create such documents and then export them to pdf, which would open in any browser. so i created a PDF cirectory under root
as storage, moved my pdfs in there and then created a link with CK in category description and...
IT WORKED!!
Now don't tell me that most ZenCart users don't use Libre Office, I don't know what they use and don't want or need to know, but they must have something similar and the procedure is so simple that anybody can reproduce it.
Cheers,
CK

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

6 Jun 2023, 12:47 AM
#12
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: How to edit description of category to include a link

If it saves text in the same manner as word, it is not recommended.

Notepad or notepad++ do not add extraneous code to the file.

A test would be to type "Hello World" into Libre Office and save it as hello.html. Then, open it in notepad. MS Word uses 765 lines of code to create that file. Since Libre Office claims to emulate Word, I would avoid using it.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

6 Jun 2023, 9:54 AM
#13
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: How to edit description of category to include a link

i created a PDF directory under root as storage, moved my pdfs in there and then created a link with CK in category description ...

This is totally fine. Be sure to follow all the best practices for doing this (i.e. index.html and .htaccess files)

https://docs.zen-cart.com/user/products/downloads_not_products/

and (perhaps) add these files to your sitemap:

https://docs.zen-cart.com/user/storefront_pages/site_map/

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

6 Jun 2023, 7:38 PM
#14
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How to edit description of category to include a link

swguy:

i created a PDF directory under root as storage, moved my pdfs in there and then created a link with CK in category description ...

This is totally fine. Be sure to follow all the best practices for doing this (i.e. index.html and .htaccess files)

https://docs.zen-cart.com/user/products/downloads_not_products/

and (perhaps) add these files to your sitemap:

https://docs.zen-cart.com/user/storefront_pages/site_map/

Thanks for tips, will look into it.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

6 Jun 2023, 7:42 PM
#15
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How to edit description of category to include a link

dbltoe:

If it saves text in the same manner as word, it is not recommended.

Notepad or notepad++ do not add extraneous code to the file.

A test would be to type "Hello World" into Libre Office and save it as hello.html. Then, open it in notepad. MS Word uses 765 lines of code to create that file. Since Libre Office claims to emulate Word, I would avoid using it.

Libre Office does not claim to emulate anything, it just opens MS documents and can save in that format (not recommended), recommended format is odt: open document text.
Where did you see that claim to emulate?

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

6 Jun 2023, 10:49 PM
#16
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: How to edit description of category to include a link

  • emulate
    COMPUTING
    reproduce the function or action of (a different computer, software system, etc.).
    "the adaptor is factory set to emulate a Hercules graphics board"

    If it opens, edits, and saves as .doc files it is emulating Word.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

6 Jun 2023, 11:34 PM
#17
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: How to edit description of category to include a link

I think that @ckosloff was just using Libre Office to author the docs on his own computer, then generate PDFs for display over the web.

It is true @dbltoe that as you mentioned, Notepad or Notepad++ are better choices for plain text documents, but he's creating more complex documents with embedded images, etc.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

6 Jun 2023, 11:59 PM
#18
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: How to edit description of category to include a link

You are correct but the PDF will still be bloated as the PDF will have to uitilize all the extraneous code embeded in the file even if it doesn't "show" to the customer.

My overall point is to steer away from non-standard operations. Other than using 1.5.8a and a current PHP, I find it hard to advocate any of the methods used as standard operating procedures (SOP).

I would submit that less than 2% of ZC installations will ever find themselves in this situation.

While I gladly support and attempt to help that 2%, I feel there needs to be some disclaimer throughout the thread(s) with links to the actual SOPs.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

7 Jun 2023, 5:48 AM
#19
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How to edit description of category to include a link

@dbltoe
You are stubbornly insisting in your error, when I use Libre office I use odt format to create documents and export to pdf, in what way are they bloated with MS code?
You can call me names,
You can step on my blue suede shoes,
But no man no, don't step on Debian Linux.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

7 Jun 2023, 5:50 AM
#20
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How to edit description of category to include a link

@swguy,
Of course, of course you are absolutely right.
Thanks for your intervention full of common sense.
CK

[argentiniansupermarket.com

](http://argentiniansupermarket.com)