SimplePortal
Customization => Custom Coding => Topic started by: mrazz on April 16, 2009, 08:25:40 PM
-
i have installed joomla 1.0.15 and smf 1.1.8 and simple portal 2.2 versions. smf and joomla they are working fine through bridge but when i want to come by joomla to simple portal its not showing the portal. any help...
-
Is there a link so we can see how this is set up?
And which Joomla bridge are you using?
-
i am using joomla-sfm bridge version 2.0.2.1a and at the moment the site is not online. i am developing it on my localhost. what i want is exactly a link to simpleportal index page. like http://localhost/smf/simpleportal.index. is there any not like "echo '<li><a href="', $scripturl, '" class="kwick opt0"><span>' , $txt[103] , '</span></a></li>';" i hope you understand what i mean.
-
Okay, I can guess the issue. SimplePortal tries to detect if you are really on portal or not by checking what's in the $_GET. If there is something that is not a usual portal action in $_GET, that means you aren't on portal and SimplePortal is not shown. If you can post the full url to the forum that you use to reach from Joomla!, I can show you how to add exceptions to the portal actions list.
Under normal conditions, portal will be displayed in http://localhost/smf/index.php and board index will be http://localhost/smf/index.php?action=forum.
-
thanks SiNaN (http://simpleportal.net/index.php?action=profile;u=2)... you exactly get it what i want. i am developing on my local computer so it is not possible yet you can see the site. i will explain something. when i am in the joomla page there i put a top menu to link to forum and as usual the home button is for simple portal. now when i put my cursor on forum button i am getting this kind of link in my status bar :
http://localhost/smf/index.php?option=com_smf&Itemid=33&action=forum
and when i put my my mouse cursor on arcade i am getthing this kind of code:
http://localhost/smf/index.php?option=com_smf&Itemid=33&action=arcade
and same codes like login, logout, register etc with ending of the button name. and i think i am getting the name of the code because in my index.template.php these all button have a command for example for forum index it will says "action=forum" and for aracad it's written "action=arcade". but when i put my cursor on the home button which is for portal it's showing me this code of line :
http://localhost/smf/index.php?option=com_smf&Itemid=33&
on the end there is no actin written.. i hope you understand what i mean.
thanks for any help
edit: sorry i foget to mention i put there one chat button and in index.template.php i edit the chat button location to http://localhost/smf/chat/index.php
and when i see through joomla i am not getting any additional word except what i put in index.template.php so i can enter in chat...it's a direct link to chat..is there any direct link to portal so i can put in my index.template.php...
-
Try this.
Subs-SPortal(1-1|2).php
'wwwRedirect' => true,
'wwwRedirect' => true,
'option' => 'com_smf',
'Itemid' => 33,
-
i see only one file in Sources named Subs-SPortal1-1.php so i edit it as you mention above and i am getting this parse error:
Parse error: syntax error, unexpected T_IF in /www/wamp/smf/Sources/Subs-SPortal1-1.php on line 1
is there a way to make a custom action like forum.arcade.gallery i will put action in my index.template.php and it will jump to the portal...thanks
-
Are you sure you edited the file correctly? Error message says that it's a typo on the first line of the file. If you can't figure out the issue, attach the edited file here.
-
i am attaching the file you can see i edit on line 362
-
I tested the file and its okay. Make sure you are uploading it correctly.
-
yes you were right maybe there was problem in saving or what i don't know . but now its the same as before when i click home (portal) button it's not showing me anything except gloabal header and footer of the forum and everything else is working...
-
thanks SiNaN for your help ...now i got working ... i put one custom button to the home page from joomla direct link. so it's like an external link from joomla to the portal....anyway thanks for your help...and i don't know if you can help me in one more thing about ajaxchat..i know maybe it not concern to you but maybe.... thanks for everything
here is my problem please read last post CLICK ME (http://www.smfhelper.info/forum/index.php?topic=4433.msg42353#msg42353)
-
Glad that you could solve your problem. Unfortunately I never used chat mods, so can't help much about that. I suggest that you try the support topic of the mod on sm.org.
-
it' ok SiNaN thanks a lot for your support...God Bless you and Happy Easter to you and to all of you team