Author |
Message |
xGSTQ
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Feb 03, 2006
Posts: 269
|
Posted:
Mon Feb 27, 2012 12:05 pm |
|
Hi Troops
Im looking at how to move the "tags" from the top of the news article to the bottom
Image of the current layout im working with
Only registered users can see links on this board! Get registered or login!
Is it possible to move the tags to below, ive looked in the modules/News/article.php and found the $showtags if statement, and was wondering if its possible to move it or not
Ped |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Mon Feb 27, 2012 12:54 pm |
|
In News/index.php find Code:
$hometext = '<br />' . $taglink . $hometext;
|
and change to Code:
$hometext = '<br />' . $hometext . $taglink;
|
|
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
xGSTQ
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 27, 2012 2:22 pm |
|
Cheers nuken
indeed your are the tricked out news master
It worked...
I actually wanted to move it via the theme.php but by moving it below the article it actually causes me more work because I added the "read more" as an image and removed the read more on the formatstory with some substr - 30
So its actually counter productive, its no deal nice feature BTW |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
xGSTQ
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 27, 2012 2:56 pm |
|
Totally of topic on this one, kind off
Just noticed when adding news using the source code using the attribute
on a link it was getting stripped so I added it to the rnconfig.php
Code:'a' => array('class' => 1, 'style' => 1, 'ref' => 1, 'id' => 1, 'href' => 1, 'target' => 1, 'title' => array('minlen' => 4, 'maxlen' => 120)),
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 27, 2012 2:59 pm |
|
I wanted to add all of the feature through the theme.php, but that would require every theme to be edited. This was the easiest way to work with all themes. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
xGSTQ
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 27, 2012 3:17 pm |
|
nuken wrote: | I wanted to add all of the feature through the theme.php, but that would require every theme to be edited. This was the easiest way to work with all themes. |
Yeah i can imagine, I want to be able to style the news article via the theme.php
Ive had to remove the
$thetext = substr("$thetext", 0, -87);
because if you didn't have any text in the Extended Text box it stripped the text from the Story Text catch 22
Would have been nice to be able to move stuff around via the theme.php, maybe in the next update
Tricked out News is a huge advance on the old News Module, lots of cool features... well done |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/48fb116845dfecf66294c.gif)
Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Mon Feb 27, 2012 3:40 pm |
|
exactly the kind of thing smarty templates could do, hmmmm ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 27, 2012 3:57 pm |
|
Funny you say that Spastic.... I was thinking about smarty on the way home from work today. I could see a default module level tpl file that could be overridden by a theme based tpl file that would add a whole new level of customization to RavenNuke.... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
xGSTQ
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 28, 2012 1:38 am |
|
spasticdonkey wrote: | exactly the kind of thing smarty templates could do, hmmmm |
jeee wizz, now that would be something Smarty could do well....
I'm liking that idea
Why didn't you suggest it before !!! lol |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Tue Feb 28, 2012 11:39 am |
|
Hmm, my cage is being rattled again ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|