RamonTF
Newbie   Posts: 8 Registered: 3/15/2009 Status: Offline
|
posted on 3/25/2009 at 05:08 PM |
CMS: RavenNuke v2.30.01
- Autotheme 1.77 Organizatonial
- Vista comercial template
The last version of RN comes integrated with an awesome shortlinks system:
"Tegonuke Shortlinks". When I switched to autotheme system the shortlinks
funcionality only works for the links on the blocks, but only there. If I
swich to another theme (fisubice for example) all shortlinks works as
intended... Is there any solution?.
Other issue is with the Sentinel "Page Closed" banner that appears for
admin at the top of the page (when disabled the page via sentinel admin
panel), with autotheme that banner dissapears.
Finally one question: If I need to add/change some code on any of the
functions included in theme.php how can I add these changes?. Many mods
needs that kind of changes.
Thanks for support.
|
| |
| |
RamonTF
Newbie   Posts: 8 Registered: 3/15/2009 Status: Offline
|
posted on 3/28/2009 at 11:18 AM |
Any news on this?
I think, if the core RavenNuke funcionality dont work full with AT then AT
is not RN compatible as your promo says... If no solution, at least one
response please. |
| |
Shawn
Administrator   Posts: 4607 Registered: 10/7/2002 Status: Online
|
posted on 3/30/2009 at 04:02 PM |
Sorry for the delay. I didn't get an email alert when this was posted.
I'm checking into these issues now.
-Shawn |
| |
RamonTF
Newbie   Posts: 8 Registered: 3/15/2009 Status: Offline
|
posted on 3/31/2009 at 10:10 AM |
No Problem 
Also got an issue with the Your Account "tabbed" Administration Panel
(RNYA). I think is Js problem with the AT javascript, probably your coding
is blocking some code. If it helps, the shout box included with the
RavenNuke distro got one function to allow other scrips to load...
[Edited on 31/3/2009 by RamonTF]
[Edited on 31/3/2009 by RamonTF] |
| |
Shawn
Administrator   Posts: 4607 Registered: 10/7/2002 Status: Online
|
posted on 4/1/2009 at 08:08 PM |
OK, I have a fix for the links. Let me know if it helps the other
problems.
Comment out: 'modules/AutoTheme/includes/atExtended' line 81
change:
return die();
to:
//return die();
-Shawn |
| |
RamonTF
Newbie   Posts: 8 Registered: 3/15/2009 Status: Offline
|
posted on 4/1/2009 at 09:49 PM |
Yes!, that fix the shortlinks. The other issues still dont work but only
viewed by admins.  |
| |
RamonTF
Newbie   Posts: 8 Registered: 3/15/2009 Status: Offline
|
posted on 4/14/2009 at 05:43 PM |
Ok, the other two issues resolved by myself . If anyone
wants the fixes PM me or ask here and I will reply also de fixes. |
| |
Shawn
Administrator   Posts: 4607 Registered: 10/7/2002 Status: Online
|
posted on 4/14/2009 at 05:58 PM |
If they are fairly short, please post them.
Thanks!
-Shawn |
| |
RamonTF
Newbie   Posts: 8 Registered: 3/15/2009 Status: Offline
|
posted on 4/14/2009 at 08:01 PM |
Ok, I think they are very short and easy, here we go:
NOTE: This fix only works for RavenNuke phpnuke distro.
--> OPEN: modules/AutoTheme/templates/php-nuke/*.html
(all html files in this folder OR the one you use as default in your
Autotheme admin.
--> SEARCH:
code: <?php
include('includes/javascript.php'); ?>
--> ADD BEFORE
code: <?php
include('includes/jquery/jquery.php');
include('includes/tabcontent/tabcontent.php');
include('includes/ajaxtabs/ajaxtabs.php');
include('includes/custom_files/nukeSEO/nukePIEhdr.php');
include('includes/custom_files/nukeSEO/nukeFEEDhdr.php');
// Sentinel site switch fix
global $ab_config;
if ($ab_config['site_switch'] == 1 && isset($_COOKIE['admin'])
&& is_admin($_COOKIE['admin'])) {
echo '<center><img src="images/nukesentinel/disabled.png" alt="'
. _AB_SITEDISABLED . '" title="' . _AB_SITEDISABLED . '" border="0"
/></center><br />';
}
if ($ab_config['disable_switch'] == 1 && isset($_COOKIE['admin'])
&& is_admin($_COOKIE['admin'])) {
echo '<center><img src="images/nukesentinel/inactive.png" alt="'
. _AB_NSDISABLED . '" title="' . _AB_NSDISABLED . '" border="0"
/></center><br />';
}
if ($ab_config['test_switch'] == 1 && isset($_COOKIE['admin'])
&& is_admin($_COOKIE['admin'])) {
echo '<center><img src="images/nukesentinel/testmode.png" alt="'
. _AB_TESTMODE . '" title="' . _AB_TESTMODE . '" border="0"
/></center><br />';
}
?>
--> CLOSE ALL AND UPLOAD
This will fix the RN Your Account admin tabs, the sentinel site switch and
(I think) much more... |
| |
Shawn
Administrator   Posts: 4607 Registered: 10/7/2002 Status: Online
|
posted on 4/14/2009 at 08:55 PM |
Thank you. However it would seem that it would be easier to add the code
you posted to the top of 'includes/javascript.php'. Then you don't have to
worry about which template you're using and don't have to edit all of them
;-)
Thanks!
-Shawn |
| |
Shawn
Administrator   Posts: 4607 Registered: 10/7/2002 Status: Online
|
posted on 4/14/2009 at 09:07 PM |
quote: Finally one question: If
I need to add/change some code on any of the functions included in
theme.php how can I add these changes?. Many mods needs that kind of
changes.
Also, for this question, as you figured out you can add them to the
'modules/AutoTheme/templates/php-nuke/whicheevertemplateyouuse.html' if you
want these changes for all AutoThemes.
Just for specific themes you can add them to the theme.html for the
specific theme.
Also, you can code an extra to do alot of these things. Maybe you can talk
the module authors into doing this so it won't be a hack.
-Shawn |
| |
RamonTF
Newbie   Posts: 8 Registered: 3/15/2009 Status: Offline
|
posted on 4/14/2009 at 09:54 PM |
quote: Thank you. However it
would seem that it would be easier to add the code you posted to the top of
'includes/javascript.php'. Then you don't have to worry about which
template you're using and don't have to edit all of them ;-)
Thanks!
-Shawn
Your welcome. I think, if you put the code to the top of javascript.php
when you switch to a non-autotheme theme the code an all de includes
repeats twice on every page. The code is in the normal header.php so maybe
is better to put to the *.html files (only used by AT) . |
| |
RickLeigh
Newbie   Posts: 3 Registered: 10/31/2009 Status: Offline
|
posted on 10/31/2009 at 03:09 AM |
quote: OK, I have a fix for the
links. Let me know if it helps the other problems.
Comment out: 'modules/AutoTheme/includes/atExtended' line 81
change:
return die();
to:
//return die();
-Shawn
I did this edit in my Auto Lite and it let my shortlinks work. But when I
tried to save a new block, my browser errors out. When I remove the edit,
my blocks will save again.
I also tried the rest of the edits provided in this thread and they didn't
help get the rest of the scripts working like it states.
____________________ Thanks,
Rick |
| |
RickLeigh
Newbie   Posts: 3 Registered: 10/31/2009 Status: Offline
|
posted on 10/31/2009 at 10:01 PM |
| Little feedback on how to fix this please? ____________________ Thanks,
Rick |
| |
RickLeigh
Newbie   Posts: 3 Registered: 10/31/2009 Status: Offline
|
posted on 11/6/2009 at 11:09 PM |
TEST! TEST! Is this mic working? Autothemes is blocking and keeping
shortlinks and the header.php content from loading in RN 2.4. Please advise
on how we can correct this issue.
____________________ Thanks,
Rick |
| |
djbigko
Newbie   Posts: 1 Registered: 9/17/2009 Status: Offline
|
posted on 2/25/2010 at 10:28 PM |
Is their a fix for this... Theme not working |
| |