1. Agabby
  2. Sherlock Holmes
  3. Commercial Templates
  4. Thursday, 28 May 2015
  5.  Subscribe via email
Hello Ciaran,

Thanks in Advance.. OMG! Here I go again.. all I'm trying to do is fix errors myself and then I can't. I am using Privilege, trying to figure out why one of my pages triplicates my module. I searched the different css files to see if I could see code appearing 3x.

Tried editing file "/html/modules.php" in template "j51_privilege".

I copied & pasted code in a word doc so just in case it did not work I could put it back. When I put it back.. the page will not load and I get this error?

Parse error: syntax error, unexpected end of file in /home/april-/public_html/templates/j51_privilege/php/styles.php on line 186

Without pasting all the code.. I'm starting at Line 110 -hoping its enough for you to analyze. Last line is 186 </style> is the issue.

/*Style Side Column A, Side Column B and Content Divs layout*/
<?php if($this->params->get('column_layout') == 'SCOLA-SCOLB-COM') : ?>
#sidecol_a {float:left;}
#sidecol_b {float:left;}
#content_remainder {float:left;}

/* Override Update */
.img-fulltext-left {
float: left;
margin-top: 10px;
margin-bottom: 20px;
margin-right: 20px;
}
.img-intro-left {
float: left;
margin-top: 0px;
margin-bottom: 10px;
margin-right: 10px;
}

/*--Load Custom Css Styling--*/
<?php echo ($custom_css); ?>

/* Wrapper Width */
.wrapper960, #header_items {width: <?php echo ($wrapper_width); ?>px ;}

/* Responsive Options */


<?php if($res_top1_sw != "1";) : ?>
@media only screen and ( max-width: 767px ) {
#container_slideshow_modules {display:none;}
}
<?php endif; ?>

<?php if($res_top2_sw != "1";) : ?>
@media only screen and ( max-width: 767px ) {
#container_top_modules {display:none;}
}
<?php endif; ?>

<?php if($res_top3_sw != "1";) : ?>
@media only screen and ( max-width: 767px ) {
#container_top3_modules {display:none;}
}
<?php endif; ?>

<?php if($res_sidecola_sw != "1";) : ?>
@media only screen and ( max-width: 767px ) {
#sidecol_a {display:none;}
}
<?php endif; ?>

<?php if($res_sidecolb_sw != "1";) : ?>
@media only screen and ( max-width: 767px ) {
#sidecol_b {display:none;}
}
<?php endif; ?>

<?php if($res_bottom_sw != "1";) : ?>
@media only screen and ( max-width: 767px ) {
#container_bottom_modules {display:none;}
}
<?php endif; ?>

<?php if($res_base_sw != "1";) : ?>
@media only screen and ( max-width: 767px ) {
#container_base #base.block_holder {display:none;}
}
<?php endif; ?>

/*-- Background Image --*/
<?php if($this->params->get('bgimagefile') != '') : ?>
body {background: url(<?php echo $this->baseurl ?>/<?php echo $bgimagefile; ?>;) 50% 0% no-repeat fixed;}
<?php endif; ?>

</style>
Accepted Answer Pending Moderation
0
Votes
Undo
Hi April

Your issue would not be related to the template. Revert any changes you made to the modules.php and styles.php and post a link to an example of the issue and we will examine it further.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciaran,

I don't understand your request. The file I went into was the php/styles file from the template Manager. I don't know how to revert it. I saved each step, again even when I copied the code back. I tried to compare it to the Cashmere php styles and the last code is similar except "</style> is located a little further up. This may mean nothing. No matter what I change, the error message refers to the last line, even if its blank.

Thanks

a
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi April

It's ok.. I misunderstood your query thinking that you had made changes to these files in an effort to resolve your issue. May I suggest sending temporary administration access to your Joomla installation along with a URL to an example of the issue to info@joomla51.com and we will examine this further. For our reference please paste a link to this post in your email.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you April

Could I ask you to check the details provided as they are giving us the following error...

Warning
Login denied! Your account has either been blocked or you have not activated it yet


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciaran,

I fixed the issue.. hope you are able to assess. Thanks
a
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you April

I have restored your templates styles.php back to the original. Your sites appears to be now loading correctly.

You appear to have multiple modules with the same content on your 'About' page. Was this done in error?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Ciaran,

THANK YOU! THANK YOU! My host was not able to assist me even after a restore. I do not want the multiple modules with the same content on the "About" page. I am not sure what I did awhile back to make this happen. This is what I am trying to remove and how I messed up the styles.php code.. trying to remove the multiple modules. How do I find the problem and remove it. I think that one time.. I kept clicking over rides and this occurred. I can't recall... Thanks

A
  1. more than a month ago
  2. Commercial Templates
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok