How to display Random Quotes?
Please any Idea?
Version
Installed - 6.1.1
Installation, updates, manuals and APIs.
Code, issues, development roadmap.
Custom job offers.
Send us your sales or general questions.
1) Place string
$_page_cont[$_ni]['daily_quotes'] = quote_get();
after
$_page_cont[$_ni]['promo_code'] = getPromoCode();
in templates/tmpl_uni/scripts/index page.
2) Add string
<div style="width:754px; margin-left: auto; margin-right: auto;">__daily_quotes__</div>
to the templates/tmpl_uni/page_1.html file after __include _footer.html__.
Correct style settings of this block see more
unfortunately the index page that you mentioned as the first step "templates/tmpl_uni/scripts/index page" doesn't exist in that folder(templates/tmpl_uni/scripts).. Any idea?
1, go to your main dolphin directory and edit index.php, find: this line:
$_page_cont[$_ni]['promo_code'] = getPromoCode();
2. just after the above code add the following code:
$_page_cont[$_ni]['daily_quotes'] = quote_get();
3, go to templates/tmpl_uni/page_1.html
4, find __promo_code__
5, just after it, add the following code:
<div style="width:754px; margin-left: auto; margin-right: auto;">__daily_quotes__</div>
should see more
you can see it at www.emprendevision.com
ps.. I sent you an email asking you about the TinyMCE issue I hope you have an answer for that...
thank you again..
I have try the code and it working perfectly. However I would like to have the quote display in a block. How could I do that?
-Ted
:(
Used this code:
<div style="width:754px; margin-left: auto; margin-right: auto;">__daily_quotes__</div>
<hr />