Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

disclaimer on event creation form

10 years 2 months ago
Licenses:
JomSocial Expired

HI support,

We would like to include a little disclaimer when creating and event, just below the event menu, and before the event creation form. I guess a modification of the template is needed, but I don't know which module should I modify.

Could you please let me know?

Thanks! :)

10 years 2 months ago
Licenses:

Hi.

Copy this file:

ROOT/components/com_community/templates/default/events.forms.php

to:

ROOT/templates/your-template/html/com_community (if you don't have "html" or "com_community" folders, feel free to create them)

Add this before: <div class="cLayout cEvents-Forms"> (between lines 17 and 18):

<?php $modules = JModuleHelper::getModules( 'disclaimer' );
foreach ($modules as $module) {
$_options = array( 'style' => 'xhtml' );
echo JModuleHelper::renderModule( $module, $_options );
} ?>

Above code will create a module position between event menu and event creation form. You may wrap it with <div> </div> if you like. Position is called "disclaimer". When you assign module to it, you'll need to type position name manually as it will be not listed on module position list.

After that you just could create an HTML module and add any text you want.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW