Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / Loadposition

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

Loadposition

More
13 years 1 week ago #1810 by madq42
Loadposition was created by madq42
Hello

I would like to put a module within the text of the categories but it won't put it. I have it fully working in other areas of the site but I just can't get it to work within the Adsmanager. I am using the usual {loadposition gallery99} but it will only show this as text rather than the module.

Any help would be very much appreciated.

Iain
More
13 years 1 week ago #1826 by tompap
Replied by tompap on topic Loadposition
you will have to do it in PHP
in the default.php of the view you want to change. Add the following code:

<?php
$style ="none";
$position = "myposition";
$document = JFactory::getDocument();
$renderer = $document->loadRenderer('module');
$modules = JModuleHelper::getModules($position);
$params = array('style' => $style);
ob_start();

foreach ($modules as $module)
{
echo $renderer->render($module, $params);
}

echo ob_get_clean();
More
12 years 11 months ago #2486 by madq42
Replied by madq42 on topic Loadposition
Hello

Thank you for coming back to me. I want to put it on this page
www.draganfly.co.uk/index.php/classified-adverts

but I can't find the default.php file that relates to this page. Which folder would it be in?

Thanks
Iain
More
12 years 11 months ago #2501 by tompap
Replied by tompap on topic Loadposition
This is views/front/tmpl/default.php
Moderators: perry
Time to create page: 0.072 seconds
Powered by Kunena Forum