By And Kit on Sunday, 26 August 2018
Posted in Technical Issues
Likes 0
Views 574
Votes 0
Hi,

If the easysocial user Page function is enabled, a user can create a new Page, by selecting a Page category, then completing the new Page form. In this new Page form, there are 3 sections:

1. Page Details (title, permalink, description, notification, etc.)
2. Feature (photo albums, enable videos, enable audio, enable announcements, etc.)
3. Personalize Your Page (avatar, cover photo)

Questions:
- How to configure this new Page form? E.g., how to disable user selection of section 2 (Feature), so that only the admin from the backend can configure this (e.g., enable photo albums, disable the rest of the features)
- Is there an option to automate the permalink? E.g., by using [user-id]_[page-title]?
- Is it possible to allow user-specific Page categories, so that different user can have different set of categories (and sub-categories)?

Thanks!
Hey there,

To answer your question:

1) To configure the new Page form head to backend -> Easysocial -> Custom fields -> Workflows -> Page workflow
- from here you're able to disable those Feature option in the form by pressing the X at the end of the selection. Reminder : some of field are mandatory if mark with asterisk(*).

2) The permalink will be auto generated if you disable the field in the Page workflow. To do so :
- click on the permalink edit button
- go to visibility and disable Appear During Page Creation

Sadly the auto generation of permalink aren't configurable and will be base on the page id.

3) It is possible. To do so go to backend -> Easysocial -> Pages -> Categories.
- Choose a category or subcategory
- highlight the type of profile that is able to create a page with that category or subcategory.

If you've any question or need further explanation please ask away.
·
Monday, 27 August 2018 10:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Farqhan,

Thanks for the clear and complete answers. It's awesome! The amount of customization is amazing, very nice quality work EasySocial team!! Glad to have this extension.

Regarding question 2), could you please advice on the code file/section that assigns the page url, thinking of the possibility to make the url use [user-id]/[page-title] or [user-id]/[page-id_and_title]

Very nice per-category configuration and the ACL. Cool! I was hoping however if it's possible for each user to have their own set of categories/sub-categories... Either for the Pages, or for Albums inside a Page. For example, say a user create a page called "Nature scenery" under the "General" category. The user then wants to organize multiple Albums into categories/sub-categories. For example:
Category 1: Winter
Category 1.1: Beaches
--- Album 1: ABC Beach
--- Album 2: XYZ Beach
Category 1.2: Mountains
Category 2: Summer
Category 2.1: Lakes
These categories are specific to this user only, or maybe even specific to this Page only. I can't seem to find an option for this, but maybe it is possible... In case it is not possible, any recommendation for an App/extension that could allow this?

Thanks much again! And very cool customization on the Custom Fields & Workflows, awesome!
·
Tuesday, 28 August 2018 11:33
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.

Regarding question 2), could you please advice on the code file/section that assigns the page url, thinking of the possibility to make the url use [user-id]/[page-title] or [user-id]/[page-id_and_title]

Actually I wouldn't encourage user to change Easysocial routing behaviour because once you customised this, it will very difficult for you to manage to update to next release version of Easysocial.

Because it not only involved 1 single PHP file, it actually involved quite a lot of files.
For example :
JoomlaFolder/administrator/components/com_easysocial/includes/page/page.php (under getPermalink() method)

The system will rely on this PHP file to route that Page from non-SEF to SEF URL. (included those Page app page URL as well)
JoomlaFolder/administrator/components/com_easysocial/includes/router/adapters/pages.php

And i will involved other files as well.

If you really want to customise this Page URL, i would suggest you that use this SH404SEF extension, so you can able to customise it easier from this 2 files for the Page URL.
JoomlaFolder/components/com_easysocial/sef_ext/common.php
JoomlaFolder/components/com_easysocial/sef_ext/pages.php



Very nice per-category configuration and the ACL. Cool! I was hoping however if it's possible for each user to have their own set of categories/sub-categories... Either for the Pages, or for Albums inside a Page. For example, say a user create a page called "Nature scenery" under the "General" category. The user then wants to organize multiple Albums into categories/sub-categories. For example:
Category 1: Winter
Category 1.1: Beaches
--- Album 1: ABC Beach
--- Album 2: XYZ Beach
Category 1.2: Mountains
Category 2: Summer
Category 2.1: Lakes
These categories are specific to this user only, or maybe even specific to this Page only. I can't seem to find an option for this, but maybe it is possible... In case it is not possible, any recommendation for an App/extension that could allow this?

Unfortunately that is not possible to achieve this.
·
Tuesday, 28 August 2018 15:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Got it. Thank you for the tip, script and extension info, it is clear and complete, appreciate it. Awesome!
·
Tuesday, 28 August 2018 20:57
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding
·
Wednesday, 29 August 2018 12:00
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post