71
exbanious
load myalbum in new page by itself?
  • 2004/9/4 21:22

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


I am trying to get myalbum 2.8 to load in a new window by itself without including references to the layout of the rest of the site. (ie. no header, cloumns, or footer.)
I hope thats clear enough.
Anybody know how to do this?



72
exbanious
News 1.2 - Move this story to top
  • 2004/9/1 23:39

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


I have just recently installed news 1.2 and noticed that when you edit a story from news admin, it takes me to the user edit, instead of the admin edit, but most importantly i no longer get the option to move the story to the top.

Does anybody know how to put this feature back in? It was kind of a necessity on my site and i would like to add it to the newer version rather than downgrade to news 1.1.

Also, i noticed that when you use the layout by topic, it shows all topics, with the latest headlines below.
is there any way to limit it to only one
defined topic? This is probably an issues to submit to the feature request area, but i figured there might be a quick hack somebody knows about.




73
exbanious
Re: news 1.2: disable news title show in page title
  • 2004/9/1 18:37

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


oops! i guess i didn't really understand what you guys were looking for. Now it all makes sense.....

After re-installing XOOPS for the second time, i forgot to update the news module to 1.2, so hence i didn't see a problem with the display in the page title. So thinking that i had installed 1.2, i was a bit confused, and thought you must have been talking about story title.
i'm on vacation, so my mind is in a very different place.

Sorry bout that.



74
exbanious
Re: news 1.2: disable news title show in page title
  • 2004/8/29 19:41

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


I think this is the code you are looking for.
In modules\news\article.php

Quote:

$story['id'] = $storyid;
$story['posttime'] = formatTimestamp($article->published());
$story['title'] = $article->textlink()." : ".$article->title();
$story['text'] = $article->hometext();
$bodytext = $article->bodytext();


take out: Quote:
." : ".$article->title()

Something like that. Hope this helps

or you could just not add a title at all



75
exbanious
Re: myalbum modification
  • 2004/8/28 20:00

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


There are two different places where you can change it, really.
The first would be in myalbum_index in your templates_c folder in your root directory. Remove the following line:

Quote:
<form name='cid_select' action='<?php echo $this->_tpl_vars['mod_url']; ?>/viewcat.php'
method='GET' style='margin: 0px; text-align: center; valign: middle;'>
<select name='cid' onchange='submit();'>
<option value=''><?php echo $this->_tpl_vars['lang_directcatsel']; ?></option>
<?php echo $this->_tpl_vars['category_options']; ?></select>


The other place you can change it is in myalbum_index file in modules/mayalbum/templates. You will have to update the module after altering this template file.
Remove this line:

Quote:
<form name='cid_select' action='<{$mod_url}>/viewcat.php' method='GET' style='margin:0px;text-align:center;'>
<select name='cid' onchange='submit();'>
<option value=''><{$lang_directcatsel}></option>
<{$category_options}>
</select>


Hope this works. Just make sure you can change it back if it doesn't. I'm still new here, but that change worked for me.



76
exbanious
Re: wysiwyg news patch on IIS 5
  • 2004/6/28 22:16

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


thanks for the reply.
i found the problem, but, i'm not sure why it was a problem in IIS only. in "spaw_control.config" i changed

Quote:
// directory where spaw files are located
if (substr_count($HTTP_SERVER_VARS["SCRIPT_FILENAME"],"admin") == 1) {
// Administration
include '../../../../../mainfile.php';
$spaw_dir = 'spaw/';
} else {
// User Submit
include '../../../../mainfile.php';
$spaw_dir = 'admin/spaw/';
}

to
Quote:
// directory where spaw files are located
if (substr_count($HTTP_SERVER_VARS["SCRIPT_NAME"],"admin") == 1) {
// Administration
include '../../../../../mainfile.php';
$spaw_dir = 'spaw/';
} else {
// User Submit
include '../../../../../mainfile.php';
$spaw_dir = 'spaw/';
}


and everything worked fine.

one more question, does anybody have have an idea how to incorporate
the myalbum version of imagemanager into the wysiwyg editor?
i tried messing with the database settings in "img_library"
and i could ge that to work as far as calling the images from myalbum , but i'm more interested in
the thumbnail placement that myalbum's imagemanager
has incorporated.



77
exbanious
wysiwyg news patch on IIS 5
  • 2004/6/26 4:09

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


i cannot seem to get the wysiwyg patch v1.0 for the news module to work correctly on IIS 5 / Win 2000 Server. I had no problem getting it to work on Apache though. The site is identical on both systems. I had read about an "admin/admin" issue, so for the hell of it, i copied the admin folder inside of itself just to get the images to come up, but when i go to add an image or a table, i get the following error:

Quote:


Warning: main(../../../../mainfile.php): failed to open stream: no such file or directory in
c:\inetpub\wwwroot\modules\news\admin\admin\spaw\config\spaw_control.config.php
on line 23

Warning: main(): failed opening'../../../../mainfile.php' for inclusion(include_path-'.c;\php4\pear') in
c:\inetpub\wwwroot\modules\news\admin\admin\spaw\config\spaw_control.config.php
on line 23

Fatal error: Call to a member function on a non-object in
c:\inetpub\wwwroot\modules\news\admin\admin\spaw\config\spaw_control.config.php
on line 78


i was looking through the code, but i can't seem to find where the problem is, and given that it worked fine on Apache, i assume its something with IIS.
Hopefully there is some way around it.
i have the mainfile and news module wide open as far as shares are concerned.
i am running 2.0.6, formally 2.0.7, thinkng the problem might be there, but apparently that is not the case.
any suggestions would be most helpful.

thanks







TopTop
« 1 ... 5 6 7 (8)



Login

Who's Online

97 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 97


more...

Donat-O-Meter

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

Latest GitHub Commits