Product Updates
Joomla 5.2.3 Compatibility for JA Templates, Bug Fixes, and More

Hi Guys

We have an issue and some requests / suggestions for the Pages feature

The Pages Short Description cuts off and leaves some content out, even though the text box shows additional characters available.

Requests / Suggestions

additional module position js_pages_top

We'd like Pages to have more of the functions of Profiles, with the ability to add CORE modules on their page and add content to those (like Profiles)

Ideally we'd LOVE an empty custom html module, and an affiliate code box for our AdAgency advertisers who have Pages (like the google one in Members core addons) so our Members can create a full Page with content that makes it worth building.

The ability to edit or hide the Page Details tab is really important since what is included is admin level information that we do not want on the front facing site, but the basic info we do need is missing which is the Page owner details like URL, phone, address and contact info, etc.

Are any of these possible? Or a workaround? Otherwise the pages are not really useful (to us anyway) as they don't have enough content areas to make the pages visitable.

In a list:

js_pages_top module position
ability for admin to add core content areas (like Profile options) to Pages
ability to modify Page Details tab content or hide it altogether

Thanks for any help or advice.

    parajeff
    Hi
    To change the page short description length to 120
    Open components/com_community/templates\templates\jomsocial\layouts\groups\min-header.php
    find

    
    $summaryLength = $config->get('header_summary_length', 80);

    Change 80 with 120 and save.

    About the Page fields for Phone, websites i already raised feedback ticket for development team on this.

    If you want to add new inbuilt module position follow this doc https://documentation.jomsocial.com/wiki/Built-in_Module_Positions
    Page details tab is part of the layout it would not control. you can set the default tab in Theme Designer option.

    Hi Pankaj

    Thanks!

    The edits did not work. The additional characters are available in the text entry box in the settings, but the display size is in the header has not changed on the front end. Still cut off at the same place.

    It's also not a group, it's a page, but I changed it in both files, and it has no effect in either on the front end.

    As for adding a module position, I saw that code in the documents but there's not enough information there to actually use it to add a module position. The instructions are incomplete.

    Will there be any chance of adding member controlled content modules (like the google ads core plugin for profiles) or a blank module from techgasp.com to the Pages layout?

    They're very much needed but if it's not doable I understand. We'd just like to know so we can scrap the Pages and try something different.

    Thanks again for the help, it's appreciated.

      parajeff
      Hi
      About the new position it need to be created inside this file
      /components/com_community/templates/layouts/jomsocial/pages/single.php
      find line <!-- focus area -->
      below this you can see already existed module like members list etc you can define a new module position above it that will display above member list.

      About the restriction of the page short info.

      Find this line in single.php

            <?php echo CActivities::truncateComplex(strip_tags($page->summary), $summaryLength, true); ?>

      replace it with

            <?php echo CActivities::truncateComplex(strip_tags($page->summary), true); ?>
      Write a Reply...
      You need to Login to view replies.