xoops forums

Forum Index


Board index » All Posts (alain01)




alain01

Quite a regular
Posted on: 1/15 14:38
alain01
alain01 (Show more)
Quite a regular
Posts: 324
Since: 2003/6/20
#1

Re: The future of XOOPS?

Seems that you have a trouble with your installation or configuration

for your link : http://kookoosnest.byethost31.com/modules/pm/viewpmsg.php
as anonymous (visitor) i should see :
Sorry, you don't have the permission to access this area.

but i can see "403 Access denied", an apache error...

Pm works fine, i installed lot of XOOPS2.5.11 since 3 mois (more than 12) and PM works fine.
Dont know if your XOOPS installation is bad, your transfert is not ok, or your didnt configure groups and module,
Dont know if you are in good step with requirements (Php version, Mysql version)...

I write some links to gmage modules or ggoffy modules,
There are the very last modules ready to run as it in XOOPS 2.5.11
For exemple, try xm-content, xm-news, wg-team, wggallery, wgtimelines


alain01

Quite a regular
Posted on: 1/14 16:20
alain01
alain01 (Show more)
Quite a regular
Posts: 324
Since: 2003/6/20
#2

Re: The future of XOOPS?

Hello,

when i read your words, i know now that you had not spent more than 5 minutes to search...

Ok, you are tired to search,
i can help you :
just see here for NEW modules with XMF functionnalities :
https://github.com/ggoffy?tab=repositories
https://github.com/GregMage?tab=repositories

Core : https://github.com/XOOPS/XoopsCore25

Themes ?
https://github.com/geekwright/xswatch4

Dev ?
XMF : https://xoops.gitbook.io/xmf-cookbook/recipes
Sample button : https://github.com/ggoffy/XoopsDevelopersTalk

new Site : https://www.monxoops.fr/
All new technology, full boostrap4, Hi tech, dev.
Need to wait 1 or 2 months
We works very hard on it

So, sure, all dont go like we want, but we work hard !


alain01

Quite a regular
Posted on: 1/14 0:21
alain01
alain01 (Show more)
Quite a regular
Posts: 324
Since: 2003/6/20
#3

Re: Customize blocs with no title in the managment page

Another solution
but close to the "label" solution.

Add a "yes/no" new field named "Title enabled"...


alain01

Quite a regular
Posted on: 1/13 23:50
alain01
alain01 (Show more)
Quite a regular
Posts: 324
Since: 2003/6/20
#4

Re: Customize blocs with no title in the managment page

Quote:
This would allow switching themes without resulting in a bunch of "@ - " block titles

For sure,
if we can centralize the need rather than directing it towards the theme, it is more effective.

The best answer for me (but i know the response) it's to add a label field, independant from the title, just here to manage block in the management page, but we need to add a field in the database.

In fact, these 2 proposals are good for me.


alain01

Quite a regular
Posted on: 1/12 23:36
alain01
alain01 (Show more)
Quite a regular
Posts: 324
Since: 2003/6/20
#5

Re: Customize blocs with no title in the managment page

ok,
$block.block_type is unknown by the system.

Ok i tried to find another solution.

All my customize title blocs start with "@ - "

Then in tpl file, I modified the code

<{if $block.title}><h4><{$block.title}></h4><{/if}>

by

<{if ($block.title|truncate:4:"":true)!="@ - "}><h4><{$block.title}></h4><{/if}>
And it works !!!

Title customize bloc examples :
- "My personnal title bloc" => The title is displayed
- "@ - My personnal title bloc" => The title is not displayed

It's a fine code, no ?


alain01

Quite a regular
Posted on: 1/12 21:12
alain01
alain01 (Show more)
Quite a regular
Posts: 324
Since: 2003/6/20
#6

Customize blocs with no title in the managment page

Hello,
1 problem but may be 2 solutions.

All my customize blocks dont used title.
it's easy to not put title in the field title in the /modules/system/admin.php?fct=blocksadmin&op=add page.
But when you used lot of customize block,
it's hard to manage these blocks in the /modules/system/admin.php?fct=blocksadmin page cause blocks get blank title...
I should edit the bloc to know the block.

I think about 2 solutions :

1) I put title in the title field and in theme.tpl i should add condition for customize blocks.

i have seen these exemples :
//  Examples:
//  <{block id=1 display="title"}>   displays just the block title
//  <{block id=1}>                   displays just the block content
//  <{block id=7 display="none"}>    does not display nothing but executes the block, this can go for online block or to trigger some cron block
//  <{block id=600 groups="0|1" cache=20}>  display block just for this 2 groups and sets a cache of 20 seconds
//  <{block id=600 options="100|100|s_poweredby.gif|0"}> displays block with diferent options


In database, i see 1 field named block_type where (i suppose) :
S for System
M for Module
C for Customize

So how can add code to test that it's a customize bloc ?

<{if $block.block_type!="C"}><h4><{$block.title}></h4><{/if}>
 <{
$block.content}>


I have not yet tested this code

2 - Solution 2
Hummm,
we need to add a new fied for blocks named label for example
and we can see the label field + the title field in the blocks managment (/modules/system/admin.php?fct=blocksadmin)
So the label field is just here to manage blocks without title

Please, let me go in the good way !


alain01

Quite a regular
Posted on: 1/12 8:54
alain01
alain01 (Show more)
Quite a regular
Posts: 324
Since: 2003/6/20
#7

Re: Customize Blocks and smarty variable

Haaaaa,
{X_SITEURL} !!!

Sure, thank you, it works like i want.
Quote:
I have used that to more easily move things from a development system to a production environment, without making changes.
Yes, exactly

Haaaa, shortcodes,
I remember this news, now !
I was so happy to read this very good news !
It's a very powerful and amazing new fonction !
Again 1 time, i'm unpatient to use the 2.6 version in stable and production stage...


alain01

Quite a regular
Posted on: 1/11 18:21
alain01
alain01 (Show more)
Quite a regular
Posts: 324
Since: 2003/6/20
#8

Customize Blocks and smarty variable

Hi,
i have added some code full bootsrap4 in my theme.tpl file in my theme.
All is ok
But now, i want to move this code from theme.tpl to customize blocks.

All is the same except smarty variables.

in my theme.tpl :
<img class="mb-1" src="<{$xoops_imageurl}>images/logo-xoops.png" alt="<{$xoops_sitename}>" width="200px">


but if i put this code in customize block, the block cant interpret smarty variable.

May be it's a noob question...
Is it possible to use "assign" function in customize blocks like in theme.tpl ?
For example, in theme.tpl, i use
<{xoMemberInfo assign=member_info}>
and
<{xoInboxCount assign="unread_count" total='inbox_total'}>
.

Sure, i can put Hard link in my block but i hate that,
i can put absolut link too (/themes/mytheme/images/) but it's bad too.

I want used a smarty variable to extract the path theme..
SO
How ?
Thank you in advance !

Alain


alain01

Quite a regular
Posted on: 1/9 12:01
alain01
alain01 (Show more)
Quite a regular
Posts: 324
Since: 2003/6/20
#9

Re: Can't Locate My Ads Setup

hum, u dint understand what i try to explain, sorry for my english.
Did you search on the right theme ?
I mean :
"/themes/mytheme"
and not "/themes/other_theme/"


alain01

Quite a regular
Posted on: 1/8 16:04
alain01
alain01 (Show more)
Quite a regular
Posts: 324
Since: 2003/6/20
#10

Re: Can't Locate My Ads Setup

Hi Ocanwar,
not sure if i understand,
You write :
Quote:
I tried by editing in my theme.html but con't find the iframe code


Did u use a block to insert your iframe code ?
Or, is it in hardcoded in your theme ?
if you cant find, may be it's in a another file,
in your theme.html, you can find code like 'include' some files...

Last but stupid question, Are you sure to search on the theme that you use ?
ok, stupid question but i prefered list all possible issues.

Alain



TopTop
(1) 2 3 4 ... 20 »