Don't understand what you are trying tom say here!theonion wrote:And also, if you click and hold on the left hand buttons, the area that it selects is much bigger than the button... how?
And why would yo want to click on and hold them anyway
Moderator: General Support Moderators
Don't understand what you are trying tom say here!theonion wrote:And also, if you click and hold on the left hand buttons, the area that it selects is much bigger than the button... how?
Try replacing the template's index.php file with the following (make sure you make a backup copy of old index.php first!):1) Would it be possible to invert the positions of the 'Latest News' 'Popular' section with the 'Welcome to the Arden Theatre Company' on the front page, so that the 'Popular' and 'Latest News' links were underneath, not above the content?
Code: Select all
<?php defined('_JEXEC') or die('Restricted access'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<!-- Main stylesheet -->
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/template_css.css" />
<?php
//script to determine which div setup for layout to use based on module configuration
$collspan_offset = ( $this->countModules( 'right' ) + $this->countModules( 'user2' ) ) ? 2 : 1;
$user1 = 0;
$user2 = 0;
$colspan = 0;
$right = 0;
// banner combos
//user1 combos
if ( $this->countModules( 'user1' ) + $this->countModules( 'user2' ) == 2) {
$user1 = 2;
$user2 = 2;
$colspan = 3;
} elseif ( $this->countModules( 'user1' ) == 1 ) {
$user1 = 1;
$colspan = 1;
} elseif ( $this->countModules( 'user2' ) == 1 ) {
$user2 = 1;
$colspan = 1;
}
//right based combos
if ($this->countModules('right')) {
$right = 1;
}
?>
</head>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="808">
<tr>
<td class="outline">
<div id="pathway_outer">
<div id="pathway_inner">
<div id="pathway_text">
<jdoc:include type="modules" name="breadcrumb" style="none" />
</div>
<div id="buttons">
<jdoc:include type="modules" name="user3" style="table" />
</div>
</div>
</div>
<div id="search_outer">
<div id="search_inner">
<jdoc:include type="modules" name="user4" style="table" />
</div>
</div>
<div class="clr"></div>
<div id="header_outer">
<div id="header">
</div>
<div id="top_outer">
<div id="top_inner">
<?php if ( $this->countModules( 'top' ) ) { ?>
<jdoc:include type="modules" name="top" style="table" />
<?php } else { ?>
<span class="error">Top Module Empty</span>
<?php } ?>
</div>
</div>
</div>
<div id="left_outer">
<div id="left_inner">
<jdoc:include type="modules" name="left" style="table" />
</div>
</div>
<div id="content_outer">
<div id="content_inner">
<?php
if ( $this->countModules ('banner') ) {
?>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
<tr>
<td>
<div id="banner_inner">
<img src="<?php echo JURI::base(); ?>/templates/rhuk_solarflare_ii/images/advertisement.png" alt="advertisement.png, 0 kB" title="advertisement" border="0" height="8" width="468"/><br />
<jdoc:include type="modules" name="banner" style="table" />
<br />
</div>
<div id="poweredby_inner">
<img src="<?php echo JURI::base(); ?>/templates/rhuk_solarflare_ii/images/powered_by.png" alt="powered_by.png, 1 kB" title="powered_by" border="0" height="68" width="165"/><br />
</div>
</td>
</tr>
</table>
<?php
}
?>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
<tr valign="top">
<td width="99%">
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
<tr>
<td colspan="<?php echo $colspan; ?>" class="body_outer">
<jdoc:include type="component" />
</td>
</tr>
<?php
if ($colspan > 0) {
?>
<tr valign="top">
<?php
if ( $user1 > 0 ) {
?>
<td width="50%">
<div class="user1_inner">
<jdoc:include type="modules" name="user1" style="table" />
</div>
</td>
<?php
}
if ( $colspan == 3) {
?>
<td width="2">
<img src="<?php echo JURI::base(); ?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="10" width="2"/>
</td>
<?php
}
if ( $user2 > 0 ) {
?>
<td width="50%">
<div class="user2_inner">
<jdoc:include type="modules" name="user2" style="table" />
</div>
</td>
<?php
}
?>
</tr>
<tr>
<td colspan="<?php echo $colspan; ?>">
<img src="<?php echo JURI::base(); ?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="2" width="100"/><br />
</td>
</tr>
<?php
}
?>
<!-- <tr>
<td colspan="<?php echo $colspan; ?>" class="body_outer">
<jdoc:include type="component" />
</td>
</tr> -->
</table>
</td>
<?php
if ( $right > 0 ) {
?>
<td>
<div id="right_outer">
<div id="right_inner">
<jdoc:include type="modules" name="right" style="table" />
</div>
</div>
</td>
<?php
}
?>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
</div>
<div class="credits" align="center">
<jdoc:include type="modules" name="footer" style="none" />
</div>
<jdoc:include type="message" />
<jdoc:include type="modules" name="debug" style="none" />
</body>
</html>
I don't know what caused this, but the itemids in a number of the URLs associated with the thumbnail images are incorrect. Most are set to 55, which is the itemid of the Julius Caesar menu item...and that is probably why it is selected.2) When clicking on any of the production posters on the front page, the 'main menu' ALWAYS displays 'Julius Caesar' as selected, no matter which production is chosen. How can I set each page to display the right play, and not 'Julius Caesar'?
Code: Select all
<a class="highlightit" href="/joomla/index.php?option=com_content&view=article&id=51&Itemid=60"><img src="/joomla/images/gallery/posters/thumbs/r3thumb.jpg" border="0" title="Richard III, 2007" hspace="4" vspace="3" width="73" height="103" /></a>
<a class="highlightit" href="/joomla/index.php?option=com_content&view=article&id=49&Itemid=57"><img src="/joomla/images/gallery/posters/thumbs/12ththumb.jpg" border="0" title="Twelfth Night, 2006" hspace="4" vspace="3" width="73" height="103" /></a>
<a class="highlightit" href="/joomla/index.php?option=com_content&view=article&id=44&Itemid=56"><img src="/joomla/images/gallery/posters/thumbs/totsthumb.jpg" border="0" title="The Taming of the Shrew, 2005" hspace="4" vspace="3" width="73" height="103" /></a>
<a class="highlightit" href="/joomla/index.php?option=com_content&view=article&id=46&Itemid=34"><img src="/joomla/images/gallery/posters/thumbs/dreamthumb.jpg" border="0" title="A Midsummer Night's Dream, 2004" hspace="4" vspace="3" width="73" height="103" /></a>
<a class="highlightit" href="/joomla/index.php?option=com_content&view=article&id=47&Itemid=55"><img src="/joomla/images/gallery/posters/thumbs/caesathumb.jpg" border="0" title="Julius Caesar, 2003" hspace="4" vspace="3" width="73" height="103" /></a><br /><br />
<a class="highlightit" href="/joomla/index.php?option=com_content&view=article&id=52&Itemid=61"><img src="/joomla/images/gallery/posters/thumbs/journeythumb.jpg" border="0" title="Journey's End, 2007" hspace="15" vspace="5" width="73" height="103" /></a>
<a class="highlightit" href="/joomla/index.php?option=com_content&view=article&id=48&Itemid=58"><img src="/joomla/images/gallery/posters/thumbs/inspectorthumb.jpg" border="0" title="An Inspector Calls, 2006" hspace="15" vspace="5" width="97" height="69" /></a>
<a class="highlightit" href="/joomla/index.php?option=com_content&view=article&id=50&Itemid=59"><img src="/joomla/images/gallery/posters/thumbs/xmasthumb.jpg" border="0" title="Two One-Act Plays, 2006" hspace="15" vspace="5" width="72" height="102" /></a>
Looks like you took it out of poster view...3) In any of the production pages, selecting the 'Poster' tab causes the title image of the page to jump to the right, and then selecting any other tab causes it to jump back again... how can I alter this?
For Contact page, try putting this in the template_css.css files4) And lastly, for the CONTACT and FAQ pages, how can I insert an indent on the page so that the text doesn't begin square up against the left margin? And how can I make the text size bigger - which bit of the template is the relevant bit?
Code: Select all
div#component-contact {
padding:10px;
font-size:16px; /* note adjust to whatever size you want */
}
Code: Select all
if ( $this->countModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
$right = 1;
}
Code: Select all
if ( $this->countModules( 'right' ) ) {
$right = 1;
}
Code: Select all
//user1 combos
if ( $this->countModules( 'user1' ) + $this->countModules( 'user2' ) == 2) {
$user1 = 2;
$user2 = 2;
$colspan = 3;
} elseif ( $this->countModules( 'user1' ) == 1 ) {
$user1 = 1;
$colspan = 1;
} elseif ( $this->countModules( 'user2' ) == 1 ) {
$user2 = 1;
$colspan = 1;
}
//right based combos
if ($this->countModules('right')) {
$right = 1;
}
Code: Select all
if ( $this->countModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
$right = 1;
}
Guesds I misundrstood what you were asking. So, go to Extensions > Module Mamager > Latest News and in the Menu Assignment Panel, make sure the Select radio button is schecked and select only the home page.theonion wrote:....But I only need the 'Latest News' mod to appear on the homepage, not to show up on every page. And - please do correct me if I've got this wrong, I might have done - isn't that what will then happen?
Code: Select all
http://rc.hrpr.com
Code: Select all
http://rc.hrpr.com/index.php?option=com_content&view=article&id=46:latest-news-test&catid=1:latest-news&Itemid=50
Code: Select all
http://rc.hrpr.com/index.php?option=com_content&view=frontpage&Itemid=1
Code: Select all
http://rc.hrpr.com/index.php?option=com_content&view=article&id=46:latest-news-test&catid=1:latest-news&Itemid=50
Thanks...theonion2 wrote:Hey HarryB
Sorry I've been quiet for a little while - was waiting for my hosters to get back to me.
Joomla version is 1.5.3 - this I have control over.
PHP version 5.2.3 on a Linux server.
MySQL8 we are using version 4.1.15.
And neither of the two above can I update etc. Would be great to have a solution to this problem (note the website has now just moved to the domain arden-theatre.com).
Cheers!
Here is a copy of the original solarflare template for Joomla! 1.0.x that I converted. Assume the functionality you are talking about is perhaps in the index.php file...and maybe you can copy and update those parts you need.sirknight115 wrote:Hello HarryB,
I was wondering if I can put the Advertisement back in the middle like the old solarflare? where you can see the tab that said Advertisement and the ad's? Is there any way I can do this?
Thank You