
Multiple Pound Variables?
#1
Posted 05 October 2006 - 04:56 PM
Here is the template I uploaded:
http://www.hollyostertag.com
I want to be able to switch out content in the lower left corner where my contact info is right now. I tried putting more than one #CONTENT# variables in separate cells, but the software tells me the template is not compatible that way.
Thanks for any help.
#2
Posted 05 October 2006 - 05:47 PM
To do what you want to do, you have a couple of options:
1. Use multiple templates with different "contents" in your contact info spot.
2. Code a #CUSTOMINC# php script to offer different contents based on the page name ($pr variable).
As a matter of fact, a variation of Option #2 above is to code an <iframe> calling for a new page (with the new page name being derived from the main page name, e.g., "Home Page S" for "Home Page"). You can then set up a small template with nothing other than the desired width for these mini-pages. In this way, you can use Page Editor for the mini-pages.
#3
Posted 05 October 2006 - 06:10 PM
I dont' know how to write php code, so option 2 I'll have to play around with. So, you're saying that each page could have a different element in that space?
#4
Posted 05 October 2006 - 07:10 PM
<?PHP
echo '<iframe src="index.php?pr='.$pr.'_S" width="300" height="420" frameborder="0" marginwidth="0" marginheight="0"></iframe>';
?>
You just get youself a second "content area" (300 x 420) and you will have to create a mini-page for each page with a "_S" suffix: a "Home Page S" for "Home Page" and a "About Us S" page for "About Us" and so on.
#5
Posted 05 October 2006 - 09:56 PM
Sorry I'm a bit confused here....
#6
Posted 05 October 2006 - 11:01 PM
<html>
<body>
<table width=300><tr><td>#CONTENT#</td></tr></table>
</body>
</html>
In this way, you can edit them via Page Editor in Soho.
#7
Posted 06 October 2006 - 08:49 AM
IF... this custom template has been made compatible for version 4.9 of soholaunch than HosterTag can just use the template box feature and insert #BOX1# #BOX2# etc. tags for extra content which will be managed through the blog manager.
Visit www.sohotemplates.com for your Soholaunch templates
High Quality StockPhoto's ! www.microstockphoto.com
Looking for High Quality Flash files? check Flashden!
#8
Posted 06 October 2006 - 11:44 AM
#9
Posted 06 October 2006 - 05:46 PM
#10
Posted 11 October 2006 - 06:27 PM
I have attempted to create a blog with the content I want displayed, but it only ends up in my content area.
Did I place the #BOX1# in the wrong area?
#11
Posted 12 October 2006 - 02:50 PM
#12
Posted 12 October 2006 - 08:42 PM
#13
Posted 13 October 2006 - 04:51 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users