293071
valone
Re: Minetype errors
  • 2003/5/25 19:13

  • valone

  • Just popping in

  • Posts: 8

  • Since: 2003/5/23


I mean, when you goto this part

Resized Image

So I need to gzip the individual html templates? I mean I am learning how to theme/modify templates so I'm frequently uploading new versions of files.



293072
tom
Re: Problems dislpayin html with freecontent, tiny content, et all
  • 2003/5/25 15:14

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


Personaly I would of used WFSections any way.

but with the images, is this because it looks in the wrong dir (is that correct?). I used to use the http of the image and this always works, but you could use the <{$xoops_url}> or the <{$xoops_imageurl}> to link to the image dir.

Hope this helps.



293073
brewmeister
Re: Problems dislpayin html with freecontent, tiny content, et all

Anyone interested in this?



293074
netwize
Re: Minetype errors
  • 2003/5/25 9:48

  • netwize

  • Just popping in

  • Posts: 89

  • Since: 2002/1/20


are u talking about one template file or a template set...
that uploader is for a whole set.
must be .gz/.tar



293075
valone
Re: Minetype errors
  • 2003/5/25 9:15

  • valone

  • Just popping in

  • Posts: 8

  • Since: 2003/5/23


oh! by the uploader inside of the XOOPS administration where you click browse select the template file, blah blah



293076
AndyB
Re: remembering logins?
  • 2003/5/25 8:33

  • AndyB

  • Just popping in

  • Posts: 13

  • Since: 2003/2/19


Could XOOPS developers respond in that thread about the chances of that being included in 2.0.3? It is really an important issue!



293077
netwize
Re: Minetype errors
  • 2003/5/25 6:57

  • netwize

  • Just popping in

  • Posts: 89

  • Since: 2002/1/20


Upload by what mean?

uploader mod or ftp?




293078
valone
Minetype errors
  • 2003/5/25 6:39

  • valone

  • Just popping in

  • Posts: 8

  • Since: 2003/5/23


When I try to upload a new template file I get this error, I've confirmed that it's full HTML the template. Why is it saying it's text?

Quote:

Media Upload Errors
MIME type not allowed: text/plain





293079
hsalazar
Re: Some pointers on how to build a theme
  • 2003/5/23 1:50

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


1. More than the "<foreach>", you need to pay close attention to the "<if>", because they decide what parts of the HTML are omitted when generating the pages.

2. The design of the page isn't as straightforward as you think. First you have a general table with narrow columns on the sides: these are de left column, the main column (the widest), and the right column (which should be optional, enclosed in an "<if>" declaration: "<{if $xoops_showrblock == 1}>...<{/if}>").

3. Then you tackle the main column. There you have three possibilities: 1) the main content area, displayed using this variable: "<{$xoops_contents}>"; 2) the half-width columns (center-left and center-right), and 3) the full-width column (center-center).

As long as you take care of opening and closing correctly the "if" declarations as well as the "foreach" declarations, you should have no problem.

Happy Xoopsing!



293080
brewmeister
Re: Problems dislpayin html with freecontent, tiny content, et all

Thanks for the reply. The problem is not with displaying the /content/dvd/index.html file. It will open and display fine. However, there are links to thumbnail images stored in the directory structure as /content/dvd/images/xxx.jpg. All of these links are broken because the index.html file is looking for the files like this "images/xxx.jpg" If I edit the path to be "content/dvd/images/xxx.jpg" it will work. However this is cumbersome and time consuming. I want to be able to export it and be done. Is there a way to pull up a file and make it keep it's location in the heirarchy for links and other items. It keeps throwing me back to the "freecontent/" directory.

If you get a chance try it on a couple of files. create a folder called "test" in the content folder of the mod. Create another directory below that one called "images". Create an html doc in the "test" folder and link it to an image in the "test/images/" folder. Don't hard code the link just ling it like "images/test.jpg" You should see what I'm talking about with the broken link







Login

Who's Online

168 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 168


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