How an I insert banners on my ads page? I have seen on other sites where there are banners in both the Latest Featured Ads block as well as the All Ads block.
How an I insert banners on my ads page? I have seen on other sites where there are banners in both the Latest Featured Ads block as well as the All Ads block. |
To put something in those blocks, you would need to modify the code that generates the main ad page. https://www.deanbassett.com |
Ok, thanks for that info. But isn't there some simpler method for a non programmer to use? I don't want to mess around with the code. |
No there is not. The main ads page is not in the page builders so it has to be modified by hand. https://www.deanbassett.com |
Wow! That's more than I expected. I'll study your tutorial and apply it as I can. I appreciate your effort. thanks! |
I made some of the changes you described. but I'm still a little confused. I can see the "My content here" on my Ads page, but how do I actually add the content?
Should I be placing my ad info directly into the BoxAdsModule.php file in place of the "My content here"? |
I made some of the changes you described. but I'm still a little confused. I can see the "My content here" on my Ads page, but how do I actually add the content? Should I be placing my ad info directly into the BoxAdsModule.php file in place of the "My content here"?
Correct. You need to replace the words My Content here with what you actually want there. https://www.deanbassett.com |
I tried that and got this error -
Parse error: syntax error, unexpected T_NEW in /home/sunwest/public_html/whatsonyourmind.us/modules/boonex/ads/classes/BxAdsModule.php on line 2084 |
You will need to post your code so i can see whats wrong. https://www.deanbassett.com |
Here's the section of code that I changed -
$sTopAdOfAllDayValue = $oTmpAdsSearch->displayResultBlock(); |
Here's the section of code that I changed -
$sTopAdOfAllDayValue = $oTmpAdsSearch->displayResultBlock(); Start with this correction first. Here's the section of code that I changed I changed the singled quotes in <a target='new' with double quotes. See if this change works.
$sTopAdOfAllDayValue = $oTmpAdsSearch->displayResultBlock(); https://www.deanbassett.com |
Yes, that did it! It came out exactly right. Any idea on how to remove the box there that says "Empty"
I really appreciate your help here. The site documentation is very weak. |
You don't want to remove that. That just means there are no member ads. When your members post ads, then their ads will be listed instead. https://www.deanbassett.com |
OK - I understand now. I really appreciate all your help. |