Joomlashack professional and free Joomla templates
About Joomlashack
What is Joomla!
My Account
RSS
Contact
Jobs
Home
Products
Pro Joomla Templates
Free Joomla Templates
Licensing Center
Joomla Books
Extensions and Components
Developer Template Club
Joomla Hosting
Template Tuning Services
Joomla Training
Support
Forum
Showcase
Tutorials
University
Team Blog
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
March 18, 2010, 05:25:17 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Please Read -
How to Get Help!
Participate in the forum and earn
Great Rewards!
52072
Posts in
14867
Topics by
127582
Members
Latest Member:
skiper43
Joomlashack Customization Forum
Free Joomlashack Products
Free Joomla Templates
SIFRstain
Cannot edit JS_SIFRstain from front end
« previous
next »
Pages:
[
1
]
Author
Topic: Cannot edit JS_SIFRstain from front end (Read 9817 times)
telboy
Jr. Member
Offline
Posts: 1
Cannot edit JS_SIFRstain from front end
«
on:
September 24, 2006, 02:05:50 AM »
I have just installed JS_SIFRstain but cannot edit content from the front end, the edit icon does not show. Does anyone know how to fix this or is this the way the template is designed?
Logged
Dean Marshall
Hero Member
Offline
Posts: 2850
Re: Cannot edit JS_SIFRstain from front end
«
Reply #1 on:
September 24, 2006, 09:37:52 AM »
I would hazard a guess that this is a result of the dynamic substitution of text with flash - but until you mentioned the template I had never heard of it (strike up another one for the new boy to learn).
I'll ask someone in the know for confirmation though - just to be sure.
Dean
Logged
Dean Marshall
Dean Marshall Consultancy Limited
Joomla web designers and expert Joomla consultants
http://www.deanmarshall.co.uk/
and
http://www.lancasterwebdesigners.co.uk/
hhtmp88
Jr. Member
Offline
Posts: 5
Re: Cannot edit JS_SIFRstain from front end
«
Reply #2 on:
March 17, 2007, 09:33:59 AM »
Hi Dean!
I installed this template a few days a ago and start modifying it to suit my need.
I find the same problem to me when I want to edit my content page in the frontend!
--> in addition, the original edit icon is replaced by a bunch of codes, here it is:
=======================
Free Coffee
<!-- function olMouseMove(e) { var e = e ? e : event; if (e.pageX) { o3_x = e.pageX; o3_y = e.pageY; } else if (e.clientX) { o3_x = eval("e.clientX+o3_frame." + docRoot + ".scrollLeft"); o3_y = eval("e.clientY+o3_frame." + docRoot + ".scrollTop"); } if (o3_allowmove == 1) {runHook("placeLayer",FREPLACE);if(olHideForm)hideSelectBox(); } if (hoveringSwitch && !olNs4 && runHook("cursorOff", FREPLACE)) { olHideDelay ? hideDelay(olHideDelay) : cClick(); hoveringSwitch = !hoveringSwitch; } } //-->
=====================
, where "Free Coffee" is the title of my content page.
Any ideas of how to correct?
Thanks for any kinds of help!
Logged
escoub
Jr. Member
Offline
Posts: 2
Re: Cannot edit JS_SIFRstain from front end
«
Reply #3 on:
March 28, 2007, 11:46:01 AM »
I have the same problem...
Logged
jeromy
Jr. Member
Offline
Posts: 1
Re: Cannot edit JS_SIFRstain from front end
«
Reply #4 on:
April 08, 2007, 10:38:01 PM »
I really like this template but the bugs are not managable. Any idea when this will be fixed?
Logged
itheopesIII
Jr. Member
Offline
Posts: 5
Re: Cannot edit JS_SIFRstain from front end
«
Reply #5 on:
June 23, 2008, 01:40:44 PM »
I posted a solution that recovers both the edit buttons and the header in the next post. Can't figure out how to delete this post.
I think the problem is somewhere in replacement calls. If you comment out the javascript below in /tempaltes/js_sifrstain/index.php line 70...
<script type="text/javascript">
//<![CDATA[
/* Replacement calls. Please see documentation for more information. */
if(typeof sIFR == "function"){
sIFR.bHideBrowserText = false;
sIFR.setup();
sIFR.replaceElement("#mainbody .contentheading", named({sFlashSrc: "<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/componentheading.swf", sColor: "#990000", sHoverColor: "#333333", sWmode: "transparent"}));
sIFR.replaceElement("#mainbody .componentheading", named({sFlashSrc: "<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/componentheading.swf", sColor: "#990000", sHoverColor: "#612E00", sWmode: "transparent"}));};
sIFR.replaceElement("#left div.moduletable h3", named({sFlashSrc: "<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/componentheading.swf", sColor: "#666666", sHoverColor: "#333333", sWmode: "transparent"}));
sIFR.replaceElement(".moduletable th", named({sFlashSrc: "<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/componentheading.swf", sColor: "#666666", sHoverColor: "#333333", sWmode: "transparent"}));
sIFR.replaceElement(".small", named({sFlashSrc: "<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/smalltext.swf", sColor: "#666666", sHoverColor: "#333333", sWmode: "transparent"}));
</script>
You won't see the javascript appear when you are logged in. If I figure out how to recover the edit buttons, I'll post it here.
«
Last Edit: June 23, 2008, 04:23:23 PM by itheopesIII
»
Logged
itheopesIII
Jr. Member
Offline
Posts: 5
Re: Cannot edit JS_SIFRstain from front end
«
Reply #6 on:
June 23, 2008, 04:09:14 PM »
Ok I figured it out. It doesn't like the javascript in the contentheading. You can correct this by editing the file
/components/com_content/content.html.php
Look for the function Title
and put the edit button in a new column outside of the contentheading class
function Title( &$row, &$params, &$access ) {
if ( $params->get( 'item_title' ) ) {
if ( $params->get( 'link_titles' ) && $row->link_on != '' ) {
?>
<td class="contentheading<?php echo $params->get( 'pageclass_sfx' ); ?>" width="100%">
<a href="<?php echo $row->link_on;?>" class="contentpagetitle<?php echo $params->get( 'pageclass_sfx' ); ?>">
<?php echo $row->title;?>[/url]
<!--- I deleted the EditIcon line from here and put it below--->
</td>
<td>
<!---- I added a new column and put the following line in it ---->
<?php HTML_content::EditIcon( $row, $params, $access ); ?>
</td>
<?php
} else {
<!--- do the same as above for all cases --->
?>
<td class="contentheading<?php echo $params->get( 'pageclass_sfx' ); ?>" width="100%">
<?php echo $row->title;?>
</td>
<td>
<?php HTML_content::EditIcon( $row, $params, $access ); ?>
</td>
<?php
}
} else {
?>
<td class="contentheading<?php echo $params->get( 'pageclass_sfx' ); ?>" width="100%">
</td><td>
<?php HTML_content::EditIcon( $row, $params, $access ); ?>
</td>
<?php
}
}
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
The Shack
-----------------------------
=> Announcements
=> General Discussion
=> JoomlaShack Affiliates
=> Requests, Suggestions & Feedback
=> Site Showcase
===> Aqualine
===> Aqualine Noir
===> Earthblog
===> Element
===> Inspirion
===> Jamba
===> Lightfast
===> Lush
===> Optimus
===> Relevant
===> Simplicity
===> Vintage
===> Weblogic
===> eBusiness
===> Community
===> AppBox
===> Verdant
=> Joomla Help
===> Joomla SEO Help
=> Joomla Component and Module Help
===> Favorite Joomla Extensions / Add-ons
=> The Joomla Book
-----------------------------
Developer Club Forum
-----------------------------
=> Dev Club FAQ
-----------------------------
Commercial Joomlashack Products
-----------------------------
=> How to Get Help With Joomla! & Templates
=> JS Verdant Template
=> JS AppBox
=> JS Community Template
=> JS eBusiness Template
=> JS Inspirion
=> Earthblog Template
=> Relevant Template
=> Weblogic Template
=> Vintage Template
=> Aqualine Reloaded
=> Aqualine Template
=> Lush Template
=> Element Templates
=> Voodoo Template
=> Rubicon Template
=> Lightfast Template
=> JS_Synergy Template
=> Elevation Template
=> JS Simplicity
=> JS Smoothportal
=> JS_Simple Pro
=> JS_Moja Template
-----------------------------
Joomlashack University
-----------------------------
=> Member Showcase
=> Networking and Community Help
-----------------------------
Joomla! Template Builder
-----------------------------
=> Joomla Template Builder
===> MyTemplate Beta1
-----------------------------
Joomlashack Shack Packs
-----------------------------
=> General Shack Pack Help
=> Joomla for Schools
-----------------------------
Free Joomlashack Products
-----------------------------
=> Free Joomla Templates
===> Jamba Joomla Template
===> Industry
===> Education
===> Nova Template
===> Bold 1.5
===> Empire
===> Lunar Eclipse
===> Matrix
===> Natura
===> Royale
===> SIFRstain
===> Vectoria
===> Velvet
===> Optimus Template
=> Free Components & Modules
===> Flash Image Rotator Module 2.5
=====> Flash Image Rotator Module 2.5 - Joomla 1.5
===> Flash JPG Rotator 1.0
===> Flexible Login Module
===> Flexible Login Module Help
===> X-Cart Intellicontact Integration
===> J!Contact
===> Flash JPG Rotator Help
===> Free Graphics
===> EasySSP Module
=> Free Theme Kits
===> RubiCraft
Loading...