51
Burning
Re: help with $xoops_requesturi
  • 2010/10/8 17:06

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Could you tell me how it works ? I'm trying to put this kind of condition into theme.html ... but nothing happens


EDIT
... oups ! Sorry :( My website is into a subfolder, it could not work !

Correct script is :
<{if $xoops_requesturi != "/mysubfolder/viewpmsg.php"}>
Still learning CSS and... english



52
Burning
Re: FCKeditor for XOOPS
  • 2010/10/7 23:57

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Plugins are the same, nothing changed. It worked with FCKEditor 2.6.3

Here instructions to install :
Quote:

a. Modiy fckeditor/fckeditor/fckcongifs.js (around line 55)

// Youtube plugin
FCKConfig.Plugins.Add( 'youtube', 'en' ) ;

// EmbedMovies plugin
FCKConfig.Plugins.Add( 'embedmovies', 'en' ) ;

// flvPlayer plugin
FCKConfig.Plugins.Add( 'flvPlayer', 'en' ) ;

b. Modify toolbar into fckeditor/fckeditor/fckconfigs.js (around line 162)

['EmbedMovies','YouTube','flvPlayer'],

c. Modify toolbar into fckeditor/fckconfig-xoops.js (line 16)

['Image','Flash','Table','Rule','SpecialChar','EmbedMovies','YouTube','flvPlayer'],


d. Add plugins into fckeditor/fckeditor/editor/plugins/youtube/
- /fckeditor/editor/plugins/embedmovies/
- /fckeditor/editor/plugins/youtube/
- /fckeditor/editor/plugins/flvPlayer/


To make plugin flvPlayer works :
1. In flvPlayer.js, replace MediaBrowserURL by FlashBrowserWindow
2. In flvPlayer.js, delete background-image: ***

(*** sorry, my notes seems incomplete here)


Tell me if you have enough free time ... I hope so


---

Here the download link :http://tutos.xoofoo.org/modules/mydownloads/viewcat.php?cid=48
Still learning CSS and... english



53
Burning
Re: FCKeditor for XOOPS
  • 2010/10/7 18:14

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Many thanks, that's great !



ps : I have two plugins to manage video, do you want to add it ?
Still learning CSS and... english



54
Burning
Re: News 1.66 - How to hide Approve checkbox ?
  • 2010/10/7 9:05

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Thanks a lot, it works fine !
... and I feel less stupid now with XoopsFormHidden instruction
Still learning CSS and... english



55
Burning
Re: Smarties into Footer field ?
  • 2010/10/7 9:03

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Thanks for information :)
Still learning CSS and... english



56
Burning
News 1.66 - How to hide Approve checkbox ?
  • 2010/10/6 23:49

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

I'm trying to simplify submit and edit forms.

I would like to keep only these fields :
• title (text field)
• subject (list of choix)
• scoop (text area)
• body text (text area)
• upload fields (for attached files and image)

I have already hidden all fields I want :
• news/include/storyform.original.inc.php --> to simplify public edit form and back office forms
• news/include/storyform.inc.php --> to simplify submit form front office)

... except one :(

How could I hide the approve checkbox ?

Here is the code (News 1.66):
//Set date of publish/expiration
if ($approveprivilege) {
    if(
is_object($xoopsUser) && $xoopsUser->isAdmin($xoopsModule->getVar('mid'))) {
        
$approve=1;
    }
$approve_checkbox = new XoopsFormCheckBox('''approve'$approve);
$approve_checkbox->addOption(1_AM_APPROVE);
$option_tray->addElement($approve_checkbox);

   
$check $published>:0;
$published_checkbox = new XoopsFormCheckBox('''autodate',$check);
$published_checkbox->addOption(1_AM_SETDATETIME);
    
$option_tray->addElement($published_checkbox);
$option_tray->addElement(new XoopsFormDateTime(_AM_SETDATETIME'publish_date'15$published));


$check=$expired>:0;
$expired_checkbox = new XoopsFormCheckBox('''autoexpdate'$check);
$expired_checkbox->addOption(1_AM_SETEXPDATETIME);
    

$option_tray->addElement($expired_checkbox);
$option_tray->addElement(new XoopsFormDateTime(_AM_SETEXPDATETIME'expiry_date'15$expired));

}


If I comment this line, checkbox is hidden as I would like but article is not approved (moderation is needed).
Quote:

$option_tray->addElement($approve_checkbox);


Thanks in advance for response
Still learning CSS and... english



57
Burning
Smarties into Footer field ?
  • 2010/10/6 21:46

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Xoops 2.4.5

I Would like to put this condition into the footer field (System module / Preferences)

Quote:
<{if $xoops_isadmin}>Admin menu 01 - Admin menu 02 - ...<{/if}>


But it seems that <{if}> tag is not allowed at this place, it returns
Quote:
<{if $xoops_isadmin}>Admin menu 01 - Admin menu 02 - ...<{/if}>

instead of
Quote:
Admin menu 01 - Admin menu 02 - ...


---

That's not important because we can do that with the theme and a footer template ... just to have one more point
Still learning CSS and... english



58
Burning
Re: Template Set Manager Download - bad tar.gz file
  • 2010/9/30 20:53

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

It is not an anwser but ... why do you need Template set manager ?
I believed it was deprecated since Xoops 2.0.14 and his templates oveload feature

I may be wrong...
Still learning CSS and... english



59
Burning
Re: Content 1.25RC - Impossible to delete items, little fix
  • 2010/9/29 18:58

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

It works for me (and I guess for Dugris).

My worspace :
• Xoops 2.4.5
• PHP 5.2
• MySQL 5.1.36
• local

Yours ? Debug mode ?
Still learning CSS and... english



60
Burning
Re: Problem moving to a new hosting
  • 2010/9/29 16:56

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


Have you opened index.html and index.php files to see what it contain ?

Who is your hosting company ?
Still learning CSS and... english




TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 74 »



Login

Who's Online

277 user(s) are online (175 user(s) are browsing Support Forums)


Members: 0


Guests: 277


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits