211
alain01
Re: Warning with xoInboxCount
  • 2019/12/8 0:29

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Yes, thanks,
but another question :

How can i subtract <{$inbox_total}>-<{$unread_count}>

It 's display : "4-3", not"1"


<li class="nav-item">
            <
class="nav-link" href="<{$xoops_url}>/viewpmsg.php">
            <{if 
$unread_count}> 
                <
span style="font-size: 20px;" class="mx-auto xoopsinactive-color fas fa-envelope"></span> <span class="badge badge-pill badge-danger align-text-top"><{$unread_count}></span>
            <{/if}>
                <
span style="font-size: 20px;" class="mx-auto xoopsinactive-color fas fa-envelope-open"></span> <span class="badge badge-pill badge-secondary"><{$inbox_total}>-<{$unread_count}></span>
            </
a>
        </
li>



212
alain01
Re: xswatch
  • 2019/11/27 9:37

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Ok, good news !

Do you use smarty variables with the tag active, with the navmenu elements ?
Like $xoops_page, $xoops_startpage and $xoops_modulepage.

It's a very usefull !



213
alain01
Re: xswatch
  • 2019/11/19 7:03

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


OK, i will come back next days to get a full answer for you,
but quick answer here :

1- Read the file here README

2- sources are here https://bootswatch.com/ (buttons Download)

3 - Here you get custumize b4 but xswatch was created with b3, so you need to modify some little things in files *.tpl.



214
alain01
Re: xswatch
  • 2019/11/18 16:44

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Humm, Not clear,
i dont understand...

U use bootstrap (with xswatch, it's B V3)

With B4 or b3, u can use autamatically with media :

See the table here

xs, sm, md and mg...



215
alain01
Re: XOOPS installation with sample data
  • 2019/11/16 14:00

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Mamba,

i 've wrotten other thing :
Quote:
Now,
i think, to bring more people, it would be so usefull for all (specially for new xoops webmaster) to get XOOPS with an option during installation :
- Fresh empty news XOOPS
- Fresh New XOOPS with sample data


I mean " A ready to use " XOOPS, for the option 2 (1 module installed like xmcontent with data, and 2 activated blocks with informations on it)



216
alain01
Re: xswatch
  • 2019/11/14 15:52

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Hi,
with B4, may be use hide class

Read this : https://getbootstrap.com/docs/4.0/utilities/display/#hiding-elements



217
alain01
XOOPS installation with sample data
  • 2019/11/14 15:14

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Hi,
cause XOOPS comes with no data, it 's hard for novices to see and undertand the power of xoops in 10 mn.

2 examples :
1 - In the themes directory, since long time (2016 ?), there is a beautiful theme with lot of functionnalities : xswatch.
I never used it cause for a fresh install, without data, this theme is very minimalist. With data, it's a wonderfull theme

2 - With Goofy's modules (wgteams), there is button to import sample data
It's very usefull, in 1 mn, we can see how works the module
I think it would be in the next new modules

Now,
i think, to bring more people, it would be so usefull for all (specially for new xoops webmaster) to get XOOPS with an option during installation :
- Fresh empty news XOOPS
- Fresh New XOOPS with sample data

For the option 2,
We could install and activate a very simple and usefull module like xmcontent, with 2 pages like :
page 1 : "Welcome to my first page"
page 2 : "About us"
Using center block to display pages.

I know that blocks are not always display, depends theme, but, the idea is here.

It's just an idea...



218
alain01
Re: XOOPS 2.5.9 Notes for Theme Creators
  • 2019/11/12 1:03

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Thank you for this advice !

Here, by mage (little bug, it would be ok by mage next days)



219
alain01
Re: XOOPS 2.5.9 Notes for Theme Creators
  • 2019/11/11 0:16

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Quote:

geekwright wrote:
New Smarty variables added in XOOPS 2.5.9


$xoops_page contains a condensed version of the current page name. For example, forhttp://myurl/index.php, $xoops_page would be "index". Forhttp://myurl/modules/profile/edituser.php, $xoops_page would be "profile/edituser".

$xoops_startpage contains the module configured as the start page, or "system" if no module is selected.

A "rendered" key is now set by XoopForm assign() method

Some scripts use the assign() method as an alternative to the display() method. This method assigns the form details to a stem variable named with the form's name. This assignment is done with code that looks like this:

$form->assign($GLOBALS['xoopsTpl']);

This technique has often been done to give the theme more control over the display of the form. It requires the template to loop through the individual form elements, and decide how to display it. This level of control is good if you need it, but can be a nuisance if you just want to position the form inside the page, and you would prefer the system to handle the details.

Very usefull !
Just use now in XOOPS 2.5.11 beta + new theme that i'm working on (boostrap 4).

But how can i use $xoops_page
with
http://myurl/modules/xmcontent/viewcontent.php?content_id=2
and
http://myurl/modules/xmcontent/viewcontent.php?content_id=8

2 different links...



220
alain01
Re: XOOPS standardizes its Documentation on GitBook Platform
  • 2019/11/6 15:35

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Ok, thank you,
but for an anonymous xoopser, how can he access to the tutorial books ?

I mean : how bring theses docs for public reader ?




TopTop
« 1 ... 19 20 21 (22) 23 24 25 ... 38 »



Login

Who's Online

211 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 211


more...

Donat-O-Meter

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

Latest GitHub Commits