1201
ackbarr
Re: What's a block? (versus a 'section')

A block is a section of your website that is common across several pages. Most XOOPS websites display blocks in the left and right sidebars.

Conversely, sections is the name of a simple article management module.

In your case I would recommend using a custom block to create your navigational links



1202
ackbarr
Re: XOOPS2: Private Messages Question

you will need to hack pmlite.php for this to work. You'll need to retrieve the supplied text from the $HTTP_GET_VARS array and modify the HTML code to output the supplied variables.



1203
ackbarr
Re: Global variable for Xoops group?

rather than calling $xoopsUser->getGroups() for each iteration of the for loop, I would store the group array into a local variable first. Other than that, the code should work fine.



1204
ackbarr
Re: WebSlave Project - a project managment tool

I was looking forward to the english version of this module. I will download it and test it out today

Thanks!



1205
ackbarr
Re: "Best" place to put custom theme functions?

since an XOOPS theme is really nothing more than a template displaying variables supplied by the XOOPS core and modules, I think your only option is a core hack. However you can isolate these functions into a seperate file and include the file into /common.php, thus minimizing the core modifications necessary and simplifying their removal if needed.

You will also need to assign the function returns to smarty variables for your theme to utilize them. For examples of how to assign variables to the smarty engine, take a look at the module kickstart guide.



1206
ackbarr
Re: different location for a module

mvandam - great advice. I am toying with the idea of creating pretty urls for all the modules I use in my website for more search engine friendly links. For those unfamiliar with mod_rewrite and its usage, I would highly recommend checking out the article available on A List Apart:

http://www.alistapart.com/stories/urls/index.html



1207
ackbarr
Re: File Upload Feature in Downloads Module

the responses in this topic may help you:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=9993&forum=20#39459



1208
ackbarr
Re: Item-Specific Page Titles in News, wfsection

I haven't figured out how to do this in wf-sections yet, but to make the news article title appear in the title bar do the following

1. Modify theme.html
The theme.html file for your current theme may need to be modified like so:

find the part of your theme.html that displays the page title:
<title>[b]Original Title Here[/b]</title>


change this line to read:
<title>[b]<{$xoops_sitename}> - <{$xoops_pagetitle}>[/b]</title>


2. Modify /modules/news/article.php
Add a newline before:
include XOOPS_ROOT_PATH.'/include/comment_view.php';
that reads:
$xoopsTpl->assign('xoops_pagetitle'htmlentities($xoopsModule->name() . ' - ' $article->title()));


To see it in action:
http://www.evenground.org/xoops2/modules/news/article.php?storyid=2



1209
ackbarr
Re: Help making admin look like rest of site

I have not tried to do this...but my assumption is that it would be easier to add the admin functions to the regular layout. AFAIK the admin panel does not use smarty templates at all - so making it parse the current theme.html would be a definite stumbling block.




TopTop
« 1 ... 118 119 120 (121)



Login

Who's Online

80 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 80


more...

Donat-O-Meter

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

Latest GitHub Commits