Bulk category manager

More
13 years 3 months ago #30309 by brandonking
Hi,

Importing contents from csv is great function in FC and I love it. Before that I have to import/create so many categories and this is a huge time-consuming.

FC lovers and I would be really appreciate if anyone creates bulk category importer/creator which can imports categories from csv or creates categories via submit form. Including an option to add aliases same as its title and supporting for UTF-8 would be more powerful.

Regards,
Brandon

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #30323 by ggppdk
Replied by ggppdk on topic Bulk category manager
The majority of CSV import work (done for items), can be used without alterations for categories too, which are less complex than items.

In fact parsing file would be almost same (except for parsing field values with properties), and then category-model store would be called.

But to add this and then debug it , can be done for future version only.

Is there not a 3rd party category import for Joomla ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #30331 by brandonking
Replied by brandonking on topic Bulk category manager
I have found 3rd party mass category called OScontent.
But there was a bug on OScontent. If I add categories in in different language(UTF-8) none of alias will be added. Only worked for English. I have asked support team to solve this a week ago but no one helped me. So I tried to fix by myself and finally I have solved it today. Anyway if there is a function like OScontent in FC it would be really great.

Thanks for your time.

P.S
Line around 238 in categories.php under com_OSContent/admin/models
$table->alias = JFilterOutput::stringURLSafe($post["alias"][$i]);
to
$table->alias = $post["alias"][$i];

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #30579 by yanndev
Replied by yanndev on topic Bulk category manager
Thank you for the answer, but it's too simple, I want to keep all the settings for a Flexicontent category.

What MySQL tables are impacted when creating a new category?

xhtml/html/css/js/php...

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #30580 by ggppdk
Replied by ggppdk on topic Bulk category manager
Currently for categories , it is exactly as it is for Joomla,

_categories and _assets


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #30589 by yanndev
Replied by yanndev on topic Bulk category manager
Hum _assets...
I thinks is difficult to create with MySQL routine for many categories/sub-categories with all flexi settings...
I have to create so many categories/sub-categories...

Thanks for reply
Sorry for my bad english

xhtml/html/css/js/php...

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #30591 by ggppdk
Replied by ggppdk on topic Bulk category manager
Hello,

If you can create for categories for Joomla com_content , then they will work with FLEXIcontent,

For importing categories, similar but simpler code is needed as for importing items, for adding this i would need a full day to implement / debug / cleanup / add language strings and test for both J1.5 and J2.5,

cannot do now, since it seems that will be useful, we will add, but unfortunately not to current version

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #30598 by yanndev
Replied by yanndev on topic Bulk category manager
Thank you ggppdk & Brandon.

I tested osContent, it seems manage the _assets table, only the fields "rules JSON encoded access control" is not completed, there should be the code below, is it important?
Code:
{"core.create":[],"core.delete":[],"core.delete.own":[],"core.edit":[],"core.edit.own":[],"core.edit.state":[],"core.edit.state.own":[]}

For the category table it does not completed the field "path" (eg: category/sub-category/sub-sub-category), is that this field is important? it seems to be part of the url ...

And fields "params" is not completed ...
What I would, is define a fixed variable for params, e.g.:
Code:
{"target":"_:default","image":"","note":"","comments":"","automatic_pathways":"","show_feed_link":"0","add_canonical":"","show_cat_title":"0", ... etc...

and injected her via the php processing when creating a new category.

The metadata fields are not completed e.g.:
Code:
{"page_title":"","author":"","robots":""}

Some thoughts if it helps to create an extension of import, it seems to me important to keep the copy option of setting parameters of the category when creating ...

xhtml/html/css/js/php...

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #30600 by ggppdk
Replied by ggppdk on topic Bulk category manager
mmm, not completed?

e.g. if a parameter is missing it will just use a default value inside PHP code

same for asset rules

also after importing categories logout and relogin and then visit FLEXIcontent Dashboard,
and
FLEXIcontent will check the is something is needed to be added to the assets


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save