downloads category and sub-catgory

Post

Posted
Rating:
#1273 (In Topic #271)
Avatar
Standard member
kitonline is in the usergroup ‘Fan in action’
Running RC25, in the Home→ Content Management→ Downloads→ Edit download category, the relation of categories and sub-categories were in order. But in Home→ Downloads home,  two of the three view buttons lead to sub-categories. Can I fix it in the phpMyAdmin without doing them again? why it is "untitled"? Where can I change it to something more meaningful?

The Category (C) tree is somthing like this
C1 http://www.tctfhlc-hk.net/index.php?page=downloads&type=browse&id=untitled-6
 C11
 C12
C2 http://www.tctfhlc-hk.net/index.php?page=downloads&type=browse&id=untitled-4
 C21
 C22
C3 http://www.tctfhlc-hk.net/index.php?page=downloads&type=browse&id=untitled
 C31
 C32
Online now: No Back to the top

Post

Posted
Rating:
#1278
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi there,

I'm taking a look at this now.

It might help if you can get me a login to your site so I can see more closely, or a screenshot at least.

However I think the URL issue is due to Chinese characters not being good for URLs. I'm giving that some thought now.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1280
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
It's exciting to see a Chinese-language site :).

I've added transliteration:
58 views (952 KB)
Here's the fix to do it:
Attachment

sources/urls2.php

You need the PHP 'intl' extension installed for it to work, or possibly iconv but I wasn't able to get that transliterating on my Mac so it's a fallback possibility.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1284
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
I forgot to mention this applies to new categories. However you can always edit the URL moniker for existing categories to what you want.

two of the three view buttons lead to sub-categories

This is where I'm not following, I don't understand the nature of the structural problem you're having.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1304
Avatar
Standard member
kitonline is in the usergroup ‘Fan in action’
I don't know what is "transliteration" and have not figured out how to install php intl extension on my Godaddy linux hosting using cPanel.

But I find after added the English translation before Chinese characters, the "view" buttons are in order, i.e. jumping to where they should have been.

Thank you Chris for your great and prompt reply.
Online now: No Back to the top

Post

Posted
Rating:
#1308
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

Transliteration is converting the script. In this case converting Chinese script to English/Latin/Roman script because that's what's used in URLs. See how "你好" automatically became "nin-hao" for the URL?

I'll take a look at GoDaddy's situation.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1309
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
I have just made an addon for servers without the PHP intl extension:
Transliteration - Composr

I think you've given me site access (I haven't gone through my emails fully yet), so if so I'll install it for you.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1312
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

I deployed the new addon to your site, it's working well.

I did find a problem with the URL monikers, you had monikers in the cms_url_id_monikers table for download categories that didn't exist yet, so when new categories were made it re-used those old monikers. It looks to me like the cms_download_categories AUTO_INCREMENT value got changed somehow, as usually it will never re-use the same ID. I fixed that for you, and then the new monikers were generating nicely with my addon. I think this might have been the problem you were trying to explain that I didn't understand initially.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1323
Avatar
Standard member
kitonline is in the usergroup ‘Fan in action’
Chris, you are so great!

Would it be even better if "/" could be used after transliteration instead of "%2F" in the url, i.e. in "id=tsui-ping-church%2Fjing-bai-bu%2Fjiang-dao-lu-yin"?
Online now: No Back to the top

Post

Posted
Rating:
#1328
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi :),

Yes, just enable a "URL Scheme" and the ID component will become a URL path component, it'll look much more natural without the % encoding.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

Manu, MVLipwig, Salman, Paul D, Philip, gabriel58

Forum statistics:
  • 1,084 topics, 5,240 posts, 6,114 members
  • Our newest member is yoyocoupons
Birthdays:
Back to Top