[SOLVED] change background image on cbsubs invoice

13 years 5 months ago #147447 by krileon
Replied by krileon on topic Re:change background image on cbsubs invoice
Don't believe you can do that. It uses Joomla to present the pop-up pages. Joomla renders these pages itself. Same class is applied to component pages (access a page with &tmpl=component or index2). Not sure what more to advise, sorry.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 5 months ago #147517 by Ducatiklubben
Replied by Ducatiklubben on topic Re:change background image on cbsubs invoice
Okay, would it be possible to disable (not show/open) the slip after confermin off-line payment?

Please Log in to join the conversation.

13 years 5 months ago #147557 by krileon
Replied by krileon on topic Re:change background image on cbsubs invoice

would it be possible to disable (not show/open) the slip after confermin off-line payment?

Currently, no. The payment slip is a requirement for offline payments. We've plans to add further features to the payment slip in a later release.

One way you can have a completely white background is edit component.php of your Joomla template (if one isn't present, see Default template and copy it over). Then to the body inside of component.php add style="background-color: white;".


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 5 months ago #147606 by Ducatiklubben
Replied by Ducatiklubben on topic Re:change background image on cbsubs invoice
Thanks! Solved it by copy component.php to our template and in there add:

<jdoc:include type="head" />
<link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/screen.css" type="text/css" media="screen print" />


Then I put this into cbpaidsubscriptions.css:

@media screen {
body { font-size: 11px; font-family: Arial, Helvetica, Sans-Serif}
}

Please Log in to join the conversation.

12 years 7 months ago #178064 by mike5151
Replied by mike5151 on topic Re:change background image on cbsubs invoice
I have had the same issue not just with CB but many other components that use modal windows and 'media screens'. The issue is where the background image of your site sits in your template - this is strictly regarding Joomla 1.5 templates, haven't ventured into 1.6 or 1.7 yet.

This is also a simpler (to me) method than the one described by Ducatiklubben.

The obvious place to put the background image for the site is as a css reference in the 'body' class of layouts.css, however that means the image will be picked up by CB and a number of other programmes.

So, an alternative is to place your background image in a div that surrounds all the other divs in index.php, then you can remove the reference within 'body' or choose a different background or colour altogether.

Hope that helps

Mike

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.604 seconds

Facebook Twitter LinkedIn