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 / Support / PaidSystem Support / [RESOLVED]Module doesn't appear in non AdsManager

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.

[RESOLVED]Module doesn't appear in non AdsManager

More
11 years 5 months ago - 11 years 5 months ago #1768 by panta7
Hello,
I created a Paidsystem - Ads module to show featured ads, the module is shows properly entering through an AdsManager menu voice, but with a non AdsManager voice (ex: a K2 single article link) the module doesn't appear. Need, help please.
Thanks.
Last edit: 11 years 5 months ago by tompap.
More
11 years 5 months ago #1842 by tompap
Are you using 2.9.5 ? Did you check javascript console issue ? Could you check the source code of the page to see if adsmanager.css is loaded correctly on a "no adsmanager" page
More
11 years 5 months ago #1889 by panta7
Yes, 2.9.5

Javascript error: "Uncaught TypeError: Cannot read property 'onUpdated' of undefined"

No, adsmanager.css is not loaded on a "no adsmanager" page.
More
11 years 5 months ago #1895 by tompap
If you are using the mod_paidsystem_feat, you should see a "adsmanager.css"

in the code
if (!defined( '_ADSMANAGER_CSS' )) {
/** ensure that functions are declared only once */
$templateDir = JPATH_ROOT . '/templates/' . $app->getTemplate();
if (is_file($templateDir.'/html/com_adsmanager/css/adsmanager.css')) {
$templateDir = JURI::base() . 'templates/' . $app->getTemplate();
$document->addStyleSheet($templateDir.'/html/com_adsmanager/css/adsmanager.css');
} else {
$document->addStyleSheet($baseurl.'components/com_adsmanager/css/adsmanager.css');
}
}

Try to change your template to default one, to see if the problem is not due to your template.
More
11 years 5 months ago - 11 years 5 months ago #1927 by panta7
I tried to change the template to default one and it works.
How can I fix this problem on my template? Thanks.

IMPORTANT: I added this line to my template to customize some styles:
<link rel="stylesheet" href="/templates/theme1647/css/adsmanager.css" type="text/css" />
Last edit: 11 years 5 months ago by panta7.
More
11 years 5 months ago #1941 by tompap
You can add
<link rel="stylesheet" href="/templates/theme1647/css/adsmanager.css" type="text/css" />

directly in your template, to force the loading of the CSS.

Doing that, is it working correctly ?

Note: it will be better to move your adsmanager.css to
$document->addStyleSheet("/templates/theme1647/html/com_adsmanager/css/adsmanager.css');

so AdsManager will load this adsmanager.css instead of default one
Time to create page: 0.119 seconds
Powered by Kunena Forum