Joomla

How to configure Joomla 1.7 SMTP email with a google apps email address

南楼画角 提交于 2020-01-04 06:27:49
问题 I have a fresh Joomla 1.7 install. I have a valid, confirmed, working google apps email that I can log into via the web client. I have pop and imap enabled. Configuration within Joomla Global Configuration Tab in the Mail Settings section is as follows: Mailer: SMTP From Email: [-me-]@decherney.com From Name: Test Site Email Sendmail Path: /usr/sbin/sendmail SMTP Authentication: Yes SMTP Security: SSL SMTP Port: 465 SMTP Username: [-me-]@dechereny.com SMTP Password: [-password-] SMTP Host:

Joomla How to customize main menu

倾然丶 夕夏残阳落幕 提交于 2020-01-04 05:15:09
问题 I am learning joomla and faced the next problem. Here is the main menu in HTML <ul> <li class="active"><a href="#">home</a></li> <li><a href="#">bio</a></li> <li><a href="#">news</a></li> <li><a href="#" class="first-lev">projects<span class="ico"></span></a> <div class="sub-nav"> <ul> <li><a href="#">yegor<br/>zabelov<br/>trio</a></li> <li><a href="#">gurzuf</a></li> <li><a href="#">soundtracks</a></li> </ul> </div><!-- .sub-nav --> </li> ... </ul> How is it possible to customize the main

Mail content shows as html code in Joomla 3

血红的双手。 提交于 2020-01-04 03:40:09
问题 I have written a script for sending a mail, it gets delivered to the correct email address but in them form of HTML code, I don't know why it's not working as same code is working fine in Joomla 2.5. Here's my code: $mailer = JFactory::getMailer(); $config = JFactory::getConfig(); $subject = 'Account Created'; $from = $config->get('mailfrom'); $fromname = $config->get( 'fromname' ); $body = "<p>Hello Test F,</p><br/><p>Thank you for registering at Deals&offers. Your account is created and

How to redirect the user according to their user groups in Joomla

末鹿安然 提交于 2020-01-04 03:27:08
问题 I have created my website in Joomla. In my site I have created 3 user groups ('guest', 'unregistered', 'registered'), and I have created one blog kind of thing called abstract corner in article. The 'guest' and 'unregistered' user can just view the guidelines but they can't submit the abstracts. The 'registered' user can submit abstracts. I am using two images to display "abstract guidelines" and an "abstract submission" link. How can I redirect this user to particular article? Please help me

How to redirect the user according to their user groups in Joomla

孤者浪人 提交于 2020-01-04 03:26:08
问题 I have created my website in Joomla. In my site I have created 3 user groups ('guest', 'unregistered', 'registered'), and I have created one blog kind of thing called abstract corner in article. The 'guest' and 'unregistered' user can just view the guidelines but they can't submit the abstracts. The 'registered' user can submit abstracts. I am using two images to display "abstract guidelines" and an "abstract submission" link. How can I redirect this user to particular article? Please help me

PHP Error Warning: Parameter 1 expected to be a reference

懵懂的女人 提交于 2020-01-04 02:16:07
问题 I am "familiar" with PHP and my friend had his site broken with error: Warning: Parameter 1 to Some_function_name() expected to be a reference, value given in /.../public_html/includes/tng/tNG.class.php on line 219 line 219: $ret = call_user_func_array($callBackFunction,$tempParam); I am not sure what happened on his server, but hosting company team said something about the Joomla and PHP conflict. How can I fix it? 回答1: Check the function signature of Some_Function_name() , you probably have

How to fix truetyphography plugin in Joomla [é => e]

孤街浪徒 提交于 2020-01-03 04:38:07
问题 I'm using truetypography plugin on my site. It's great for hyphenation (my site has 3 columns, so its necessary), but for some reason, in polish language file, changes several "e" into "é". Of course it happens on the go while displaying, so db and admin part of joomla looks ok. Now I'm using something like this in jQuery to fix it: $("#content").html($("#content").html().replace("é", "e")); But I would like to fix the cause, not cover the output. Any ideas on how to fix it? Any suggestions?

How can I get languages from the langauge manager in joomla?

旧时模样 提交于 2020-01-03 00:56:52
问题 How can I get the languages installed in the language manager in joomla, as I know the following: getLocal() give for local machine language am not get the language installed in the application getname() , getTag() give you the current language name / tag 回答1: This code returns the current language... $lang =& JFactory::getLanguage(); echo 'Current language is: ' . $lang->getName(); By using the below query you can get all the languages installed in Joomla. $db =& JFactory::getDbo(); $db-

How to make AJAX call to myself from Joomla! module?

邮差的信 提交于 2020-01-03 00:56:06
问题 I wrote a module that is dependent on some third party device (load, parse & display). Sometimes it takes 5 seconds for it to respond so I tried to ajaxify this part. My Joomla! module is ready as well as code with AJAX (mootools) but I can't figure out the URL to access my module php file "infused" by Joomla! (something like /index.php?option=com_content). I can hardcode and access it (/modules/mod_a/xyz.php) but I will run into "direct access not allowed" which is no trouble, but I don't

Joomla create 2 different sub menus with same menu items

梦想的初衷 提交于 2020-01-03 00:32:32
问题 I have two menus first one is "3D" and second one is "2D" . I have some sub menu items in common,for example Getting Started sub item common in 3D & 2D . But i can't create that menu in same name.But that is very important in our project. How can i create sub menu items with same name? 回答1: You can't create two menu items with the same alias but you could link them using: Menu item Type: System Links -> Menu Item Alias This menu item will just be a link to the other item using the same alias.