1
stpamx
Urgent Cannot upload with FTP customized templates
  • 2004/3/9 10:09

  • stpamx

  • Just popping in

  • Posts: 19

  • Since: 2003/9/14


I have customized a few templates. These customized templates cannot be uploaded into the unix WebServer templates_c directory.
I believe it is due to the % character that exists to all templates.
Any Ideas?

As an alternative I believe I can load the templates in mysql, and then they will be picked up from there. But I don't know how to do it.
Thanks a lot.



2
stpamx
Re: General Usage questions
  • 2003/12/12 15:43

  • stpamx

  • Just popping in

  • Posts: 19

  • Since: 2003/9/14


Thank you MadFish. I will try it.



3
stpamx
General Usage questions
  • 2003/12/12 9:41

  • stpamx

  • Just popping in

  • Posts: 19

  • Since: 2003/9/14


I need to display in home page the title of the stories.
The short description I need to display in another page, and clicking on short description, I want to display the full story. Something similar to what hoops.org is doing.

I have managed to display Title of stories in top page, but the description of stories appear only if I specify
DISPLAY story in top page when I enter the news in the news module in administration. What I must do to display the stories in another page.

Also, how the system differentiates of
News Topics
Big story
Top News
Recent News

Also, I tried to have two main topics. One in each language. And a lot of subtopics under them. Reason is to make the system multilingual, Looking in the database and the code, I see that in articles table there is only the subtopic code. Is there any other way of doing this.

Thanks in advance
stelios



4
stpamx
Re: Is it possible to check for a pagetype within my theme
  • 2003/12/5 18:44

  • stpamx

  • Just popping in

  • Posts: 19

  • Since: 2003/9/14


NO Problem I found it - Thank you


I have tried desperetely
to check the page type and/or module name but it always goes to other. Although when I attach it to a statement(like .css) it gives me the correct code. In this case "user".

can you tell me what is wrong in the following php statement in html
<{if $pagetype == "user"}>
<td class="announce" align="left"><font size="1">user</font>
<{else}>
<td class="announce" align="left"><font size="1">other</font>
<{/if}>

I have included

<{php}>
$module = $GLOBALS['xoopsModule'];
if ( isset($module) ) {
$module = $module->getVar('dirname');
} else {
$module = 'system';
}
$GLOBALS['xoopsTpl']->assign('modname', $module);

if ( isset( $GLOBALS['xoopsOption']['pagetype'] ) ) {
$GLOBALS['xoopsTpl']->assign('pagetype',
$GLOBALS['xoopsOption']['pagetype'] );
}
if (isset( $GLOBALS['xoopsConfig']['language'] ) ) {
$GLOBALS['xoopsTpl']->assign('language',
$GLOBALS['xoopsConfig']['language'] );
}
<{/php}>

on the top in my html theme



5
stpamx
Re: Agenda-X 2.0 wish list
  • 2003/12/5 12:07

  • stpamx

  • Just popping in

  • Posts: 19

  • Since: 2003/9/14


Enhance it to a time management system.

I can help for specifications
stelios



6
stpamx
Re: Is it possible to check for a pagetype within my theme
  • 2003/12/5 8:23

  • stpamx

  • Just popping in

  • Posts: 19

  • Since: 2003/9/14


Thanks again.

I will try it
stelios



7
stpamx
Re: meeting room booking s ystem as a module
  • 2003/12/4 21:52

  • stpamx

  • Just popping in

  • Posts: 19

  • Since: 2003/9/14


I am interested on this too.
If we add timeslots per activity(type of meeting) then we can generalize it and be usefull for different applications.
For example I am working on a booking system for time management.
I allocate slots of times per activity.
eg answering my emails 10 min every 2 hours.
lunch 45 min
I develop it in C, not as an intranet/Internet application.
Unfortunately I am not very familiar with XOOPS and PHP and I cannot help in development, but I can be helpful in testing and documentation, and for for this I am available if needed.

Good work guys.
stelios



8
stpamx
Re: Is it possible to check for a pagetype within my theme
  • 2003/12/4 21:36

  • stpamx

  • Just popping in

  • Posts: 19

  • Since: 2003/9/14


It works fine with style sheets and modules.
Thanks a lot scalpa.

However it is possible to do same with pagetype, as it gives more flexibility?

For example with modules, I cannot have different style sheets for users page, as it returns system.

Thanks again
stelios



9
stpamx
Re: Is it possible to check for a pagetype within my theme
  • 2003/12/4 20:44

  • stpamx

  • Just popping in

  • Posts: 19

  • Since: 2003/9/14


ORIGINAL QUESTION

Is it possible to check for a pagetype within my theme.

The need is to be able to format a page according to its actual needs.

It could be very usefull if we use different modules.
For example I am using Enterprise-x and TinyContent.

I want within my theme to check what pagetype I am and accordingly to format the page.
for example

If pagetype = "enterprise-x"
<table .....
.......
</table>
elseif
pagetype = "news"
<table .....
.......
</table>
etc

your help will be appreciated

Thanks in advance
stelios



10
stpamx
Re: Is it possible to check for a pagetype within my theme
  • 2003/12/4 20:24

  • stpamx

  • Just popping in

  • Posts: 19

  • Since: 2003/9/14


Thanks scalpa.

I will try this.

I will try to repost the question in case someone else can benefit from this.




TopTop
(1) 2 »



Login

Who's Online

151 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 151


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