1
drbyte2009
Re: Add static content to main menu
  • 2009/11/5 19:55

  • drbyte2009

  • Just popping in

  • Posts: 10

  • Since: 2009/11/3


@ghia

I do not put javascript in my content, i placed it already in the header of the theme i us, but to call the javascript function i need to add the code below to the static content.

<td><span style="text-align: center;"><class="highslide" onclick="return hs.expand(this)" href="http://ip.adres.net/Xoops/htdocs/site_images/image1.jpg"><img title="Click to enlarge" style="width: 100px; height: 100px;" alt="Highslide JS" src="http://ip.adres.net/Xoops/htdocs/site_images/image1-thumb.jpg" /></a>
 <
div class="highslide-caption">Sample text</div>


And in some of the content modules i tried this is not working, in Xt-Conteudo it works perfect.

I will look for another content module....in the case i can't find a good content module, how can you change the editor in Xt-Conteudo, i only need to add six pages of static content.....

Thanks....



2
drbyte2009
Re: Add static content to main menu
  • 2009/11/5 15:17

  • drbyte2009

  • Just popping in

  • Posts: 10

  • Since: 2009/11/3


S#@$$t..... in the directory of Xt-Conteudo\admin there is indeed a directory called spaw, so i guess that's no good.....My server is at this moment not connected to the internet, so that's no problem. I have to find another solution then......again......

When i make the content with XT-Conteudo i can run the "highlight" javascript.

Is there any other good module i can use to design static content that allows me to run javascript.....

Thanks in advance....



3
drbyte2009
Re: Add static content to main menu
  • 2009/11/5 14:09

  • drbyte2009

  • Just popping in

  • Posts: 10

  • Since: 2009/11/3


I solved the problem maybe in a weird way but it works !!

1. I make my static content in the module XT-Conteudo
2. I create the menu with iMenu and then make a link to the XT-Conteudo content.

example link will look like this in iMenu.

/modules/xt_conteudo/index.php?id=9



4
drbyte2009
Re: Add static content to main menu
  • 2009/11/5 12:17

  • drbyte2009

  • Just popping in

  • Posts: 10

  • Since: 2009/11/3


I just found out that i was running an older version. Installed the latest version, but i still have the same problem, the static link won't open in the center block, and it displays no html...........



5
drbyte2009
Re: Add static content to main menu
  • 2009/11/4 18:58

  • drbyte2009

  • Just popping in

  • Posts: 10

  • Since: 2009/11/3


Thanks for the reply, a made a simple menu to test it (just copy and paste your example), and it works, however when i link to static content i made (as a html file) it opens in a full window, not in the center, and it display normal tekst instead of html..........
I wonder if there is someone who can tell me the solution.....



6
drbyte2009
Re: Add static content to main menu
  • 2009/11/4 18:03

  • drbyte2009

  • Just popping in

  • Posts: 10

  • Since: 2009/11/3


Also with iMenu i have the problem that a link to static content opens in a new window no matter what i try, and it doesn't display the html, only tekst........pfffffffffff I've been trying a lot the whole day long, but without any luck.

Any help please !!



7
drbyte2009
Re: Add static content to main menu
  • 2009/11/4 15:03

  • drbyte2009

  • Just popping in

  • Posts: 10

  • Since: 2009/11/3


I go to the module Multimenu, then i go to multimenu01, then i see all the links i made so far. I go to the link i want to change by clicking on the edit icon, then in target i choose the self, blank, parent or top. I choose parent, but it still does not open in the center page, it also shows the page in normal tekst no html ??

What am i doing wrong ?????



8
drbyte2009
Re: Add static content to main menu
  • 2009/11/4 12:06

  • drbyte2009

  • Just popping in

  • Posts: 10

  • Since: 2009/11/3


Next problem with multimenu.....
When i make a link to a page with static content, the the page opens in a new window, how can i make the page appear in the centerblock??

Thanks...



9
drbyte2009
Re: Add static content to main menu
  • 2009/11/4 11:05

  • drbyte2009

  • Just popping in

  • Posts: 10

  • Since: 2009/11/3


I will try that, i let you know a.s.a.p.



10
drbyte2009
Add static content to main menu
  • 2009/11/4 10:46

  • drbyte2009

  • Just popping in

  • Posts: 10

  • Since: 2009/11/3


Hello all,

I'am setting up a web site with Xoops, and running into a small problem.
I want to add static content to the site, with the XT-Conteudo module. The problem i have is that the content of the menu appears as follows in the main menu

Home
XT-Conteudo
- content 1
- content 2
News
PiCal

This is not what i want, i want the menu to look like this
Home
content 1
content 2
News
PiCal

How can this be done?, i am already playing a few days with the settings but no luck at all.
I use Xt-Conteudo because i have to run javascript in the static content pages. (Highslide)

Thanks in advance !!
René




TopTop



Login

Who's Online

64 user(s) are online (36 user(s) are browsing Support Forums)


Members: 0


Guests: 64


more...

Donat-O-Meter

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

Latest GitHub Commits