581
Mamba
Re: Home Page
  • 2021/11/8 17:39

  • Mamba

  • Moderator

  • Posts: 11374

  • Since: 2004/4/23


OK, I'll fix it for you
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



582
fla-ts
Re: Home Page
  • 2021/11/8 15:26

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


Unfortunately I don't have an "In the Spotlight" block



583
Mamba
Re: Home Page
  • 2021/11/8 11:46

  • Mamba

  • Moderator

  • Posts: 11374

  • Since: 2004/4/23


Then in your Publisher's Admin, click on the "Blocks" link on top, and then find the "In the Spotlight" block and continue as shown in the picture
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



584
fla-ts
Re: Home Page
  • 2021/11/8 8:25

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


Unfortunately I don't have a button to "Blocks Admin" under Publisher



585
Mamba
Re: Home Page
  • 2021/11/8 8:01

  • Mamba

  • Moderator

  • Posts: 11374

  • Since: 2004/4/23


In Publisher Admin you can go to the Publisher blocks tab and select the "In the Spotlight" block:

Resized Image



and in there, you can select the article that you want to be in the spotlight, and put the block on the front page, while also selecting who can see it:

Resized Image
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



586
fla-ts
Re: Home Page
  • 2021/11/7 18:20

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


Quote:

fla-ts wrote:
I managed to get it more to my liking, phew :)


Now just have to figure out how to start the website on the page or article I want



587
fla-ts
Re: Home Page
  • 2021/11/7 16:34

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


I managed to get it more to my liking, phew :)



588
Mamba
Re: Home Page
  • 2021/11/7 12:31

  • Mamba

  • Moderator

  • Posts: 11374

  • Since: 2004/4/23


Quote:
Now it would make sense if I could hide articles with Link manager

But you can!

Every link in MyMenus can be made visible or invisible to selected groups.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



589
fla-ts
Re: Home Page
  • 2021/11/7 9:03

  • fla-ts

  • Friend of XOOPS

  • Posts: 204

  • Since: 2005/1/4 1


I managed to have a second menu via clone menu (menu 2) Now it would make sense if I could hide articles with Link manager so that the articles of 'menu' and of 'menu 2' are different, then I would have a right-hand menu with only the 'technical applications' below it and a left-hand menu with only the articles from 'cd-ripservice'. In fact, two different links managers would be needed



590
alain01
Re: Home Page
  • 2021/11/6 21:09

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Using custom blocks is indeed much easier.
No need for php.
As Mamba proposed in his first answer, there is the solution to act in the theme.tpl file

The best is to use the available tools which are the management of the custom blocks but if we want to use tpl files, we could do this :

In the theme.tpl
<{if $xoops_page == "index"}>
    <{include 
file="$theme_name/tpl/my_content.tpl"}>
<{/if}>

and in the file my_content.tpl
<{if $xoops_isuser|default:false}>
     <
h3>My content for members</h3>
    <
p>Content here</p>
<{else}>
     <
h3>My content for anonymous</h3>
    <
p>Content here</p>
<{/if}>




TopTop
« 1 ... 56 57 58 (59) 60 61 62 ... 29424 »



Login

Who's Online

148 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 148


more...

Donat-O-Meter

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

Latest GitHub Commits